SaveBertAndGpt
commited on
Commit
•
9deaec1
1
Parent(s):
a009dda
Update README.md
Browse files
README.md
CHANGED
@@ -21,7 +21,7 @@ In this model, DREAM-FLUTE (social norm), we use elaborations along the "social
|
|
21 |
We provide a quick example of how you can try out DREAM-FLUTE (social norm) 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: Sure ,he snorted just to make me feel even better about the already great situation. [Premise - social norm] It's good to make people feel better about a situation. Hypothesis: Sure, he snorted, just rub it in. [Hypothesis - social norm] It's rude to rub something in someone's face when they don't want to. 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 (social norm) 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_social_norm_FigLang2022")
|
25 |
|
26 |
>>> tokenizer = AutoTokenizer.from_pretrained("t5-3b")
|
27 |
>>> input_string = "Premise: Sure ,he snorted just to make me feel even better about the already great situation. [Premise - social norm] It's good to make people feel better about a situation. Hypothesis: Sure, he snorted, just rub it in. [Hypothesis - social norm] It's rude to rub something in someone's face when they don't want to. Is there a contradiction or entailment between the premise and hypothesis?"
|