Hanlard commited on
Commit
d028b1e
1 Parent(s): 84f1acd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -1
README.md CHANGED
@@ -16,6 +16,9 @@ PanGu-α is proposed by a joint technical team headed by PCNL. It is the first l
16
  ### Use
17
 
18
  ```python
19
- from transformers import AutoTokenizer
20
  tokenizer = AutoTokenizer.from_pretrained("Hanlard/Pangu_alpha")
 
 
 
21
  ```
 
16
  ### Use
17
 
18
  ```python
19
+ from transformers import AutoTokenizer, AutoModelForCausalLM
20
  tokenizer = AutoTokenizer.from_pretrained("Hanlard/Pangu_alpha")
21
+ model = AutoModelForCausalLM.from_pretrained("imone/pangu_2_6B", trust_remote_code=True)
22
+
23
+
24
  ```