Update README.md
Browse files
README.md
CHANGED
@@ -32,9 +32,11 @@ from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
|
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 "
|
36 |
-
|
37 |
-
|
|
|
|
|
38 |
|
39 |
|
40 |
example = tokenizer.tokenize(input, add_special_tokens=True)
|
|
|
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 " java " best in the following context? \
|
36 |
+
descriptions:[ " A drink consisting of an infusion of ground coffee beans " ,
|
37 |
+
" a platform-independent programming lanugage "
|
38 |
+
, or " an island in Indonesia to the south of Borneo " ]
|
39 |
+
context: I like to drink " java " in the morning .'
|
40 |
|
41 |
|
42 |
example = tokenizer.tokenize(input, add_special_tokens=True)
|