OpenNLPLab
commited on
Commit
•
8fd5614
1
Parent(s):
4a8c07f
Publish step26000-100Btokens
Browse files
README.md
CHANGED
@@ -49,8 +49,8 @@ This official repository unveils the TransNormerLLM3 model along with its open-s
|
|
49 |
```python
|
50 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
51 |
|
52 |
-
tokenizer = AutoTokenizer.from_pretrained("OpenNLPLab/TransNormerLLM3-15B-Intermediate-Checkpoints", revision='
|
53 |
-
model = AutoModelForCausalLM.from_pretrained("OpenNLPLab/TransNormerLLM3-15B-Intermediate-Checkpoints", torch_dtype=torch.bfloat16,revision='
|
54 |
```
|
55 |
|
56 |
# Benchmark Results
|
|
|
49 |
```python
|
50 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
51 |
|
52 |
+
tokenizer = AutoTokenizer.from_pretrained("OpenNLPLab/TransNormerLLM3-15B-Intermediate-Checkpoints", revision='step26000-100Btokens', trust_remote_code=True)
|
53 |
+
model = AutoModelForCausalLM.from_pretrained("OpenNLPLab/TransNormerLLM3-15B-Intermediate-Checkpoints", torch_dtype=torch.bfloat16, revision='step26000-100Btokens', device_map="auto", trust_remote_code=True)
|
54 |
```
|
55 |
|
56 |
# Benchmark Results
|