Update README.md
Browse files
README.md
CHANGED
@@ -117,8 +117,8 @@ The authors provide additionally notes about the training procedure used, in the
|
|
117 |
```
|
118 |
from transformers import TransfoXLTokenizer, TransfoXLModel
|
119 |
import torch
|
120 |
-
tokenizer = TransfoXLTokenizer.from_pretrained("zpbrent/
|
121 |
-
model = TransfoXLModel.from_pretrained("zpbrent/
|
122 |
inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
|
123 |
outputs = model(**inputs)
|
124 |
last_hidden_states = outputs.last_hidden_state
|
|
|
117 |
```
|
118 |
from transformers import TransfoXLTokenizer, TransfoXLModel
|
119 |
import torch
|
120 |
+
tokenizer = TransfoXLTokenizer.from_pretrained("zpbrent/newInfect")
|
121 |
+
model = TransfoXLModel.from_pretrained("zpbrent/newInfect")
|
122 |
inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
|
123 |
outputs = model(**inputs)
|
124 |
last_hidden_states = outputs.last_hidden_state
|