Phi 3 Medium 128K Instruct by microsoft

 ยป  All LLMs  ยป  microsoft  ยป  Phi 3 Medium 128K Instruct   URL Share it on

  Autotrain compatible   Code   Conversational   Custom code   Endpoints compatible   Instruct   Multilingual   Phi3   Region:us   Safetensors   Sharded   Tensorflow

Phi 3 Medium 128K Instruct Benchmarks

Phi 3 Medium 128K Instruct Parameters and Internals

Model Type 
text-generation, code
Use Cases 
Areas:
Commercial, Research
Applications:
Language and multimodal models, Generative AI
Primary Use Cases:
Memory/compute constrained environments for general AI system, Latency bound scenarios requiring strong reasoning, Research acceleration
Limitations:
Not evaluated for all downstream purposes, High risk scenarios may require debiasing techniques
Considerations:
Evaluate and mitigate accuracy, safety, and fairness before use in specific downstream scenarios.
Supported Languages 
English (primary)
Training Details 
Data Sources:
Publicly available documents, Newly created synthetic text data, High quality chat format supervised data
Data Volume:
4.8 trillion tokens
Methodology:
Supervised fine-tuning (SFT) and Direct Preference Optimization (DPO)
Context Length:
128000
Training Time:
42 days
Hardware Used:
512 H100-80G GPUs
Model Architecture:
Dense decoder-only Transformer
Responsible Ai Considerations 
Fairness:
Trained primarily on English text, under-representation of some English language varieties is possible.
Transparency:
Models may generate inappropriate or offensive content; transparent communication with users recommended.
Accountability:
Developers should adhere to applicable laws and verify outputs before use in high-risk scenarios.
Mitigation Strategies:
Built-in safety classifiers and custom solutions for high-risk contexts.
Input Output 
Input Format:
Chat format prompts
Accepted Modalities:
Text
Output Format:
Generated text
Performance Tips:
Add a BOS token (`~~`) at the start of the conversation for reliable results.
Release Notes 
Version:
May 21, 2024
Date:
2024-05-21
Notes:
Phi-3-Medium-128K-Instruct model released with 14B parameters and advanced capabilities.
LLM NamePhi 3 Medium 128K Instruct
Repository ๐Ÿค—https://huggingface.co/microsoft/Phi-3-medium-128k-instruct 
Model Size14b
Required VRAM28 GB
Updated2024-11-21
Maintainermicrosoft
Model Typephi3
Instruction-BasedYes
Model Files  4.9 GB: 1-of-6   5.0 GB: 2-of-6   4.9 GB: 3-of-6   4.8 GB: 4-of-6   4.8 GB: 5-of-6   3.6 GB: 6-of-6
Model ArchitecturePhi3ForCausalLM
Licensemit
Context Length131072
Model Max Length131072
Transformers Version4.39.3
Tokenizer ClassLlamaTokenizer
Padding Token<|endoftext|>
Vocabulary Size32064
Torch Data Typebfloat16
Phi 3 Medium 128K Instruct (microsoft/Phi-3-medium-128k-instruct)

Quantized Models of the Phi 3 Medium 128K Instruct

Model
Likes
Downloads
VRAM
...hi 3 Medium 128K Instruct GGUF21885 GB
...hi 3 Medium 128K Instruct GGUF0715 GB

Best Alternatives to Phi 3 Medium 128K Instruct

Best Alternatives
Context / RAM
Downloads
Likes
...ess V2.5 Phi 3 Medium 128K 14B128K / 28 GB52933
Finetuned Phi3 Medium 128K128K / 28 GB150
Shisa V1 Phi3 14B128K / 28 GB112
Mahou 1.2 Phi 14B128K / 28 GB121
Phi 3 Medium 4K Instruct4K / 28 GB38586212
...colatine 14B Instruct DPO V1.24K / 28 GB615713
...ium 4K Instruct Abliterated V34K / 28 GB494622
...hocolatine 14B Instruct 4K DPO4K / 28 GB33241
...colatine 14B Instruct DPO V1.14K / 28 GB160
Phi3 Translator Merged4K / 28 GB140
Note: green Score (e.g. "73.2") means that the model is better than microsoft/Phi-3-medium-128k-instruct.

Rank the Phi 3 Medium 128K Instruct 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? 38149 in total.

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