Text Generation
Transformers
Safetensors
English
Chinese
Xing4.1-Preview
conversational
custom_code
Eval Results
Run this model with HF Jobs
Run XingChen-AGI/Xing4.1-Preview 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/XingChen-AGI/Xing4.1-Preview. 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/XingChen-AGI/Xing4.1-Preview 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/XingChen-AGI/Xing4.1-Preview. 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/XingChen-AGI/Xing4.1-Preview. 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.
Instructions to use XingChen-AGI/Xing4.1-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use XingChen-AGI/Xing4.1-Preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="XingChen-AGI/Xing4.1-Preview", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("XingChen-AGI/Xing4.1-Preview", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use XingChen-AGI/Xing4.1-Preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "XingChen-AGI/Xing4.1-Preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "XingChen-AGI/Xing4.1-Preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/XingChen-AGI/Xing4.1-Preview
- SGLang
How to use XingChen-AGI/Xing4.1-Preview 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 "XingChen-AGI/Xing4.1-Preview" \ --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": "XingChen-AGI/Xing4.1-Preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "XingChen-AGI/Xing4.1-Preview" \ --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": "XingChen-AGI/Xing4.1-Preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use XingChen-AGI/Xing4.1-Preview with Docker Model Runner:
docker model run hf.co/XingChen-AGI/Xing4.1-Preview
Update README.md
Browse files4 unmodified lines567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711724 unmodified lineslanguage:- en- zhmodel-index:- name: Xing4.1-Previewresults:- task:type: text-generationname: Reasoning & Knowledgedataset:name: MMLU-Protype: mmlu_prometrics:- type: scorevalue: 85.2name: Score- task:type: text-generationname: Reasoning & Knowledgedataset:name: GPQA Diamondtype: gpqametrics:- type: scorevalue: 89.34name: Score- task:type: text-generationname: Reasoning & Knowledgedataset:name: AIME 2026type: aime_2026metrics:- type: scorevalue: 92.0name: Score- task:type: text-generationname: Codingdataset:name: SWE-Bench Pro V2 (Hard51)type: swe_benchmetrics:- type: scorevalue: 74.5name: Score- task:type: text-generationname: Codingdataset:name: Terminal-Bench 2.1type: terminal_benchmetrics:- type: scorevalue: 80.8name: Score- type: scorevalue: 28.7name: Score- type: scorevalue: 12.9name: Score- task:type: text-generationname: Codingdataset:name: SciCodetype: scicodemetrics:- type: scorevalue: 53.95name: Score- task:type: text-generationname: Codingdataset:name: SWE-Atlas v1.0-QAtype: swe_atlasmetrics:- type: scorevalue: 51.2name: Score- type: scorevalue: 41.4name: Score- task:type: text-generationname: Agentdataset:name: HLE-diamond (w/ tools, text-only)type: hlemetrics:- type: scorevalue: 52.3name: Score- task:type: text-generationname: Agentdataset:name: AutomationBench v1.0.6type: automation_benchmetrics:- type: scorevalue: 52.3name: Score- task:type: text-generationname: Agentdataset:name: Agent's Last Examtype: agents_last_exammetrics:- type: scorevalue: 20.2name: Score- task:type: text-generationname: Agentdataset:name: WorkspaceBench (text-only)type: workspace_benchmetrics:- type: scorevalue: 56.5name: Score- task:type: text-generationname: Agentdataset:name: Claw-Eval (text-only)type: claw_evalmetrics:- type: scorevalue: 80.58name: Score- task:type: text-generationname: Agentdataset:name: Tau3-Bankingtype: tau_benchmetrics:- type: scorevalue: 41.5name: Score- task:type: text-generationname: Long-Document Reasoningdataset:name: GDP.pdftype: gdp_pdfmetrics:- type: scorevalue: 13.2name: Score- task:type: text-generationname: Long-Document Reasoningdataset:name: AA.LCRtype: aalcrmetrics:- type: scorevalue: 79.67name: Score---<div align="center"><h1>Xing4.1-Preview</h1>4 unmodified lines56789104 unmodified lineslanguage:- en- zh---<div align="center"><h1>Xing4.1-Preview</h1>
README.md-162