priyank commited on
Commit
c0bf303
1 Parent(s): b5f9ffd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -40,9 +40,11 @@ beam_outputs = model.generate(
40
  )
41
 
42
 
43
- print ("\nApprentice Query ::")
 
44
  print (sentence)
45
- print ("\nAuto Generated Instruction ::")
 
46
  final_outputs =[]
47
  for beam_output in beam_outputs:
48
  sent = tokenizer.decode(beam_output, skip_special_tokens=True,clean_up_tokenization_spaces=True)
@@ -63,3 +65,4 @@ Auto Generated Instruction ::
63
  0: ask for the entity person_date_of_birth
64
  1: ask “What is your date of birth?”
65
 
 
 
40
  )
41
 
42
 
43
+ print ("\
44
+ Apprentice Query ::")
45
  print (sentence)
46
+ print ("\
47
+ Auto Generated Instruction ::")
48
  final_outputs =[]
49
  for beam_output in beam_outputs:
50
  sent = tokenizer.decode(beam_output, skip_special_tokens=True,clean_up_tokenization_spaces=True)
 
65
  0: ask for the entity person_date_of_birth
66
  1: ask “What is your date of birth?”
67
 
68
+ Reference: https://github.com/ramsrigouthamg/Paraphrase-any-question-with-T5-Text-To-Text-Transfer-Transformer-