Granite 3B Code Instruct 128K by ibm-granite

 ยป  All LLMs  ยป  ibm-granite  ยป  Granite 3B Code Instruct 128K   URL Share it on

  Arxiv:2405.04324   Autotrain compatible   Code   Conversational   Dataset:bigcode/commitpackft Dataset:bigcode/self-oss-instr... 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 3B Code Instruct 128K Benchmarks

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

Granite 3B Code Instruct 128K Parameters and Internals

Model Type 
text-generation, code
Use Cases 
Areas:
coding assistants, long-conext input processing
Limitations:
Performance may be limited with out-of-domain programming languages.
Considerations:
Provide few-shot examples to steer output.
Training Details 
Data Sources:
CommitPackFT, BigCode-SC2-Instruct, MathInstruct, MetaMathQA, Glaive-Code-Assistant-v3, Glaive-Function-Calling-v2, NL2SQL11, HelpSteer, OpenPlatypus
Methodology:
Exposed to both short and long context data to enhance long-context capability without sacrificing code generation performance at short input context.
Hardware Used:
NVIDIA A100, NVIDIA H100
LLM NameGranite 3B Code Instruct 128K
Repository ๐Ÿค—https://huggingface.co/ibm-granite/granite-3b-code-instruct-128k 
Model Size3b
Required VRAM7 GB
Updated2024-12-21
Maintaineribm-granite
Model Typellama
Instruction-BasedYes
Model Files  5.0 GB: 1-of-2   2.0 GB: 2-of-2
Model ArchitectureLlamaForCausalLM
Licenseapache-2.0
Context Length128000
Model Max Length128000
Transformers Version4.41.2
Tokenizer ClassGPT2Tokenizer
Padding Token<|endoftext|>
Vocabulary Size49152
Torch Data Typebfloat16

Best Alternatives to Granite 3B Code Instruct 128K

Best Alternatives
Context / RAM
Downloads
Likes
Llama 3.2 3B Instruct128K / 6.5 GB2165514808
Llama 3.2 3B Instruct128K / 6.4 GB6393735
Llama Song Stream 3B Instruct128K / 6.5 GB299
Llama Chat Summary 3.2 3B128K / 6.5 GB577
...lama 3.2 Rabbit Ko 3B Instruct128K / 6.5 GB15538
Llama 3.2 3B Instruct128K / 6.5 GB554272
SummLlama3.2 3B128K / 6.5 GB482135
FinMatcha 3B Instruct128K / 6.5 GB3590
...3.2 Rabbit Ko 3B Instruct 2412128K / 6.5 GB270
... Instruct JankMixBread V0.1 3B128K / 6.4 GB3430
Note: green Score (e.g. "73.2") means that the model is better than ibm-granite/granite-3b-code-instruct-128k.

Rank the Granite 3B Code Instruct 128K 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? 40013 in total.

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