Granite 20B Code Instruct by ibm-granite

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

  Arxiv:2405.04324   Autotrain compatible Base model:finetune:ibm-granit... Base model:ibm-granite/granite...   Code   Codegen   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   Endpoints compatible   Gpt bigcode   Granite   Instruct   Model-index   Region:us   Safetensors   Sharded   Tensorflow

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

Granite 20B Code Instruct Parameters and Internals

Model Type 
text-generation
Use Cases 
Areas:
coding assistants
Limitations:
Performance may be limited with out-of-domain programming languages.
Considerations:
Providing a few-shot example may help steer the model's output.
Supported Languages 
Python (supported), JavaScript (supported), Java (supported), Go (supported), C++ (supported), Rust (supported), Other (limited)
Training Details 
Data Sources:
bigcode/commitpackft, TIGER-Lab/MathInstruct, meta-math/MetaMathQA, glaiveai/glaive-code-assistant-v3, glaive-function-calling-v2, bugdaryan/sql-create-context-instruction, garage-bAInd/Open-Platypus, nvidia/HelpSteer
Methodology:
finetuned using instruction-response pairs
Hardware Used:
IBM's super computing clusters Vela and Blue Vela with NVIDIA A100 and H100 GPUs
Responsible Ai Considerations 
Mitigation Strategies:
Developers should perform safety testing and target-specific tuning before deployment.
Release Notes 
Date:
May 6th, 2024
LLM NameGranite 20B Code Instruct
Repository ๐Ÿค—https://huggingface.co/ibm-granite/granite-20b-code-instruct 
Base Model(s)  Granite 20B Code Base   ibm-granite/granite-20b-code-base
Model Size20b
Required VRAM40 GB
Updated2024-09-01
Maintaineribm-granite
Model Typegpt_bigcode
Instruction-BasedYes
Model Files  5.0 GB: 1-of-9   4.9 GB: 2-of-9   4.9 GB: 3-of-9   4.9 GB: 4-of-9   4.9 GB: 5-of-9   4.9 GB: 6-of-9   4.9 GB: 7-of-9   4.9 GB: 8-of-9   0.7 GB: 9-of-9
Generates CodeYes
Model ArchitectureGPTBigCodeForCausalLM
Licenseapache-2.0
Model Max Length8192
Transformers Version4.41.0.dev0
Tokenizer ClassGPT2Tokenizer
Padding Token<|endoftext|>
Vocabulary Size49152
Torch Data Typebfloat16
Activation Functiongelu_pytorch_tanh

Best Alternatives to Granite 20B Code Instruct

Best Alternatives
Context / RAM
Downloads
Likes
Granite 20B Code Instruct 8K0K / 40 GB98839
Granite 20B Code Instruct R1.10K / 40 GB801

Rank the Granite 20B 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? 40013 in total.

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