mirror of
https://github.com/zenlm/zen-docs.git
synced 2026-10-30 14:58:13 +00:00
- Fumadocs-based documentation similar to Lux consensus - 14 model documentation pages - Papers index with links to PDFs - Zen LM logo and branding - Dark mode support - GitHub Pages deployment workflow
32 lines
687 B
Plaintext
32 lines
687 B
Plaintext
---
|
|
title: zen-agent
|
|
description: Tool-calling agent (4B)
|
|
---
|
|
|
|
# zen-agent
|
|
|
|
Tool-calling agent (4B)
|
|
|
|
## Overview
|
|
|
|
[Model documentation coming from existing content]
|
|
|
|
## Quick Start
|
|
|
|
```python
|
|
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
|
model = AutoModelForCausalLM.from_pretrained("zenlm/zen-agent")
|
|
tokenizer = AutoTokenizer.from_pretrained("zenlm/zen-agent")
|
|
|
|
inputs = tokenizer("Your prompt", return_tensors="pt")
|
|
outputs = model.generate(**inputs)
|
|
print(tokenizer.decode(outputs[0]))
|
|
```
|
|
|
|
## Resources
|
|
|
|
- 🤗 [HuggingFace](https://huggingface.co/zenlm/zen-agent)
|
|
- 📦 [GitHub](https://github.com/zenlm/zen-agent)
|
|
- 📄 [Paper](/papers/zen-agent_whitepaper.pdf)
|