Any-to-Any
Transformers
Safetensors
nlduni
feature-extraction
custom_code
image-text-to-text
text-to-image
image-to-image
Instructions to use nvidia/NLD-Uni with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nvidia/NLD-Uni with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nvidia/NLD-Uni", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from nvidia/NLD-Uni: direct link, hf CLI and curl.
- Browser
- Download file 912 Bytes
-
https://huggingface.co/nvidia/NLD-Uni/resolve/main/config.json
- Command line
-
hf download hf://nvidia/NLD-Uni/config.json
-
curl -L -o config.json https://huggingface.co/nvidia/NLD-Uni/resolve/main/config.json
912 Bytes
| { | |
| "hidden_size": 4096, | |
| "intermediate_size": 14336, | |
| "num_hidden_layers": 34, | |
| "num_attention_heads": 32, | |
| "num_key_value_heads": 8, | |
| "head_dim": 128, | |
| "vocab_size": 132101, | |
| "max_position_embeddings": 131072, | |
| "rms_norm_eps": 1e-05, | |
| "rope_parameters": { | |
| "beta_fast": 32.0, | |
| "beta_slow": 1.0, | |
| "factor": 8.0, | |
| "llama_4_scaling_beta": 0.1, | |
| "mscale": 1.0, | |
| "mscale_all_dim": 1.0, | |
| "original_max_position_embeddings": 16384, | |
| "rope_theta": 1000000.0, | |
| "rope_type": "yarn" | |
| }, | |
| "bos_token_id": 1, | |
| "eos_token_id": 11, | |
| "pad_token_id": 11, | |
| "tie_word_embeddings": false, | |
| "model_type": "nlduni", | |
| "architectures": [ | |
| "NLDUniForCausalLM" | |
| ], | |
| "torch_dtype": "bfloat16", | |
| "auto_map": { | |
| "AutoConfig": "configuration_nlduni.NLDUniConfig", | |
| "AutoModel": "modeling_nlduni.NLDUniForCausalLM", | |
| "AutoModelForCausalLM": "modeling_nlduni.NLDUniForCausalLM" | |
| } | |
| } | |