Update README.md
Browse files
README.md
CHANGED
@@ -23,7 +23,7 @@ It is a full finetune for one epoch.
|
|
23 |
## How to use:
|
24 |
```python
|
25 |
import torch
|
26 |
-
from transformers import
|
27 |
|
28 |
model_name = "timpal0l/Mistral-7B-v0.1-flashback-v2"
|
29 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
|
|
23 |
## How to use:
|
24 |
```python
|
25 |
import torch
|
26 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
27 |
|
28 |
model_name = "timpal0l/Mistral-7B-v0.1-flashback-v2"
|
29 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|