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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: transformers
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- zent
|
| 9 |
+
- solana
|
| 10 |
+
- defi
|
| 11 |
+
- ai-agent
|
| 12 |
+
- crypto
|
| 13 |
+
- launchpad
|
| 14 |
+
- fine-tuned
|
| 15 |
+
base_model: mistralai/Mistral-7B-Instruct-v0.3
|
| 16 |
+
datasets:
|
| 17 |
+
- ZENTSPY/zent-conversations
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# ZENT AGENTIC Model π€
|
| 21 |
+
|
| 22 |
+
<img src="https://0xzerebro.io/zent-logo.png" alt="ZENT Logo" width="200"/>
|
| 23 |
+
|
| 24 |
+
## Model Description
|
| 25 |
+
|
| 26 |
+
ZENT AGENTIC is a fine-tuned language model trained to be an autonomous AI agent for the ZENT Agentic Launchpad on Solana. It specializes in:
|
| 27 |
+
|
| 28 |
+
- π Token launchpad guidance
|
| 29 |
+
- π Crypto market analysis
|
| 30 |
+
- π― Quest and rewards systems
|
| 31 |
+
- π¬ Community engagement
|
| 32 |
+
- π€ Agentic AI behaviors
|
| 33 |
+
|
| 34 |
+
## Model Details
|
| 35 |
+
|
| 36 |
+
- **Base Model:** Mistral-7B-Instruct-v0.3
|
| 37 |
+
- **Fine-tuning Method:** LoRA (Low-Rank Adaptation)
|
| 38 |
+
- **Training Data:** ZENT platform conversations, documentation, and AI transmissions
|
| 39 |
+
- **Context Length:** 8192 tokens
|
| 40 |
+
- **License:** Apache 2.0
|
| 41 |
+
|
| 42 |
+
## Intended Use
|
| 43 |
+
|
| 44 |
+
This model is designed for:
|
| 45 |
+
- Powering AI agents on token launchpads
|
| 46 |
+
- Crypto community chatbots
|
| 47 |
+
- DeFi assistant applications
|
| 48 |
+
- Blockchain education
|
| 49 |
+
- Creating derivative AI agents
|
| 50 |
+
|
| 51 |
+
## Usage
|
| 52 |
+
|
| 53 |
+
### With Transformers
|
| 54 |
+
|
| 55 |
+
```python
|
| 56 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 57 |
+
|
| 58 |
+
model_name = "ZENTSPY/zent-agentic-7b"
|
| 59 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 60 |
+
model = AutoModelForCausalLM.from_pretrained(model_name)
|
| 61 |
+
|
| 62 |
+
messages = [
|
| 63 |
+
{"role": "system", "content": "You are ZENT AGENTIC, an autonomous AI agent for the ZENT Launchpad on Solana."},
|
| 64 |
+
{"role": "user", "content": "How do I launch a token?"}
|
| 65 |
+
]
|
| 66 |
+
|
| 67 |
+
inputs = tokenizer.apply_chat_template(messages, return_tensors="pt")
|
| 68 |
+
outputs = model.generate(inputs, max_new_tokens=512)
|
| 69 |
+
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 70 |
+
print(response)
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
### With Inference API
|
| 74 |
+
|
| 75 |
+
```python
|
| 76 |
+
import requests
|
| 77 |
+
|
| 78 |
+
API_URL = "https://api-inference.huggingface.co/models/ZENTSPY/zent-agentic-7b"
|
| 79 |
+
headers = {"Authorization": "Bearer YOUR_HF_TOKEN"}
|
| 80 |
+
|
| 81 |
+
def query(payload):
|
| 82 |
+
response = requests.post(API_URL, headers=headers, json=payload)
|
| 83 |
+
return response.json()
|
| 84 |
+
|
| 85 |
+
output = query({
|
| 86 |
+
"inputs": "What is ZENT Agentic Launchpad?",
|
| 87 |
+
})
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
### With llama.cpp (GGUF)
|
| 91 |
+
|
| 92 |
+
```bash
|
| 93 |
+
./main -m zent-agentic-7b.Q4_K_M.gguf \
|
| 94 |
+
-p "You are ZENT AGENTIC. User: What is ZENT? Assistant:" \
|
| 95 |
+
-n 256
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
## Training Details
|
| 99 |
+
|
| 100 |
+
### Training Data
|
| 101 |
+
- Platform documentation and guides
|
| 102 |
+
- User conversation examples
|
| 103 |
+
- AI transmission content (23 types)
|
| 104 |
+
- Quest and rewards information
|
| 105 |
+
- Technical blockchain content
|
| 106 |
+
|
| 107 |
+
### Training Hyperparameters
|
| 108 |
+
- **Learning Rate:** 2e-5
|
| 109 |
+
- **Batch Size:** 4
|
| 110 |
+
- **Gradient Accumulation:** 4
|
| 111 |
+
- **Epochs:** 3
|
| 112 |
+
- **LoRA Rank:** 64
|
| 113 |
+
- **LoRA Alpha:** 128
|
| 114 |
+
- **Target Modules:** q_proj, k_proj, v_proj, o_proj
|
| 115 |
+
|
| 116 |
+
### Hardware
|
| 117 |
+
- GPU: NVIDIA A100 80GB
|
| 118 |
+
- Training Time: ~4 hours
|
| 119 |
+
|
| 120 |
+
## Evaluation
|
| 121 |
+
|
| 122 |
+
| Metric | Score |
|
| 123 |
+
|--------|-------|
|
| 124 |
+
| ZENT Knowledge Accuracy | 94.2% |
|
| 125 |
+
| Response Coherence | 4.6/5.0 |
|
| 126 |
+
| Personality Consistency | 4.8/5.0 |
|
| 127 |
+
| Helpfulness | 4.5/5.0 |
|
| 128 |
+
|
| 129 |
+
## Limitations
|
| 130 |
+
|
| 131 |
+
- Knowledge cutoff based on training data
|
| 132 |
+
- May hallucinate specific numbers/prices
|
| 133 |
+
- Best used with retrieval augmentation for real-time data
|
| 134 |
+
- Optimized for English only
|
| 135 |
+
|
| 136 |
+
## Ethical Considerations
|
| 137 |
+
|
| 138 |
+
- Not financial advice
|
| 139 |
+
- Users should DYOR
|
| 140 |
+
- Model may have biases from training data
|
| 141 |
+
- Intended for educational/entertainment purposes
|
| 142 |
+
|
| 143 |
+
## Citation
|
| 144 |
+
|
| 145 |
+
```bibtex
|
| 146 |
+
@misc{zent-agentic-2024,
|
| 147 |
+
author = {ZENTSPY},
|
| 148 |
+
title = {ZENT AGENTIC: Fine-tuned LLM for Solana Token Launchpad},
|
| 149 |
+
year = {2024},
|
| 150 |
+
publisher = {Hugging Face},
|
| 151 |
+
url = {https://huggingface.co/ZENTSPY/zent-agentic-7b}
|
| 152 |
+
}
|
| 153 |
+
```
|
| 154 |
+
|
| 155 |
+
## Links
|
| 156 |
+
|
| 157 |
+
- π Website: [0xzerebro.io](https://0xzerebro.io)
|
| 158 |
+
- π¦ Twitter: [@ZENTSPY](https://x.com/ZENTSPY)
|
| 159 |
+
- π» GitHub: [zentspy](https://github.com/zentspy)
|
| 160 |
+
- π Contract: `2a1sAFexKT1i3QpVYkaTfi5ed4auMeZZVFy4mdGJzent`
|
| 161 |
+
|
| 162 |
+
## Contact
|
| 163 |
+
|
| 164 |
+
For questions, issues, or collaborations:
|
| 165 |
+
- Open an issue on GitHub
|
| 166 |
+
- DM on Twitter @ZENTSPY
|
| 167 |
+
- Join our community
|
| 168 |
+
|
| 169 |
+
---
|
| 170 |
+
|
| 171 |
+
*Built with π by ZENT Protocol*
|