Run this model with HF Jobs

Run open-thoughts/OpenThinker2-32B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/open-thoughts/OpenThinker2-32B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/open-thoughts/OpenThinker2-32B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/open-thoughts/OpenThinker2-32B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/open-thoughts/OpenThinker2-32B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Is the training set of OpenThinker2-32B sampled from the 1M dataset?

#2
by Shuaiqi - opened

The model card said "This model is a fine-tuned version of Qwen/Qwen2.5-32B-Instruct on the OpenThoughts2-1M dataset."
"We used 128 4xA100 nodes to train the model for 50 hours."

total_train_batch_size: 512
num_epochs: 5.0

The trainer_log.jsonl shows total_steps": 3475

It seems that the training set of OpenThinker2-32B has 3475512/5=355840 examples. It is a small subset of the OpenThoughts2-1M dataset.
3475
54s (per step) /3600 ≈ 52 hours

If it is not wrong, I wonder how did you sample this subset?

We trained with the full dataset.

For these training runs, we used example packing, so one step does not necessarily correspond to one row on the dataset. With example packing, it’s possible that one step can contain multiple rows.

Thanks very much for your help.

open-r1 previously reported "Sample packing hurts performance for reasoning".
https://huggingface.co/blog/open-r1/update-3

image.png

I wonder did you use some special packing methods?

OpenThoughts org

We use the packing implemented in Llama Factory. I believe the way this works is it doesn’t cut off any sequences unlike the diagram in the OpenR1 blog post. It only combines shorter sequences together.

Sign up or log in to comment