Spaces:
Running
Running
burtenshaw
commited on
Commit
·
0e0e8f7
1
Parent(s):
1c7c01e
update docs
Browse files
docs.md
CHANGED
@@ -22,11 +22,7 @@ Once you've trained a model, you'll need to push it to a repo on the Hugging Fac
|
|
22 |
|
23 |
```bash
|
24 |
hf jobs uv run \
|
25 |
-
|
26 |
-
--secrets HF_TOKEN \
|
27 |
-
"trl/scripts/sft.py" \
|
28 |
-
...
|
29 |
-
--push_to_hub # this will push the model to the Hugging Face Hub
|
30 |
```
|
31 |
|
32 |
Your trained model will be available at `your-username/your-model-name`. For detailed documentation, check out the [checkpoints documentation](https://huggingface.co/docs/transformers/trainer#checkpoints) from `transformers`.
|
@@ -39,7 +35,7 @@ Now, we will need to evaluate the model. We will use `hf jobs` to evaluate the m
|
|
39 |
hf jobs uv run \ # run a hf jobs job with uv
|
40 |
--flavor a10g-large \ # select the machine size
|
41 |
--with "lighteval[vllm]" \ # install lighteval with vllm dependencies
|
42 |
-
s HF_TOKEN \ # share the huggingface write token
|
43 |
lighteval vllm "model_name=<your-username>/<your-model-name>" "lighteval|gsm8k|0|0" --push-to-hub --results-org <your-username>
|
44 |
```
|
45 |
|
@@ -72,7 +68,7 @@ Open a pull request on the [leaderboard space](https://huggingface.co/spaces/smo
|
|
72 |
"submission_date": "2025-09-02",
|
73 |
"results-dataset": "smol-course/details_HuggingFaceTB__SmolLM3-3B_private"
|
74 |
},
|
75 |
-
|
76 |
... # existing submissions
|
77 |
|
78 |
{
|
|
|
22 |
|
23 |
```bash
|
24 |
hf jobs uv run \
|
25 |
+
# this will push the model to the Hugging Face Hub
|
|
|
|
|
|
|
|
|
26 |
```
|
27 |
|
28 |
Your trained model will be available at `your-username/your-model-name`. For detailed documentation, check out the [checkpoints documentation](https://huggingface.co/docs/transformers/trainer#checkpoints) from `transformers`.
|
|
|
35 |
hf jobs uv run \ # run a hf jobs job with uv
|
36 |
--flavor a10g-large \ # select the machine size
|
37 |
--with "lighteval[vllm]" \ # install lighteval with vllm dependencies
|
38 |
+
-s HF_TOKEN \ # share the huggingface write token
|
39 |
lighteval vllm "model_name=<your-username>/<your-model-name>" "lighteval|gsm8k|0|0" --push-to-hub --results-org <your-username>
|
40 |
```
|
41 |
|
|
|
68 |
"submission_date": "2025-09-02",
|
69 |
"results-dataset": "smol-course/details_HuggingFaceTB__SmolLM3-3B_private"
|
70 |
},
|
71 |
+
|
72 |
... # existing submissions
|
73 |
|
74 |
{
|