organ-store/README.md
2026-02-25 00:53:36 +00:00

46 lines
1.3 KiB
Markdown

# Organ Store
*Part of the Inference-X Ecosystem*
[![License: BSL-1.1](https://img.shields.io/badge/License-BSL_1.1-orange.svg)](LICENSE)
**Extract, share and transplant AI model components.**
Neural networks have anatomy: attention heads, FFN blocks, expert layers, embeddings.
The Organ Store is the community marketplace for these components.
```
Source Model → Extract Organ → Publish → Transplant into Target
🧠 ⚗️ 📦 💉
```
## Deploy
```bash
pip install fastapi uvicorn
python organ_store.py
# → API at http://localhost:7939
```
## Organ Types
| Type | Description |
|------|-------------|
| `attention_head` | Specialized attention mechanisms |
| `ffn_block` | Feed-forward network layers |
| `expert_block` | MoE expert blocks (Mixtral, DeepSeek) |
| `embedding` | Domain-specific embedding layers |
| `lm_head` | Language model heads |
| `custom` | Any other component |
## API
```
GET /catalog — Browse organs (filter by type)
POST /publish — Publish organ to community
GET /organ/{id} — Get organ details + download
GET /health — Service status
```
Built in Morocco for the world. 🇲🇦
## License
[Business Source License 1.1](LICENSE)
**Author:** Salka Elmadani