Spaces:
Runtime error
Runtime error
kmkarakaya
commited on
Commit
·
8ed4b31
1
Parent(s):
8e29980
Update app.py
Browse files
app.py
CHANGED
@@ -23,10 +23,10 @@ title="Turkish Review Generator: A GPT2 based Text Generator Trained with a Cust
|
|
23 |
description= """Generate a review in Turkish by providing a prompt.
|
24 |
Generation takes 15-20 seconds on average."""
|
25 |
article = """<p style='text-align: center'>On YouTube:</p>
|
26 |
-
<p style='text-align:
|
27 |
-
<p style='text-align:
|
28 |
<p style='text-align: center'>On Medium:</p>
|
29 |
-
<p style='text-align:
|
30 |
examples=["Bir hafta önce aldığım cep telefonu",
|
31 |
"Tatil için rezervasyon yaptırdım.",
|
32 |
"Henüz alalı bir",
|
@@ -40,4 +40,4 @@ demo = gr.Interface(fn=generate_review,
|
|
40 |
description= description,
|
41 |
article = article
|
42 |
)
|
43 |
-
demo.launch()
|
|
|
23 |
description= """Generate a review in Turkish by providing a prompt.
|
24 |
Generation takes 15-20 seconds on average."""
|
25 |
article = """<p style='text-align: center'>On YouTube:</p>
|
26 |
+
<p style='text-align: center'><a href='https://youtube.com/playlist?list=PLQflnv_s49v9d9w-L0S8XUXXdNks7vPBL' target='_blank'>How to Train a Hugging Face Causal Language Model from Scratch with a Custom Dataset and a Custom Tokenizer?</a></p>
|
27 |
+
<p style='text-align: center'><a href='https://youtube.com/playlist?list=PLQflnv_s49v8aajw6m9MRNbAAbL63flKD' target='_blank'>Hugging Face kütüphanesini kullanarak bir GPT2 Transformer Dil Modelini Kendi Veri Setimizle nasıl eğitip kullanabiliriz? (in Turkish)</a></p>
|
28 |
<p style='text-align: center'>On Medium:</p>
|
29 |
+
<p style='text-align: center'><a href='https://medium.com/deep-learning-with-keras/how-to-train-a-hugging-face-causal-language-model-from-scratch-8d08d038168f' target='_blank'>How to Train a Hugging Face Causal Language Model from Scratch with a Custom Dataset and a Custom Tokenizer?</a></p>"""
|
30 |
examples=["Bir hafta önce aldığım cep telefonu",
|
31 |
"Tatil için rezervasyon yaptırdım.",
|
32 |
"Henüz alalı bir",
|
|
|
40 |
description= description,
|
41 |
article = article
|
42 |
)
|
43 |
+
demo.launch(`share=True`)
|