Update README.md
Browse files
README.md
CHANGED
@@ -46,10 +46,11 @@ from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
|
46 |
model = AutoModelForSeq2SeqLM.from_pretrained("jpelhaw/t5-word-sense-disambiguation")
|
47 |
tokenizer = AutoTokenizer.from_pretrained("jpelhaw/t5-word-sense-disambiguation")
|
48 |
|
49 |
-
input = '''question: which description describes the word " java "
|
50 |
-
|
51 |
-
|
52 |
-
|
|
|
53 |
context: I like to drink " java " in the morning .'''
|
54 |
|
55 |
|
|
|
46 |
model = AutoModelForSeq2SeqLM.from_pretrained("jpelhaw/t5-word-sense-disambiguation")
|
47 |
tokenizer = AutoTokenizer.from_pretrained("jpelhaw/t5-word-sense-disambiguation")
|
48 |
|
49 |
+
input = '''question: which description describes the word " java "\
|
50 |
+
best in the following context? \
|
51 |
+
descriptions:[ " A drink consisting of an infusion of ground coffee beans ",
|
52 |
+
" a platform-independent programming language ", or
|
53 |
+
" an island in Indonesia to the south of Borneo " ]
|
54 |
context: I like to drink " java " in the morning .'''
|
55 |
|
56 |
|