update readme.md
Browse files
README.md
CHANGED
@@ -49,6 +49,7 @@ Users (both direct and downstream) should be made aware of the risks, biases, an
|
|
49 |
|
50 |
Using `AutoModelForCausalLM` and `AutoTokenizer`
|
51 |
```py
|
|
|
52 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
53 |
|
54 |
# Load the model and tokenizer
|
|
|
49 |
|
50 |
Using `AutoModelForCausalLM` and `AutoTokenizer`
|
51 |
```py
|
52 |
+
import torch
|
53 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
54 |
|
55 |
# Load the model and tokenizer
|