NF4 to FP16 upscaling
According to the model card, linear 4-bit layers were upscaled to FP16 to avoid paying quantization costs on each forward pass.
Open Source Model Profile · arnavgrg
llama-2-13b-chat-nf4-fp16-upscaled is a 13.02B-parameter Llama-family text-generation model from arnavgrg. According to the model card, it is an FP16-upscaled variant of Llama-2-13b-chat after NF4 quantization.
llama-2-13b-chat-nf4-fp16-upscaled is published by arnavgrg as a Llama-based text-generation model. The captured configuration identifies LlamaForCausalLM and Safetensors metadata reports 13015864320 parameters. According to the model card, it derives from Meta's Llama-2-13b-chat after NF4 4-bit quantization via bitsandbytes, upscaled to FP16.
According to the model card, linear 4-bit layers were upscaled to FP16 to avoid paying quantization costs on each forward pass.
Captured configuration identifies LlamaForCausalLM with 13015864320 Safetensors parameters.
The model card notes the NF4 quantization operation is not lossless, so this variant will not work as well as the official base model.
According to the model card, the model can be loaded directly with Transformers in FP16 using AutoModelForCausalLM.
Source: arnavgrg/llama-2-13b-chat-nf4-fp16-upscaled
Captured: Unknown. Processed: 2026-09-07T19:34:40.327035+00:00.
This is an upscaled fp16 variant of the original Llama-2-13b-chat base model by Meta after it has been loaded with nf4 4-bit quantization via bitsandbytes. The main idea here is to upscale the linear4bit layers to fp16 so that the quantization/dequantization cost doesn't have to paid for each forward pass at inference time. Note: The quantization operation to nf4 is not lossless, so the model weights for the linear layers are lossy, which means that this model will not work as well as the official base model. To use this model, you can just load it via transformers in fp16: import torch from transformers import AutoModelForCausalLM…
F001F002F003F004F005F006F007F008F009F010F011F012F013F014