Run this model with HF Jobs

Run linuzj/quantum-circuit-qubo-3B 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/linuzj/quantum-circuit-qubo-3B. 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/linuzj/quantum-circuit-qubo-3B 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/linuzj/quantum-circuit-qubo-3B. 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/linuzj/quantum-circuit-qubo-3B. 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.

Model Card for quantum-circuit-qubo-3B

This model is the one discussed in the paper Fine-Tuning Large Language Models on Quantum Optimization Problems for Circuit Generation.

This model is a fine-tuned version of Qwen/Qwen2.5-3B-Instruct. It has been trained using TRL.

Quick start

See general documentation.

Framework versions

  • TRL: 0.15.2
  • Transformers: 4.48.3
  • Pytorch: 2.5.1
  • Datasets: 3.2.0
  • Tokenizers: 0.21.1

Citations

Cite this model as:

@misc{jern2025finetuninglargelanguagemodels,
      title={Fine-Tuning Large Language Models on Quantum Optimization Problems for Circuit Generation}, 
      author={Linus Jern and Valter Uotila and Cong Yu and Bo Zhao},
      year={2025},
      eprint={2504.11109},
      archivePrefix={arXiv},
      primaryClass={quant-ph},
      url={https://arxiv.org/abs/2504.11109}, 
}
Downloads last month
24
Safetensors
Model size
3B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for linuzj/quantum-circuit-qubo-3B

Base model

Qwen/Qwen2.5-3B
Finetuned
(1,733)
this model
Quantizations
1 model

Dataset used to train linuzj/quantum-circuit-qubo-3B

Space using linuzj/quantum-circuit-qubo-3B 1

Paper for linuzj/quantum-circuit-qubo-3B