LLM EXPLORER 63,407 MODELS INDEXED

Phi 2 Nf4 Fp16 Upscaled by arnavgrg

By arnavgrg · 8 downloads

Phi 2 Nf4 Fp16 Upscaled is an open-source language model by arnavgrg. Features: 2.8b LLM, VRAM: 5.6GB, Context: 2K, License: apache-2.0, Quantized, LLM Explorer Score: 0.11.

  Custom code   Endpoints compatible   Fp16   Phi   Quantized   Region:us   Safetensors   Sharded   Tensorflow

Phi 2 Nf4 Fp16 Upscaled Parameters and Internals

Model Type 
text generation
Additional Notes 
This is an upscaled fp16 variant of the original Phi-2 base model using nf4 4-bit quantization. The quantization operation to nf4 is not lossless, affecting the model's performance compared to the original model.
Input Output 
Performance Tips:
To use this model, you can just load it via `transformers` in fp16.
LLM NamePhi 2 Nf4 Fp16 Upscaled
Repository πŸ€—https://huggingface.co/arnavgrg/phi-2-nf4-fp16-upscaled 
Model Size2.8b
Required VRAM5.6 GB
Updated2026-07-31
Maintainerarnavgrg
Model Typephi
Model Files  5.0 GB: 1-of-2   0.6 GB: 2-of-2
Quantization Typefp16
Model ArchitecturePhiForCausalLM
Licenseapache-2.0
Context Length2048
Model Max Length2048
Transformers Version4.37.0
Tokenizer ClassCodeGenTokenizer
Padding Token<|endoftext|>
Vocabulary Size51200
Torch Data Typefloat16

Best Alternatives to Phi 2 Nf4 Fp16 Upscaled

Best Alternatives
Context / RAM
Downloads
Likes
Bnb DPO 8bit2K / 3 GB70
Bnb DPO 8bit2K / 3 GB70
Phi 2 4bit 64rank2K / 5.6 GB130
MFANN3bv0.24128K / 11.1 GB60
MFANN3b128K / 11.1 GB860
MFANN3bv1.4128K / 11.1 GB80
MFANN Phigments Slerp V3.2128K / 5.6 GB60
MFANN3bv1.3128K / 11.1 GB140
MFANN3bv0.23128K / 11.1 GB100
MFANN3bv1.1128K / 11.1 GB100
Note: green Score (e.g. "73.2") means that the model is better than arnavgrg/phi-2-nf4-fp16-upscaled.