Granite 3B Code Base by ibm-granite

 ยป  All LLMs  ยป  ibm-granite  ยป  Granite 3B Code Base   URL Share it on

  Arxiv:2405.04324   Autotrain compatible   Code   Dataset:bigcode/starcoderdata Dataset:codeparrot/github-code...   Dataset:math-ai/stackmathqa Dataset:open-web-math/open-web...   Granite   Llama   Model-index   Region:us   Safetensors   Sharded   Tensorflow

Granite 3B Code Base 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 Base (ibm-granite/granite-3b-code-base)

Granite 3B Code Base Parameters and Internals

Model Type 
decoder-only, text generation
Use Cases 
Areas:
software engineering productivity
Applications:
code generation, code explanation, code fixing, generating unit tests, generating documentation, addressing technical debt issues, vulnerability detection, code translation
Limitations:
Generated code is not guaranteed to work as intended., Has not undergone any safety alignment.
Considerations:
Caution against complete reliance for crucial decisions.
Additional Notes 
The model is trained from scratch with a two-phase training strategy.
Supported Languages 
proficiency (unknown), languages_supported (116 programming languages)
Training Details 
Data Sources:
codeparrot/github-code-clean, bigcode/starcoderdata
Methodology:
Two-phase training strategy
Hardware Used:
IBM's super computing clusters, namely Vela and Blue Vela, outfitted with NVIDIA A100 and H100 GPUs
Model Architecture:
Decoder-only
Responsible Ai Considerations 
Mitigation Strategies:
HAP, PII, Malware Filtering and deduplication strategies to reduce risks.
LLM NameGranite 3B Code Base
Repository ๐Ÿค—https://huggingface.co/ibm-granite/granite-3b-code-base 
Model Size3b
Required VRAM7 GB
Updated2024-09-01
Maintaineribm-granite
Model Typellama
Model Files  5.0 GB: 1-of-2   2.0 GB: 2-of-2
Model ArchitectureLlamaForCausalLM
Licenseapache-2.0
Context Length2048
Model Max Length2048
Transformers Version4.41.0.dev0
Tokenizer ClassGPT2Tokenizer
Padding Token<|endoftext|>
Vocabulary Size49152
Torch Data Typebfloat16

Quantized Models of the Granite 3B Code Base

Model
Likes
Downloads
VRAM
Granite 3B Code Instruct GGUF11051091 GB

Best Alternatives to Granite 3B Code Base

Best Alternatives
Context / RAM
Downloads
Likes
ISA 03 Mini 3B Hybrid Preview256K / 6.5 GB14683
Llama 3.2 3B Instruct128K / 6.5 GB14562511374
Llama 3.2 3B128K / 6.5 GB674236552
Cogito V1 Preview Llama 3B128K / 7.2 GB726392
Hermes 3 Llama 3.2 3B128K / 6.5 GB11826151
DeepSeek R1 Distill Llama 3B128K / 6.5 GB71111
Orpheus 3B 0.1 Ft128K / 6.6 GB82932
Calme 3.1 Llamaloi 3B128K / 10.6 GB30201
Llama 3.2 3B RP Toxic Fuse128K / 6.4 GB152
Zeitgeist 3B V1128K / 6.5 GB1055
Note: green Score (e.g. "73.2") means that the model is better than ibm-granite/granite-3b-code-base.

Rank the Granite 3B Code Base 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? 46677 in total.

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