Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,8 @@ from huggingface_hub import InferenceClient
|
|
| 4 |
from datasets import load_dataset
|
| 5 |
import random
|
| 6 |
# Load math datasets for sample problems
|
| 7 |
-
|
|
|
|
| 8 |
def load_sample_problems():
|
| 9 |
"""Load sample problems from math datasets"""
|
| 10 |
try:
|
|
|
|
| 4 |
from datasets import load_dataset
|
| 5 |
import random
|
| 6 |
# Load math datasets for sample problems
|
| 7 |
+
fw = load_dataset("HuggingFaceFW/fineweb-edu", name="sample-10BT", split="train", streaming=True)
|
| 8 |
+
ds = load_dataset("HuggingFaceH4/ultrachat_200k", streaming=True)
|
| 9 |
def load_sample_problems():
|
| 10 |
"""Load sample problems from math datasets"""
|
| 11 |
try:
|