Phi 2 Nf4 Fp16 Upscaled by arnavgrg

 ยป  All LLMs  ยป  arnavgrg  ยป  Phi 2 Nf4 Fp16 Upscaled   URL Share it on

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

Phi 2 Nf4 Fp16 Upscaled Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
Phi 2 Nf4 Fp16 Upscaled (arnavgrg/phi-2-nf4-fp16-upscaled)

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
Updated2025-02-05
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 GB780
Phi 2 4bit 64rank2K / 5.6 GB1530
MFANN3bv0.24128K / 11.1 GB50
MFANN3b128K / 11.1 GB1160
MFANN3bv1.3128K / 11.1 GB130
MFANN3bv1.1128K / 11.1 GB160
MFANN3bv0.23128K / 11.1 GB60
MFANN3b SFT128K / 5.6 GB1690
MFANN3b Rebase128K / 11.1 GB100
MFANN3bv1.2126K / 11.1 GB320
Note: green Score (e.g. "73.2") means that the model is better than arnavgrg/phi-2-nf4-fp16-upscaled.

Rank the Phi 2 Nf4 Fp16 Upscaled Capabilities

๐Ÿ†˜ Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! ๐ŸŒŸ

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 42577 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Release v20241227