Phi 3 Medium 4K Instruct by microsoft

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

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

Phi 3 Medium 4K Instruct Benchmarks

Phi 3 Medium 4K Instruct Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
Commercial, Research
Applications:
General AI systems, Latency and memory-constrained environments
Primary Use Cases:
Code, math, and logical reasoning
Limitations:
Potential inaccuracy, bias, and harm in high-risk scenarios
Considerations:
Models are not evaluated for all downstream use cases, especially high-risk ones.
Additional Notes 
Supports cross-platform capabilities through ONNX runtime across various devices.
Supported Languages 
primary (English), additional (Multilingual (10% of training data))
Training Details 
Data Sources:
Publicly available documents, Human-like synthetic data
Data Volume:
4.8 trillion tokens
Methodology:
Supervised fine-tuning and Direct Preference Optimization
Context Length:
4000
Training Time:
42 days
Hardware Used:
512 H100-80G GPUs
Model Architecture:
Dense decoder-only Transformer model
Safety Evaluation 
Methodologies:
Supervised fine-tuning, Direct Preference Optimization
Risk Categories:
Misinformation, Bias, Offensive content
Ethical Considerations:
Models may produce unreliable, biased, or offensive outputs.
Responsible Ai Considerations 
Fairness:
Models trained on English may over/under-represent groups, or reinforce demeaning stereotypes.
Transparency:
Transparency best practices and accountability need to be applied by developers.
Accountability:
Developers should ensure compliance with relevant laws and regulations.
Mitigation Strategies:
Responsible AI best practices should be followed including the use of safety classifiers.
Input Output 
Input Format:
Chat format prompts using user-assistant dialogue.
Accepted Modalities:
text
Output Format:
Generated text in response to input
Performance Tips:
Include a BOS token at conversation start for reliable results.
LLM NamePhi 3 Medium 4K Instruct
Repository ๐Ÿค—https://huggingface.co/microsoft/Phi-3-medium-4k-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 Length4096
Model Max Length4096
Transformers Version4.39.3
Tokenizer ClassLlamaTokenizer
Padding Token<|endoftext|>
Vocabulary Size32064
Torch Data Typebfloat16
Phi 3 Medium 4K Instruct (microsoft/Phi-3-medium-4k-instruct)

Quantized Models of the Phi 3 Medium 4K Instruct

Model
Likes
Downloads
VRAM
Phi 3 Medium 4K Instruct 8bit14614 GB
Phi 3 Medium 4K Instruct GGUF01125 GB
Phi 3 Medium 4K Instruct GGUF01015 GB

Best Alternatives to Phi 3 Medium 4K Instruct

Best Alternatives
Context / RAM
Downloads
Likes
Phi 3 Medium 128K Instruct128K / 28 GB40439371
...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
...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

Rank the Phi 3 Medium 4K 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