update model card
Browse files
README.md
CHANGED
@@ -27,10 +27,10 @@ Additional information about this model:
|
|
27 |
The model can be loaded to perform a few-shot classification like so:
|
28 |
|
29 |
```py
|
30 |
-
from transformers import
|
31 |
|
32 |
-
|
33 |
-
AutoTokenizer("jpelhaw/t5-word-sense-disambiguation")
|
34 |
|
35 |
input = 'question: which description describes the word " peculiarities " best in the following context? \
|
36 |
descriptions: [ " an odd or unusual characteristic " , " a distinguishing trait " , or " something unusual -- perhaps worthy of collecting " ] \
|
|
|
27 |
The model can be loaded to perform a few-shot classification like so:
|
28 |
|
29 |
```py
|
30 |
+
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
31 |
|
32 |
+
AutoModelForSeq2SeqLM.from_pretrained("jpelhaw/t5-word-sense-disambiguation")
|
33 |
+
AutoTokenizer.from_pretrained("jpelhaw/t5-word-sense-disambiguation")
|
34 |
|
35 |
input = 'question: which description describes the word " peculiarities " best in the following context? \
|
36 |
descriptions: [ " an odd or unusual characteristic " , " a distinguishing trait " , or " something unusual -- perhaps worthy of collecting " ] \
|