Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ def generate_text(prompt, max_length=100, temperature=0.7, top_p=0.9, top_k=50):
|
|
| 61 |
|
| 62 |
# Load the model
|
| 63 |
print("Loading model...")
|
| 64 |
-
checkpoint_path = "
|
| 65 |
if not os.path.exists(checkpoint_path):
|
| 66 |
print(f"Warning: Checkpoint not found at {checkpoint_path}")
|
| 67 |
print("Please train the model first or specify correct checkpoint path")
|
|
|
|
| 61 |
|
| 62 |
# Load the model
|
| 63 |
print("Loading model...")
|
| 64 |
+
checkpoint_path = "smol-lm2-final.ckpt"
|
| 65 |
if not os.path.exists(checkpoint_path):
|
| 66 |
print(f"Warning: Checkpoint not found at {checkpoint_path}")
|
| 67 |
print("Please train the model first or specify correct checkpoint path")
|