Run this model with HF Jobs
Run alibaba-multimodal-industrial-ai/IndustryLLM 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/alibaba-multimodal-industrial-ai/IndustryLLM. 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/alibaba-multimodal-industrial-ai/IndustryLLM 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/alibaba-multimodal-industrial-ai/IndustryLLM. 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/alibaba-multimodal-industrial-ai/IndustryLLM. 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 alibaba-multimodal-industrial-ai/IndustryLLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alibaba-multimodal-industrial-ai/IndustryLLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="alibaba-multimodal-industrial-ai/IndustryLLM") 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)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("alibaba-multimodal-industrial-ai/IndustryLLM") model = AutoModelForMultimodalLM.from_pretrained("alibaba-multimodal-industrial-ai/IndustryLLM", device_map="auto") 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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use alibaba-multimodal-industrial-ai/IndustryLLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "alibaba-multimodal-industrial-ai/IndustryLLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "alibaba-multimodal-industrial-ai/IndustryLLM", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/alibaba-multimodal-industrial-ai/IndustryLLM
- SGLang
How to use alibaba-multimodal-industrial-ai/IndustryLLM 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 "alibaba-multimodal-industrial-ai/IndustryLLM" \ --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": "alibaba-multimodal-industrial-ai/IndustryLLM", "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 "alibaba-multimodal-industrial-ai/IndustryLLM" \ --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": "alibaba-multimodal-industrial-ai/IndustryLLM", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use alibaba-multimodal-industrial-ai/IndustryLLM with Docker Model Runner:
docker model run hf.co/alibaba-multimodal-industrial-ai/IndustryLLM
IndustryLLM: Failure-Driven LLM for Industrial Procurement
[Technical Report (PDF)] | [Paper (arXiv)] | [Alibaba Multimodal & Industrial AI Team]
IndustryLLM is an open-weight industrial language model trained from Qwen/Qwen3.5-35B-A3B-Base, developed by the Multimodal and Industrial AI Team at Alibaba. It features 35B total parameters with approximately 3B activated per token (8 routed + 1 shared expert out of 256), combining deep industrial engineering knowledge with ultra-efficient inference.
Key Features
- Authoritative Engineering & Standards Grounding: Continually pre-trained on a curated โ100B-token industrial corpus, injecting 5B tokens of national standards (e.g., GB/T) and technical specifications, 10B tokens of authentic enterprise B2B transaction and inquiry records, and 60B tokens of general replay.
- Failure-Driven Data Reconstruction: Overcomes register mismatch and factual brittleness through multi-register rewriting across 10 genres and 8 writing styles, confidence-routed minimal factual editing, and error-targeted QA synthesis.
- Robust Procurement Query Structuring: Bridges colloquial buyer jargon, phonetic typos (e.g., resolving
42็ป้ผโ42CrMo), and truncated standard codes (16674โGB/T 16674), while intercepting contradictory geometric specifications before catalog dispatch. - Reasoning-Enabled Mode (
Think): Activates deep multi-step engineering reasoning for complex analytical and constraint-satisfaction tasks. - Direct-Response Mode (
No-Think): Strips intermediate CoT for latency-critical production environments (under 2s SLA).
Model Details
- Architecture: Hybrid-attention Mixture-of-Experts (
Qwen3_5MoeForConditionalGeneration) - Total / Activated Parameters: 35.95B total parameters / $\approx$3B activated per token
- Weight Format: BF16 safetensors (16 shards)
- Context Window: 262,144 tokens architectural limit (fine-tuned on packed 12,288 sequences)
- Training Adaptation: Language-model parameters adapted via CPT and full-parameter SFT with task-filtered teacher targets; vision tower and multimodal projection modules remain strictly frozen to isolate text-based engineering reasoning.
- Chat Template: Native Qwen3.5 thinking / non-thinking chat templates.
Quickstart & Usage
We recommend using transformers>=5.2.0 with native Qwen3.5 MoE support.
pip install "transformers>=5.2.0" accelerate
1. Direct-Response Mode (No-Think, Recommended for Low-Latency Query Structuring)
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "alibaba-multimodal-industrial-ai/IndustryLLM"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
# Example: Resolving colloquial buyer inquiry with conflicting specs
prompt = "ๅธฎๆๆพ 42็ป้ผ ่บๆ 16674 M10*35 ไฝ่ฆ50้ฟ"
messages = [
{"role": "system", "content": "ไฝ ๆฏไธไฝไธไธ็ๅทฅไธๅ้้ไธๅฎถใ่ฏทๅฐไนฐๅฎถ็้่ดญๆๅพ่ฟ่กๅๆฐ็ปๆๅๅฝไธๅ๏ผๆๅบๆฝๅจ็่งๆ ผๅฒ็ชๆ็ผบๅคฑ้กนใ"},
{"role": "user", "content": prompt}
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
enable_thinking=False, # Direct response for fast catalog integration (<2s)
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
with torch.inference_mode():
output_ids = model.generate(**inputs, max_new_tokens=512, temperature=0.2)
completion_ids = output_ids[0, inputs["input_ids"].shape[-1] :]
print(tokenizer.decode(completion_ids, skip_special_tokens=True))
2. Reasoning-Enabled Mode (Think, for Deep Engineering Analysis)
# Pass enable_thinking=True to activate test-time reasoning traces
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
enable_thinking=True, # Activates chain-of-thought
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
with torch.inference_mode():
output_ids = model.generate(**inputs, max_new_tokens=2048, temperature=0.6)
completion_ids = output_ids[0, inputs["input_ids"].shape[-1] :]
print(tokenizer.decode(completion_ids, skip_special_tokens=True))
System Boundary & Evidence-Gated Evaluation
As formalized in our technical report, category relevance is not product eligibility:
- Demand Track: IndustryLLM is engineered to power upstream demand interpretation, canonical property extraction, unit normalization, and conflict identification.
- Product Track: Final physical eligibility must be evaluated downstream via an evidence gate under three-valued logic (
Satisfied,Unknown,Violated): unverified product claims or missing supplier evidence strictly evaluate tounknownrather thansatisfied("unknown is not satisfied").
Limitations & Responsible Use
- Text-Only Adaptation: Although the architecture inherits multimodal vision weights from the base model, the vision encoder remained frozen; the model is not evaluated for engineering blueprints, CAD files, or defect image classification.
- Safety-Critical Operations: Outputs should not be taken as certified engineering guarantees for high-risk equipment (e.g., pressure vessels, explosive gas seals) without independent expert validation and official manufacturer test certificates.
- Deployment Auditing: Deployers are responsible for domain-specific safety checks, sandboxing code/tool executions, and enforcing data privacy policies.
Citation
If you find IndustryLLM useful for your research or enterprise applications, please cite our technical report:
@misc{ding2026industryllmfailuredrivenllmtraining,
title={IndustryLLM: Failure-Driven LLM Training for Industrial Procurement},
author={Liang Ding and Zhiang Xu and Yuyang Sheng and Bin Chen and Songlin Bai and Run Zhu and Dingjun Wu and Hui Xu and Yandi Wang and Fulin Shi and Leilei Gan and Linlin Yu and Qihuang Zhong and Keqin Peng and Yalong Li and Chengfu Huo},
year={2026},
eprint={2609.31871},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2609.31871},
}
Please also cite the upstream Qwen3.5 foundation model:
@misc{qwen3_5,
title = {Qwen3.5: Towards Native Multimodal Agents},
author = {Qwen Team},
year = {2026},
month = {February},
url = {https://qwen.ai/blog?id=qwen3.5}
}
- Downloads last month
- 159
Model tree for alibaba-multimodal-industrial-ai/IndustryLLM
Base model
Qwen/Qwen3.5-35B-A3B-Base