Update README.md
Browse files
README.md
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
- instruction version 1.4
|
8 |
|
9 |
## Code
|
|
|
10 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
11 |
import torch
|
12 |
|
@@ -15,4 +16,4 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
15 |
model_name,
|
16 |
)
|
17 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
18 |
-
|
|
|
7 |
- instruction version 1.4
|
8 |
|
9 |
## Code
|
10 |
+
```python
|
11 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
12 |
import torch
|
13 |
|
|
|
16 |
model_name,
|
17 |
)
|
18 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
19 |
+
```
|