Update README.md
Browse files
README.md
CHANGED
@@ -56,8 +56,8 @@ Get the Question from given Context and a Answer : [Arabic QG Model](https://hug
|
|
56 |
#Requirements !pip install transformers
|
57 |
from transformers import AutoTokenizer,AutoModelForSeq2SeqLM
|
58 |
|
59 |
-
model = AutoModelForSeq2SeqLM.from_pretrained("Mihakram/
|
60 |
-
tokenizer = AutoTokenizer.from_pretrained("Mihakram/
|
61 |
|
62 |
def get_question(context,answer):
|
63 |
text="context: " +context + " " + "answer: " + answer + " </s>"
|
|
|
56 |
#Requirements !pip install transformers
|
57 |
from transformers import AutoTokenizer,AutoModelForSeq2SeqLM
|
58 |
|
59 |
+
model = AutoModelForSeq2SeqLM.from_pretrained("Mihakram/AraT5-base-question-generation")
|
60 |
+
tokenizer = AutoTokenizer.from_pretrained("Mihakram/AraT5-base-question-generation")
|
61 |
|
62 |
def get_question(context,answer):
|
63 |
text="context: " +context + " " + "answer: " + answer + " </s>"
|