Upload folder using huggingface_hub
Browse files
README.md
CHANGED
|
@@ -45,7 +45,7 @@ device = 'cuda:0'
|
|
| 45 |
tokenizer = AutoTokenizer.from_pretrained("manelalab/chrono-bert-v1-19991231")
|
| 46 |
model = AutoModel.from_pretrained("manelalab/chrono-bert-v1-19991231").to(device)
|
| 47 |
|
| 48 |
-
text = "
|
| 49 |
|
| 50 |
inputs = tokenizer(text, return_tensors="pt").to(device)
|
| 51 |
outputs = model(**inputs)
|
|
|
|
| 45 |
tokenizer = AutoTokenizer.from_pretrained("manelalab/chrono-bert-v1-19991231")
|
| 46 |
model = AutoModel.from_pretrained("manelalab/chrono-bert-v1-19991231").to(device)
|
| 47 |
|
| 48 |
+
text = "Obviously, the time continuum has been disrupted, creating a new temporal event sequence resulting in this alternate reality. -- Dr. Brown, Back to the Future Part II"
|
| 49 |
|
| 50 |
inputs = tokenizer(text, return_tensors="pt").to(device)
|
| 51 |
outputs = model(**inputs)
|