Granite 8B Code Instruct 4bit by mlx-community

 ยป  All LLMs  ยป  mlx-community  ยป  Granite 8B Code Instruct 4bit   URL Share it on

  4bit   Autotrain compatible Base model:finetune:ibm-granit... Base model:ibm-granite/granite...   Code   Conversational   Dataset:bigcode/commitpackft Dataset:bugdaryan/sql-create-c... Dataset:garage-baind/open-plat... Dataset:glaive-function-callin... Dataset:glaiveai/glaive-code-a...   Dataset:meta-math/metamathqa   Dataset:nvidia/helpsteer   Dataset:tiger-lab/mathinstruct   Instruct   Llama   Mlx   Model-index   Quantized   Region:us   Safetensors

Granite 8B Code Instruct 4bit Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").
Granite 8B Code Instruct 4bit (mlx-community/granite-8b-code-instruct-4bit)

Granite 8B Code Instruct 4bit Parameters and Internals

Model Type 
text-generation
Additional Notes 
The model was converted to MLX format using mlx-lm version 0.12.0 and is designed to work with the MLX library.
LLM NameGranite 8B Code Instruct 4bit
Repository ๐Ÿค—https://huggingface.co/mlx-community/granite-8b-code-instruct-4bit 
Base Model(s)  Granite 8B Code Base   ibm-granite/granite-8b-code-base
Model Size8b
Required VRAM4.5 GB
Updated2024-12-22
Maintainermlx-community
Model Typellama
Instruction-BasedYes
Model Files  4.5 GB
Quantization Type4bit
Model ArchitectureLlamaForCausalLM
Licenseapache-2.0
Context Length4096
Model Max Length4096
Transformers Version4.41.0.dev0
Tokenizer ClassGPT2Tokenizer
Padding Token<|endoftext|>
Vocabulary Size49152
Torch Data Typebfloat16

Best Alternatives to Granite 8B Code Instruct 4bit

Best Alternatives
Context / RAM
Downloads
Likes
...B Instruct Gradient 1048K 4bit1024K / 4.5 GB152
...B Instruct Gradient 1048K 8bit1024K / 8.6 GB121
...truct Gradient 1048K Bpw6 EXL21024K / 6.7 GB82
...truct Gradient 1048K Bpw5 EXL21024K / 5.8 GB60
Llama 3 8B Instruct 1048K 4bit1024K / 4.5 GB1425
Llama 3 8B Instruct 1048K 8bit1024K / 8.6 GB3417
... Gradient 1048K 8.0bpw H8 EXL21024K / 8.6 GB143
...ct Gradient 1048K Bpw2.25 EXL21024K / 3.4 GB91
...B Instruct 262k V2 EXL2 6.0bpw256K / 6.7 GB141
Llama 3 8B Instruct 262K 2bit256K / 2.5 GB91
Note: green Score (e.g. "73.2") means that the model is better than mlx-community/granite-8b-code-instruct-4bit.

Rank the Granite 8B Code Instruct 4bit 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? 40066 in total.

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