LLM EXPLORER 60,384 MODELS INDEXED

Granite 20B Code Instruct by ibm-granite

By ibm-granite · 10209 downloads

Granite 20B Code Instruct is an open-source language model by ibm-granite. Features: 20b LLM, VRAM: 40GB, License: apache-2.0, Instruction-Based, Code Generating, LLM Explorer Score: 0.16.

  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 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 GB975443
Granite 20B Code Instruct R1.10K / 40 GB371
Note: green Score (e.g. "73.2") means that the model is better than ibm-granite/granite-20b-code-instruct.