amandakonet
commited on
Commit
·
77beb51
1
Parent(s):
e8d285b
Update README.md
Browse files
README.md
CHANGED
@@ -15,8 +15,8 @@ This model fine-tuned ClimateBert on the textual entailment task. Given (claim,
|
|
15 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
16 |
import torch
|
17 |
|
18 |
-
model = AutoModelForSequenceClassification.from_pretrained("amandakonet/climatebert-fact-checking"
|
19 |
-
tokenizer = AutoTokenizer.from_pretrained("amandakonet/climatebert-fact-checking"
|
20 |
|
21 |
features = tokenizer(['Beginning in 2005, however, polar ice modestly receded for several years'],
|
22 |
['Polar Discovery "Continued Sea Ice Decline in 2005'],
|
|
|
15 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
16 |
import torch
|
17 |
|
18 |
+
model = AutoModelForSequenceClassification.from_pretrained("amandakonet/climatebert-fact-checking")
|
19 |
+
tokenizer = AutoTokenizer.from_pretrained("amandakonet/climatebert-fact-checking")
|
20 |
|
21 |
features = tokenizer(['Beginning in 2005, however, polar ice modestly receded for several years'],
|
22 |
['Polar Discovery "Continued Sea Ice Decline in 2005'],
|