jpwahle commited on
Commit
1cc17d9
·
1 Parent(s): 0763962

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -3
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 " peculiarities " best in the following context? \
36
- descriptions: [ " an odd or unusual characteristic " , " a distinguishing trait " , or " something unusual -- perhaps worthy of collecting " ] \
37
- context: The art of change-ringing is peculiar to the English , and , like most English \' peculiarities \' , unintelligible to the rest of the world .'
 
 
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)