Downloads · 30 days
12
9% of all-time downloads
langtech-innovation/ALIA-40b-instruct-2512_nvfp4
ALIA-40b-instruct-2512_nvfp4 is a text generation model from langtech-innovation. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This repository provides an NVFP4-quantized checkpoint of BSC-LT/ALIA-40b-instruct-2512, produced with NVIDIA TensorRT Model Optimizer (ModelOpt) and intended for high-throughput, memory-efficient inference using Tens…
Downloads · 30 days
12
9% of all-time downloads
All-time downloads
131
Public
Parameters
22.3B
28.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors28.8 GB · 100%
How the weights are stored.
U818.1B · 74%
From the Hugging Face model README
This repository provides an NVFP4-quantized checkpoint of BSC-LT/ALIA-40b-instruct-2512, produced with NVIDIA TensorRT Model Optimizer (ModelOpt) and intended for high-throughput, memory-efficient inference using TensorRT-LLM on NVIDIA GPUs.
BSC-LT/ALIA-40b-instruct-2512⚠️ This is a quantized inference checkpoint. It is not intended for further fine-tuning.
ALIA-40b-instruct-2512 is an instruction-tuned, multilingual large language model from the ALIA family, designed for high-quality instruction following and conversational use, with a focus on Iberian and English languages.
This repository contains an NVFP4-quantized variant of the model, optimized for deployment with TensorRT-LLM, significantly reducing memory footprint and improving inference throughput compared to BF16/FP16 weights.
Primary languages include:
NVFP4 is a low-precision numerical format used by NVIDIA’s inference stack, where weights and activations of linear layers inside transformer blocks are quantized for efficient execution.
This model was produced using NVIDIA Model Optimizer (ModelOpt) and is intended to be consumed by TensorRT-LLM.
Practical implications:
This model is designed for use with TensorRT-LLM, either via the Python API or through a serving endpoint.
from tensorrt_llm import SamplingParams
from tensorrt_llm._torch import LLM
prompts = [
"Escriu un petit conte en Catalá que parli de tres germanes bessones."
]
sampling_params = SamplingParams(
max_tokens=256,
temperature=0.1
)
llm = LLM(
model="langtech-innovation/ALIA-40b-instruct-2512_nvfp4",
tensor_parallel_size=1, # adjust to number of GPUs
backend="pytorch"
)
outputs = llm.generate(prompts, sampling_params)
print(outputs[0].outputs[0].text)
You can also deploy this model using the TensorRT-LLM server inside an NVIDIA container (e.g. DGX Spark workflows), mounting the model directory and exposing an OpenAI-compatible or custom API.
The base model uses a ChatML-style prompt format via:
tokenizer.apply_chat_template(...)
For best results, ensure your serving stack preserves the original chat template semantics from the base model.
Quantization may slightly affect:
The model may reflect biases present in its training data
Deployers should implement:
BSC-LT/ALIA-40b-instruct-2512 model card for full training, alignment, and data details.No additional evaluation is provided for the NVFP4 checkpoint.
Users are encouraged to benchmark:
against the BF16 base model.
This model is released under the Apache License 2.0, consistent with the base model.