Zero-Shot Classification
Transformers
Safetensors
qwen3_5
image-text-to-text
auto-round
intel
quantization
4bit
decision-model
multimodal
vision
video
vllm-semantic-router
custom_code
4-bit precision
Run this model with HF Jobs
Run OpenTensorLab/d3-nano-W4A16-AutoRound 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 to fine-tune https://huggingface.co/OpenTensorLab/d3-nano-W4A16-AutoRound. 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/OpenTensorLab/d3-nano-W4A16-AutoRound 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.
Instructions to use OpenTensorLab/d3-nano-W4A16-AutoRound with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenTensorLab/d3-nano-W4A16-AutoRound with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="OpenTensorLab/d3-nano-W4A16-AutoRound", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("OpenTensorLab/d3-nano-W4A16-AutoRound", trust_remote_code=True) model = AutoModelForMultimodalLM.from_pretrained("OpenTensorLab/d3-nano-W4A16-AutoRound", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download quantization_config.json from OpenTensorLab/d3-nano-W4A16-AutoRound: direct link, hf CLI and curl.
- Browser
- Download file 4.26 kB
-
https://huggingface.co/OpenTensorLab/d3-nano-W4A16-AutoRound/resolve/main/quantization_config.json
- Command line
-
hf download hf://OpenTensorLab/d3-nano-W4A16-AutoRound/quantization_config.json
-
curl -L -o quantization_config.json https://huggingface.co/OpenTensorLab/d3-nano-W4A16-AutoRound/resolve/main/quantization_config.json
4.26 kB
| { | |
| "bits": 4, | |
| "data_type": "int", | |
| "group_size": 32, | |
| "sym": true, | |
| "iters": 1200, | |
| "autoround_version": "0.16.0", | |
| "block_name_to_quantize": "model.language_model.layers", | |
| "quant_method": "auto-round", | |
| "packing_format": "auto_round:auto_gptq", | |
| "extra_config": { | |
| "model.language_model.layers.0.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.0.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.1.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.1.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.2.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.2.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.4.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.4.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.5.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.5.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.6.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.6.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.8.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.8.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.9.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.9.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.10.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.10.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.12.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.12.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.13.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.13.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.14.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.14.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.16.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.16.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.17.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.17.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.18.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.18.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.20.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.20.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.21.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.21.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.22.linear_attn.in_proj_b": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| }, | |
| "model.language_model.layers.22.linear_attn.in_proj_a": { | |
| "bits": 16, | |
| "data_type": "fp" | |
| } | |
| } | |
| } |