sultan-hassan commited on
Commit
5052eca
1 Parent(s): a3c01b0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -0
README.md CHANGED
@@ -9,9 +9,22 @@ This is a Gemma_2b_en fine-tuned on QA pairs (3.5k) generated from Cosmology and
9
  from 2018-2022 and tested on QA pairs (1k) generated from 2023 articles, scoring over 75% accuracy.
10
 
11
 
 
 
12
  To generate an answer for a given question using this model, please use:
13
 
 
 
14
  ```
 
 
 
 
 
 
 
 
 
15
  import keras
16
  import keras_nlp
17
 
 
9
  from 2018-2022 and tested on QA pairs (1k) generated from 2023 articles, scoring over 75% accuracy.
10
 
11
 
12
+
13
+
14
  To generate an answer for a given question using this model, please use:
15
 
16
+ Requirements:
17
+
18
  ```
19
+ keras==3.6.0
20
+ keras_nlp==0.15.1
21
+ ```
22
+ import os
23
+
24
+ os.environ["KERAS_BACKEND"] = "jax" # Or "torch" or "tensorflow".
25
+ # Avoid memory fragmentation on JAX backend.
26
+ os.environ["XLA_PYTHON_CLIENT_MEM_FRACTION"]="1.00"
27
+
28
  import keras
29
  import keras_nlp
30