SaveBertAndGpt
commited on
Commit
·
5159f77
1
Parent(s):
f01dac5
Update README.md
Browse files
README.md
CHANGED
@@ -21,7 +21,7 @@ In this model, DREAM-FLUTE (motivation), we use elaborations along the "motivati
|
|
21 |
We provide a quick example of how you can try out DREAM-FLUTE (motivation) in our paper with just a few lines of code:
|
22 |
```
|
23 |
>>> from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
24 |
-
>>> model =
|
25 |
|
26 |
>>> tokenizer = AutoTokenizer.from_pretrained("t5-3b")
|
27 |
>>> input_string = "Premise: After years of service and contribution to the company, he was finally promoted. [Premise - motivation] Company's motivation is to recognize his hard work. Hypothesis: The company released him after many years of service. [Hypothesis - motivation] Company's motivation is to get someone else to work. Is there a contradiction or entailment between the premise and hypothesis?"
|
|
|
21 |
We provide a quick example of how you can try out DREAM-FLUTE (motivation) in our paper with just a few lines of code:
|
22 |
```
|
23 |
>>> from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
|
24 |
+
>>> model = AutoModelForSeq2SeqLM.from_pretrained("allenai/System3_DREAM_FLUTE_motivation_FigLang2022")
|
25 |
|
26 |
>>> tokenizer = AutoTokenizer.from_pretrained("t5-3b")
|
27 |
>>> input_string = "Premise: After years of service and contribution to the company, he was finally promoted. [Premise - motivation] Company's motivation is to recognize his hard work. Hypothesis: The company released him after many years of service. [Hypothesis - motivation] Company's motivation is to get someone else to work. Is there a contradiction or entailment between the premise and hypothesis?"
|