Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ tiny = AutoModelForCausalLM.from_pretrained("afrizalha/Sasando-1-25M", token=hf_
|
|
7 |
tinier = AutoModelForCausalLM.from_pretrained("afrizalha/Sasando-1-7M", token=hf_token)
|
8 |
|
9 |
|
10 |
-
desc = """Sasando-1 is a tiny, highly experimental text generator built using the Phi-3 architecture. It comes with two variations of microscopic sizes: 7M and 25M parameters. It is trained on a tightly-controlled Indo4B dataset filtered to only have 18000 unique words. The method is inspired by Microsoft's TinyStories paper which demonstrates that a tiny language model can produce fluent text when trained on tightly-controlled dataset."""
|
11 |
|
12 |
def generate(starting_text, choice, num_runs,temp,top_p):
|
13 |
if choice == '7M':
|
|
|
7 |
tinier = AutoModelForCausalLM.from_pretrained("afrizalha/Sasando-1-7M", token=hf_token)
|
8 |
|
9 |
|
10 |
+
desc = """Sasando-1 is a tiny, highly experimental text generator built using the Phi-3 architecture. It comes with two variations of microscopic sizes: 7M and 25M parameters. It is trained on a tightly-controlled Indo4B dataset filtered to only have 18000 unique words. The method is inspired by Microsoft's TinyStories paper which demonstrates that a tiny language model can produce fluent text when trained on tightly-controlled dataset.\n\nTry prompting with two simple words, and let the model continue. Fun examples provided below."""
|
11 |
|
12 |
def generate(starting_text, choice, num_runs,temp,top_p):
|
13 |
if choice == '7M':
|