Granite 8B Code Instruct by ibm-granite

 ยป  All LLMs  ยป  ibm-granite  ยป  Granite 8B Code Instruct   URL Share it on

  Arxiv:2405.04324   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   Granite   Instruct   Llama   Model-index   Region:us   Safetensors   Sharded   Tensorflow

Granite 8B Code Instruct 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 (ibm-granite/granite-8b-code-instruct)

Granite 8B Code Instruct Parameters and Internals

Model Type 
text-generation
Use Cases 
Areas:
Code Assistance
Primary Use Cases:
Building coding assistants
Limitations:
Performance may be limited with out-of-domain programming languages
Considerations:
Providing few-shot examples can improve model performance in some cases.
Additional Notes 
Finetuned using instruction datasets to enhance code instruction abilities.
Training Details 
Data Sources:
CommitPackFT, MathInstruct, MetaMathQA, Glaive-Code-Assistant-v3, Glaive-Function-Calling-v2, NL2SQL11, Open-Platypus, HelpSteer
Methodology:
Fine-tuned for instruction following, logical reasoning, and problem-solving.
Hardware Used:
NVIDIA A100, NVIDIA H100
Responsible Ai Considerations 
Mitigation Strategies:
Developers should perform safety testing and target-specific tuning before deploying these models.
LLM NameGranite 8B Code Instruct
Repository ๐Ÿค—https://huggingface.co/ibm-granite/granite-8b-code-instruct 
Base Model(s)  Granite 8B Code Base   ibm-granite/granite-8b-code-base
Model Size8b
Required VRAM16.2 GB
Updated2024-09-01
Maintaineribm-granite
Model Typellama
Instruction-BasedYes
Model Files  5.0 GB: 1-of-4   4.9 GB: 2-of-4   5.0 GB: 3-of-4   1.3 GB: 4-of-4
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

Best Alternatives
Context / RAM
Downloads
Likes
...a 3 8B Instruct Gradient 1048K1024K / 16.1 GB3927680
Mpasila Viking 8B1024K / 16.1 GB840
Hel V2 8B DARK FICTION1024K / 16.1 GB220
161024K / 16.1 GB1690
...di95 LewdStorytellerMix 8B 64K1024K / 16.1 GB692
Because Im Bored Nsfw11024K / 16.1 GB361
121024K / 16.1 GB600
MrRoboto ProLong 8B V4b1024K / 16.1 GB1070
MrRoboto ProLong 8B V1a1024K / 16.1 GB1080
MrRoboto ProLong 8B V2a1024K / 16.1 GB1020
Note: green Score (e.g. "73.2") means that the model is better than ibm-granite/granite-8b-code-instruct.

Rank the Granite 8B Code 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? 43470 in total.

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