Granite 8B Code Base by ibm-granite

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

Granite 8B Code Base is an open-source language model by ibm-granite. Features: 8b LLM, VRAM: 16.2GB, Context: 4K, License: apache-2.0, LLM Explorer Score: 0.16.

  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 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 (ibm-granite/granite-8b-code-base)
๐ŸŒŸ Advertise your project ๐Ÿš€

Granite 8B Code Base 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
Repository ๐Ÿค—https://huggingface.co/ibm-granite/granite-8b-code-base 
Model Size8b
Required VRAM16.2 GB
Updated2024-09-01
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

Quantized Models of the Granite 8B Code Base

Model
Likes
Downloads
VRAM
Granite 8B Code Instruct GGUF839433 GB
Granite 8B Code Base 8bit1168 GB
Granite 8B Code Instruct 8bit0188 GB
Granite 8B Code Instruct 4bit0134 GB

Best Alternatives to Granite 8B Code Base

Best Alternatives
Context / RAM
Downloads
Likes
...otron 8B UltraLong 4M Instruct4192K / 32.1 GB89119
...a 3.1 8B UltraLong 4M Instruct4192K / 32.1 GB17624
UltraLong Thinking4192K / 16.1 GB93
...a 3.1 8B UltraLong 2M Instruct2096K / 32.1 GB8759
...otron 8B UltraLong 2M Instruct2096K / 32.1 GB4017
Cthulhu 8B V1.41048K / 16.1 GB139
...otron 8B UltraLong 1M Instruct1048K / 32.1 GB344055
...a 3.1 8B UltraLong 1M Instruct1048K / 32.1 GB138729
...xis Bookwriter Llama3.1 8B Sft1048K / 16.1 GB124
Zero Llama 3.1 8B Beta61048K / 16.1 GB51
Note: green Score (e.g. "73.2") means that the model is better than ibm-granite/granite-8b-code-base.

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

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Check out Ag3ntum โ€” our secure, self-hosted AI agent for server management.
Release v20260328a