Spaces:
Runtime error
Runtime error
kmkarakaya
commited on
Commit
·
dd510c4
1
Parent(s):
22bbf6e
Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,9 @@ def generate_review(prompt):
|
|
24 |
title="Turkish Review Generator: A GPT2 based Text Generator Trained with a Custom Dataset"
|
25 |
description= """Generate a review in Turkish by providing a prompt or selecting an example prompt below.
|
26 |
Generation takes <b>15-20 seconds</b> on average.
|
27 |
-
Enjoy!
|
28 |
|
29 |
-
|
30 |
article = """<p style='text-align: center'>On YouTube:</p>
|
31 |
<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>
|
32 |
<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>
|
|
|
24 |
title="Turkish Review Generator: A GPT2 based Text Generator Trained with a Custom Dataset"
|
25 |
description= """Generate a review in Turkish by providing a prompt or selecting an example prompt below.
|
26 |
Generation takes <b>15-20 seconds</b> on average.
|
27 |
+
Enjoy!
|
28 |
|
29 |
+
<p>NOTE: Examples can sometimes generate ERROR. When you see ERROR on the screen <b>just click SUBMIT</b>. Model will generate text in 15-20 secs.</p> """
|
30 |
article = """<p style='text-align: center'>On YouTube:</p>
|
31 |
<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>
|
32 |
<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>
|