Update README.md
Browse files
README.md
CHANGED
@@ -126,6 +126,9 @@ We release DiscoLeo-8B in the following configurations:
|
|
126 |
Here's how to use the model with transformers:
|
127 |
```python
|
128 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
|
|
|
|
129 |
|
130 |
model = AutoModelForCausalLM.from_pretrained(
|
131 |
"DiscoResearch/Llama3-DiscoLeo-Instruct-8B-v0.1",
|
|
|
126 |
Here's how to use the model with transformers:
|
127 |
```python
|
128 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
129 |
+
import torch
|
130 |
+
|
131 |
+
device="cuda"
|
132 |
|
133 |
model = AutoModelForCausalLM.from_pretrained(
|
134 |
"DiscoResearch/Llama3-DiscoLeo-Instruct-8B-v0.1",
|