|
|
--- |
|
|
license: apache-2.0 |
|
|
language: |
|
|
- en |
|
|
tags: |
|
|
- zen |
|
|
- zenlm |
|
|
- hanzo |
|
|
library_name: transformers |
|
|
--- |
|
|
|
|
|
# zen-coder |
|
|
|
|
|
Code generation and analysis models (4B to 480B) |
|
|
|
|
|
Part of the Zen LM family of models - democratizing AI while protecting our planet. |
|
|
|
|
|
## Model Description |
|
|
|
|
|
Code generation and analysis models (4B to 480B) |
|
|
|
|
|
This model is part of the Zen LM ecosystem, providing efficient, private, and environmentally responsible AI. |
|
|
|
|
|
## Why Zen LM? |
|
|
|
|
|
π **Ultra-Efficient** - Optimized for performance across diverse hardware |
|
|
π **Truly Private** - 100% local processing, no cloud required |
|
|
π± **Environmentally Responsible** - 95% less energy than cloud AI |
|
|
π **Free Forever** - Apache 2.0 licensed |
|
|
|
|
|
## Quick Start |
|
|
|
|
|
```python |
|
|
from transformers import AutoModelForCausalLM, AutoTokenizer |
|
|
|
|
|
model = AutoModelForCausalLM.from_pretrained("zenlm/zen-coder") |
|
|
tokenizer = AutoTokenizer.from_pretrained("zenlm/zen-coder") |
|
|
|
|
|
inputs = tokenizer("Your prompt here", return_tensors="pt") |
|
|
outputs = model.generate(**inputs) |
|
|
print(tokenizer.decode(outputs[0])) |
|
|
``` |
|
|
|
|
|
## Organizations |
|
|
|
|
|
**Hanzo AI Inc** - Techstars Portfolio β’ Award-winning GenAI lab β’ https://hanzo.ai |
|
|
**Zoo Labs Foundation** - 501(c)(3) Non-Profit β’ Environmental preservation β’ https://zoolabs.io |
|
|
|
|
|
## Contact |
|
|
|
|
|
π https://zenlm.org β’ π¬ https://discord.gg/hanzoai β’ π§ [email protected] |
|
|
|
|
|
## License |
|
|
|
|
|
Models: Apache 2.0 β’ Privacy: No data collection |
|
|
|