Run this model with HF Jobs

Run beita6969/R2Flow-9b 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/beita6969/R2Flow-9b. 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/beita6969/R2Flow-9b 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/beita6969/R2Flow-9b. 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/beita6969/R2Flow-9b. 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.

R2Flow-9B

The trained Rยฒ Flow Supervisor as a complete model: the trained LoRA adapter (rank 4, alpha 8 on q_proj, k_proj, v_proj, o_proj, out_proj, gate_proj, up_proj and down_proj) is merged into the Qwen3.5-9B weights.

The merged layers are stored in float32. The LoRA update is about 0.1 to 0.3% of the weight norm, and rounding the merged layers to bfloat16 would discard most of it, so load the model in float32 to reproduce the trained Supervisor exactly; all other layers are the unchanged bfloat16 base weights.

import torch
from transformers import AutoTokenizer, Qwen3_5ForConditionalGeneration

model = Qwen3_5ForConditionalGeneration.from_pretrained("beita6969/R2Flow-9b", dtype=torch.float32)
tokenizer = AutoTokenizer.from_pretrained("beita6969/R2Flow-9b")
Downloads last month
22
Safetensors
Model size
10B params
Tensor type
F32
ยท
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for beita6969/R2Flow-9b

Finetuned
Qwen/Qwen3.5-9B
Finetuned
(1,655)
this model
Quantizations
1 model