fariasultana/MiniMind-API
0
๐ง MiniMind Max2 API
Tiny Model, Powerful Experience - An efficient language model API with FastAPI backend.
Features
- Mixture of Experts (MoE): Only 25% of parameters activated per token
- Grouped Query Attention: 4:1 ratio for memory efficiency
- FastAPI Backend: RESTful API with automatic docs
- Gradio Interface: Interactive UI for testing
API Endpoints
Example Usage
import requests
response = requests.post(
"https://your-space.hf.space/generate",
json={
"prompt": "Once upon a time",
"max_new_tokens": 100,
"temperature": 0.8
}
)
print(response.json()["generated_text"])Model Variants
License
Apache 2.0
