AhmedSSabir
commited on
Commit
•
0c726aa
1
Parent(s):
76b771c
Update app.py
Browse files
app.py
CHANGED
@@ -79,8 +79,8 @@ tokenizer = GPT2Tokenizer.from_pretrained('gpt2')
|
|
79 |
#tokenizer = GPT2Tokenizer.from_pretrained('distilgpt2')
|
80 |
|
81 |
|
82 |
-
|
83 |
-
model_name = "aubmindlab/aragpt2-medium"
|
84 |
arabert_prep = ArabertPreprocessor(model_name=model_name)
|
85 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
86 |
|
|
|
79 |
#tokenizer = GPT2Tokenizer.from_pretrained('distilgpt2')
|
80 |
|
81 |
|
82 |
+
model_name = "aubmindlab/aragpt2-base"
|
83 |
+
#model_name = "aubmindlab/aragpt2-medium"
|
84 |
arabert_prep = ArabertPreprocessor(model_name=model_name)
|
85 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
86 |
|