Text Generation
Transformers
Safetensors
English
qwen3
self-play
space
ultrachat

Run this model with HF Jobs

Run HoangTran223/SPACE_Qwen3-4B 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/HoangTran223/SPACE_Qwen3-4B. 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/HoangTran223/SPACE_Qwen3-4B 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/HoangTran223/SPACE_Qwen3-4B. 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/HoangTran223/SPACE_Qwen3-4B. 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.

SPACE Qwen3-4B (Ultrachat)

Self-play SPACE (Wang et al., NeurIPS 2025) run on Qwen3-4B SFT (HoangTran223/qwen3_4b_sft_ultrachat200k_20260818_170154).

  • Prompts: UltraChat 50k subset of HuggingFaceH4/ultrachat_200k
  • Loss: SPACE (mu=1.0), RMSProp, batch 2 Γ— grad accum 2, max_length=1024
  • LR: 5e-7 (ite0–1), 1e-7 (ite2–3)

All 4 iterations finished. ite3/ is the final policy.

from transformers import AutoModelForCausalLM
m = AutoModelForCausalLM.from_pretrained("HoangTran223/SPACE_Qwen3-4B", subfolder="ite3")

Layout

  • ite0/, ite1/, ite2/, ite3/: finished checkpoints + generated train.jsonl
  • data/Ultrachat50k/train.jsonl: prompts used for generation
  • scripts/SPACE_full_qwen3_4b.sh: launch script
  • logs/: wandb offline runs, Hydra configs, tmux stdout
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for HoangTran223/SPACE_Qwen3-4B

Dataset used to train HoangTran223/SPACE_Qwen3-4B

Paper for HoangTran223/SPACE_Qwen3-4B