Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,8 @@ def finetune_small_subset():
|
|
36 |
4) Saves the LoRA adapter to "finetuned_myr1".
|
37 |
5) Reloads the adapter for inference.
|
38 |
"""
|
39 |
-
|
|
|
40 |
ds = ds.select(range(min(NUM_EXAMPLES, len(ds))))
|
41 |
|
42 |
bnb_config = BitsAndBytesConfig(
|
|
|
36 |
4) Saves the LoRA adapter to "finetuned_myr1".
|
37 |
5) Reloads the adapter for inference.
|
38 |
"""
|
39 |
+
# Specify the configuration ("v0" or "v1") explicitly.
|
40 |
+
ds = load_dataset("ServiceNow-AI/R1-Distill-SFT", "v0", split="train")
|
41 |
ds = ds.select(range(min(NUM_EXAMPLES, len(ds))))
|
42 |
|
43 |
bnb_config = BitsAndBytesConfig(
|