pe4enov commited on
Commit
6691d9b
·
1 Parent(s): a87c603

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -1
README.md CHANGED
@@ -3,11 +3,20 @@ language:
3
  - ru
4
  ---
5
 
6
- Квантизированная версия модели ruGPT-3.5
7
 
8
  <code>
9
  # Use a pipeline as a high-level helper
10
  from transformers import pipeline
11
 
12
  pipe = pipeline("text-generation", model="pe4enov/ruGPT-3.5-13B-8bit")
 
 
 
 
 
 
 
 
 
13
  </code>
 
3
  - ru
4
  ---
5
 
6
+ Квантизированная версия модели <a href="https://huggingface.co/ai-forever/ruGPT-3.5-13B">ruGPT-3.5</a>
7
 
8
  <code>
9
  # Use a pipeline as a high-level helper
10
  from transformers import pipeline
11
 
12
  pipe = pipeline("text-generation", model="pe4enov/ruGPT-3.5-13B-8bit")
13
+ </code>
14
+
15
+
16
+ <code>
17
+ # Load model directly
18
+ from transformers import AutoTokenizer, AutoModelForCausalLM
19
+
20
+ tokenizer = AutoTokenizer.from_pretrained("pe4enov/ruGPT-3.5-13B-8bit")
21
+ model = AutoModelForCausalLM.from_pretrained("pe4enov/ruGPT-3.5-13B-8bit")
22
  </code>