Commit
·
59e90a1
1
Parent(s):
3e92da1
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ Example classification:
|
|
| 10 |
import torch
|
| 11 |
import tensorflow as tf
|
| 12 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 13 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
| 14 |
model = AutoModelForSequenceClassification.from_pretrained("paragon-analytics/bert_resil")
|
| 15 |
|
| 16 |
encoded_input = tokenizer("We will survive this.", return_tensors='pt')
|
|
|
|
| 10 |
import torch
|
| 11 |
import tensorflow as tf
|
| 12 |
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 13 |
+
tokenizer = AutoTokenizer.from_pretrained("paragon-analytics/bert_resil")
|
| 14 |
model = AutoModelForSequenceClassification.from_pretrained("paragon-analytics/bert_resil")
|
| 15 |
|
| 16 |
encoded_input = tokenizer("We will survive this.", return_tensors='pt')
|