Granite 8B Code Base 4K by ibm-granite

 ยป  All LLMs  ยป  ibm-granite  ยป  Granite 8B Code Base 4K   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 8B Code Base 4K 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 Base 4K (ibm-granite/granite-8b-code-base-4k)

Granite 8B Code Base 4K Parameters and Internals

Model Type 
text generation
Use Cases 
Applications:
Code generation, Code explanation, Code fixing, Unit tests, Documentation, Technical debt issues, Vulnerability detection, Code translation
Limitations:
Model not safety aligned, potential for problematic outputs
Training Details 
Data Sources:
codeparrot/github-code-clean, bigcode/starcoderdata
Data Volume:
4 trillion tokens in phase 1, 500 billion tokens in phase 2
Methodology:
Two-phase training strategy with deduplication, HAP, PII, and malware filtering
Hardware Used:
NVIDIA A100 GPUs, NVIDIA H100 GPUs
Model Architecture:
Decoder-only model
Safety Evaluation 
Ethical Considerations:
Use with ethical intentions and responsibly, model not safety-aligned, potential for problematic outputs.
LLM NameGranite 8B Code Base 4K
Repository ๐Ÿค—https://huggingface.co/ibm-granite/granite-8b-code-base-4k 
Model Size8b
Required VRAM16.2 GB
Updated2025-02-22
Maintaineribm-granite
Model Typellama
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 Base 4K

Best Alternatives
Context / RAM
Downloads
Likes
...a 3 8B Instruct Gradient 1048K1024K / 16.1 GB3927680
MrRoboto ProLong 8B V4i1024K / 16.1 GB661
...o ProLongBASE Pt8 Unaligned 8B1024K / 16.1 GB240
MrRoboto BASE V2 Unholy 8B 64K1024K / 16.1 GB271
Mpasila Viking 8B1024K / 16.1 GB840
Thor V1.4 8B DARK FICTION1024K / 16.1 GB9412
41024K / 16.1 GB3220
Hel V2 8B DARK FICTION1024K / 16.1 GB220
161024K / 16.1 GB1690
...di95 LewdStorytellerMix 8B 64K1024K / 16.1 GB692
Note: green Score (e.g. "73.2") means that the model is better than ibm-granite/granite-8b-code-base-4k.

Rank the Granite 8B Code Base 4K 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