Spaces:
Sleeping
Sleeping
Rename app (4).py to app.py
Browse files- app (4).py → app.py +3 -8
app (4).py → app.py
RENAMED
|
@@ -1,8 +1,5 @@
|
|
| 1 |
"""
|
| 2 |
-
Gradio app for the Fable-5 tiny transformer.
|
| 3 |
|
| 4 |
-
Loads `fable5_transformer.pt` (trained by train_transformer.py) and exposes
|
| 5 |
-
a simple text-completion UI. Designed for free CPU Hugging Face Spaces.
|
| 6 |
"""
|
| 7 |
from __future__ import annotations
|
| 8 |
|
|
@@ -149,12 +146,10 @@ EXAMPLES = [
|
|
| 149 |
["<|endoftext|>", 150, 1.0, 50, -1],
|
| 150 |
]
|
| 151 |
|
| 152 |
-
with gr.Blocks(title="
|
| 153 |
gr.Markdown(
|
| 154 |
-
"#
|
| 155 |
-
|
| 156 |
-
"[Glint-Research/Fable-5-traces](https://huggingface.co/datasets/Glint-Research/Fable-5-traces). "
|
| 157 |
-
"It's tiny and undertrained — outputs are noisy but reflect the agent-trace style of the corpus."
|
| 158 |
)
|
| 159 |
with gr.Row():
|
| 160 |
with gr.Column():
|
|
|
|
| 1 |
"""
|
|
|
|
| 2 |
|
|
|
|
|
|
|
| 3 |
"""
|
| 4 |
from __future__ import annotations
|
| 5 |
|
|
|
|
| 146 |
["<|endoftext|>", 150, 1.0, 50, -1],
|
| 147 |
]
|
| 148 |
|
| 149 |
+
with gr.Blocks(title="Tiny Transformer") as demo:
|
| 150 |
gr.Markdown(
|
| 151 |
+
"# HamerLM\n"
|
| 152 |
+
|
|
|
|
|
|
|
| 153 |
)
|
| 154 |
with gr.Row():
|
| 155 |
with gr.Column():
|