Instructions to use HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1") model = AutoModelForMultimodalLM.from_pretrained("HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1
- SGLang
How to use HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1 with Docker Model Runner:
docker model run hf.co/HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1
machine5_continue_stable_expand13000_20260520_lr2e-7_e1
This is a full-parameter fine-tune of Qwen3-VL-8B-Thinking for visual symbolic
regression: given a rendered function plot, immediately call
submit_expression with a compact executable NumPy expression.
Training Recipe
- Parent checkpoint:
machine5_rendered_stable_medium6000_20260520_lr5e-7_e1 - Training data: 13000 train-only rendered image/function pairs
- Source mix: official 7700, poly 3900, closure 1400
- Difficulty mix: easy 3073, medium 8129, hard 1198, expert 300, extreme 300
- Teacher trace: none
- Target format: compact
submit_expressiontool call with true expression - Prompt/reasoning: image-only direct tool-call prompt, no reasoning
- Key protocol fix: stripped empty Qwen3
<think>template during SFT - LR:
2e-7 - Global batch: 8
- Steps: 1625 optimizer steps, 1 epoch
No dev/test answer trajectories were used as training data.
Evaluation
Evaluated with 8 vLLM services, 60 workers, max_tokens=16000, thinking
disabled, and direct tool-call extraction.
Balanced60:
acc@0.99=0.35acc@0.95=0.3833acc@0.9=0.4acc@0.8=0.45null=0/60finish_reason={"stop": 60}- mean latency:
6.276s
Official dev 300:
acc@0.99=0.28acc@0.95=0.2967acc@0.9=0.31acc@0.8=0.34null=0/300finish_reason={"stop": 300}- mean latency:
4.411s
Intended Use
This checkpoint is an experimental model for visual symbolic regression research. It is tuned for concise tool-call outputs and may be over-specialized to rendered single-variable function plots.
- Downloads last month
- 6
Model tree for HuayuSha/machine5_continue_stable_expand13000_20260520_lr2e-7_e1
Base model
Qwen/Qwen3-VL-8B-Thinking