Downloads · 30 days
0
AlanaSky/asimov3mini
asimov3mini is a machine learning model from AlanaSky. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A recursive, 3-agent AI cluster that follows Asimov's Three Laws:
Downloads · 30 days
0
Access
Public
Updated Aug 10, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py5.1 KB · 67%
From the Hugging Face model README
A recursive, 3-agent AI cluster that follows Asimov's Three Laws:
Powered by TinyLlama, ChromaDB, and recursive agent design.
🛠️ Built for Hugging Face Spaces or Vercel.
pip install -r requirements.txt
streamlit run app.py
---
#### 🔹 `agents/base.py`
```python
from transformers import pipeline
import torch
# Use TinyLlama - lightweight, fits CPU
llm = pipeline(
"text-generation",
model="TinyLlama/TinyLlama-1.1B-Chat-v1.0",
torch_dtype=torch.float32,
device_map="auto" if torch.cuda.is_available() else None,
max_new_tokens=256,
pad_token_id=2,
do_sample=True,
temperature=0.7
)