Neura commited on
Commit
650152c
1 Parent(s): 4c629b9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -5
README.md CHANGED
@@ -3,11 +3,16 @@ license: apache-2.0
3
  language:
4
  - fa
5
  ---
6
- <code>
7
 
8
- !pip install -q sentencepiece
9
- !pip install -q accelerate
10
- !pip install --upgrade -q bitsandbytes
 
 
 
 
 
 
11
 
12
  import torch
13
  from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer
@@ -43,4 +48,4 @@ def response_generate(input_prompt):
43
  return response
44
 
45
  print(response_generate(f"{SYS_PROMPT}"))
46
- </code>
 
3
  language:
4
  - fa
5
  ---
 
6
 
7
+ ### Installing Libraries
8
+ Make sure these libraries are installed correctly.
9
+ * ```pip install -q sentencepiece ```
10
+ * ```pip install -q transformers ```
11
+ * ```pip install -q accelerate ```
12
+ * ```pip install --upgrade -q bitsandbytes ```
13
+
14
+
15
+ ```python
16
 
17
  import torch
18
  from transformers import AutoConfig, AutoModelForCausalLM, AutoTokenizer
 
48
  return response
49
 
50
  print(response_generate(f"{SYS_PROMPT}"))
51
+ ```