Update README.md
Browse files
README.md
CHANGED
@@ -40,9 +40,11 @@ beam_outputs = model.generate(
|
|
40 |
)
|
41 |
|
42 |
|
43 |
-
print ("\
|
|
|
44 |
print (sentence)
|
45 |
-
print ("\
|
|
|
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-
|