SilvusTV commited on
Commit
39c1e0a
1 Parent(s): a61985e

change language print

Browse files
Files changed (1) hide show
  1. language.py +1 -5
language.py CHANGED
@@ -1,13 +1,9 @@
1
- print('###### LANGUAGES ######')
2
  from transformers import T5Tokenizer, T5ForConditionalGeneration
3
 
4
-
5
  def longText(answere, question):
6
- print(answere)
7
- print(question)
8
 
9
  input_text = " i have a question and answer.\nthe question is : {}\n the response is : {}\n with this information, can you create an answer phrase?".format(question, answere)
10
- print(input_text)
11
 
12
  tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-large")
13
  model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-large")
 
 
1
  from transformers import T5Tokenizer, T5ForConditionalGeneration
2
 
 
3
  def longText(answere, question):
4
+ print('###### LANGUAGES ######')
 
5
 
6
  input_text = " i have a question and answer.\nthe question is : {}\n the response is : {}\n with this information, can you create an answer phrase?".format(question, answere)
 
7
 
8
  tokenizer = T5Tokenizer.from_pretrained("google/flan-t5-large")
9
  model = T5ForConditionalGeneration.from_pretrained("google/flan-t5-large")