Text Generation
PEFT
Safetensors
GGUF
granite
uno
speculative-decoding
block-diffusion
lora
oflm
openflowlm
npu2
q4nx
conversational
Run this model with HF Jobs
Run Cyronius/granite-4.2-3b-uno 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/Cyronius/granite-4.2-3b-uno. 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/Cyronius/granite-4.2-3b-uno 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/Cyronius/granite-4.2-3b-uno. 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/Cyronius/granite-4.2-3b-uno. 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 Cyronius/granite-4.2-3b-uno with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Cyronius/granite-4.2-3b-uno with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("ibm-granite/granite-4.2-3b") model = PeftModel.from_pretrained(base_model, "Cyronius/granite-4.2-3b-uno") - Notebooks
- Google Colab
- Kaggle
Download open_kernels/spec.json from Cyronius/granite-4.2-3b-uno: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/Cyronius/granite-4.2-3b-uno/resolve/main/open_kernels/spec.json
- Command line
-
hf download hf://Cyronius/granite-4.2-3b-uno/open_kernels/spec.json
-
curl -L -o spec.json https://huggingface.co/Cyronius/granite-4.2-3b-uno/resolve/main/open_kernels/spec.json
1.31 kB
| { | |
| "family": "granite", | |
| "hidden": 2560, | |
| "num_layers": 40, | |
| "layer_types": [ | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense", | |
| "dense" | |
| ], | |
| "vocab": 100352, | |
| "real_vocab": 100352, | |
| "num_heads": 40, | |
| "num_kv_heads": 8, | |
| "head_dim": 64, | |
| "rotary_dim": 64, | |
| "rope_theta": 10000000.0, | |
| "rope_scaling": null, | |
| "rope_local_theta": 0.0, | |
| "sliding_window": 0, | |
| "qk_norm": false, | |
| "attn_gate": false, | |
| "lin_key_heads": 0, | |
| "lin_value_heads": 0, | |
| "lin_key_dim": 0, | |
| "lin_value_dim": 0, | |
| "conv_kernel": 0, | |
| "intermediate": 8192, | |
| "activation": "silu", | |
| "sandwich_norms": false, | |
| "num_experts": 0, | |
| "experts_per_tok": 0, | |
| "moe_intermediate": 0, | |
| "shared_expert_intermediate": 0, | |
| "norm_eps": 1e-05, | |
| "quant": "q4_1", | |
| "extra": { | |
| "model_type": "granite", | |
| "source": "hf_config", | |
| "model": "granite-4.2-3b-uno-hf" | |
| } | |
| } | |