macedonizer
commited on
Commit
•
a6a719e
1
Parent(s):
015804e
Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ prompt.
|
|
28 |
### How to use
|
29 |
Here is how to use this model to get the features of a given text in PyTorch:
|
30 |
|
31 |
-
import random
|
32 |
from transformers import AutoTokenizer, AutoModelWithLMHead
|
33 |
|
34 |
tokenizer = AutoTokenizer.from_pretrained('macedonizer/sr-gpt2') \
|
|
|
28 |
### How to use
|
29 |
Here is how to use this model to get the features of a given text in PyTorch:
|
30 |
|
31 |
+
import random \
|
32 |
from transformers import AutoTokenizer, AutoModelWithLMHead
|
33 |
|
34 |
tokenizer = AutoTokenizer.from_pretrained('macedonizer/sr-gpt2') \
|