Spaces:
Runtime error
Runtime error
kmkarakaya
commited on
Commit
·
78111c9
1
Parent(s):
db45038
Update app.py
Browse files
app.py
CHANGED
@@ -33,10 +33,12 @@ article = """<p style='text-align: center'>On YouTube:</p>
|
|
33 |
<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>
|
34 |
<p style='text-align: center'>On Medium:</p>
|
35 |
<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>"""
|
36 |
-
|
37 |
"Tatil için rezervasyon yaptırdım",
|
38 |
"Geçen ay sipariş verdiğim",
|
39 |
"Spor salonuna abone oldum"]
|
|
|
|
|
40 |
|
41 |
demo = gr.Interface(fn=generate_review,
|
42 |
#inputs= gr.Textbox(lines=5, placeholder="enter or select a prompt below..."),
|
|
|
33 |
<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>
|
34 |
<p style='text-align: center'>On Medium:</p>
|
35 |
<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>"""
|
36 |
+
examples1=["Bir hafta önce aldığım cep telefonu",
|
37 |
"Tatil için rezervasyon yaptırdım",
|
38 |
"Geçen ay sipariş verdiğim",
|
39 |
"Spor salonuna abone oldum"]
|
40 |
+
examples=["Bir hafta önce aldığım cep telefonu",
|
41 |
+
"Tatil için rezervasyon yaptırdım"]
|
42 |
|
43 |
demo = gr.Interface(fn=generate_review,
|
44 |
#inputs= gr.Textbox(lines=5, placeholder="enter or select a prompt below..."),
|