jpwahle commited on
Commit
2f4942e
1 Parent(s): cce8fda

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -4
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 " best in the following context? \
50
- descriptions:[ " A drink consisting of an infusion of ground coffee beans " ,
51
- " a platform-independent programming lanugage "
52
- , or " an island in Indonesia to the south of Borneo " ]
 
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