Zimix commited on
Commit
8166fbd
1 Parent(s): b2facde

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -22,7 +22,7 @@ As we all know, the single direction language model based on decoder structure h
22
  ```python
23
  from transformers import GPT2Tokenizer, GPT2Model
24
  tokenizer = GPT2Tokenizer.from_pretrained('IDEA-CCNL/Wenzhong2.0-GPT2-3.5B-chinese')
25
- model = GPT2Model.from_pretrained('IDEA-CCNL/Wenzhong-GPT2-3.5B')
26
  text = "Replace me by any text you'd like."
27
  encoded_input = tokenizer(text, return_tensors='pt')
28
  output = model(**encoded_input)
 
22
  ```python
23
  from transformers import GPT2Tokenizer, GPT2Model
24
  tokenizer = GPT2Tokenizer.from_pretrained('IDEA-CCNL/Wenzhong2.0-GPT2-3.5B-chinese')
25
+ model = GPT2Model.from_pretrained('IDEA-CCNL/Wenzhong2.0-GPT2-3.5B-chinese')
26
  text = "Replace me by any text you'd like."
27
  encoded_input = tokenizer(text, return_tensors='pt')
28
  output = model(**encoded_input)