Download step4_integrate.py from SetMD/beastbullet-experts: direct link, hf CLI and curl.
- Browser
- Download file 517 Bytes
-
https://huggingface.co/SetMD/beastbullet-experts/resolve/main/step4_integrate.py
- Command line
-
hf download hf://SetMD/beastbullet-experts/step4_integrate.py
-
curl -L -o step4_integrate.py https://huggingface.co/SetMD/beastbullet-experts/resolve/main/step4_integrate.py
517 Bytes
| #!/usr/bin/env python3 | |
| """ | |
| Step 4: Integrate with TinyLlama | |
| Following instructions from https://potatobullet.com/beastbullet-project/ | |
| """ | |
| import sys | |
| sys.path.insert(0, 'code') | |
| from integration_example import TinyLlamaIntegration, ExpertLoader | |
| # Load all 18 experts | |
| loader = ExpertLoader("experts/") | |
| loader.load_encoder() | |
| loader.load_all_experts() | |
| # Create TinyLlama integration | |
| integration = TinyLlamaIntegration( | |
| experts=loader.experts, | |
| encoder=loader.encoder | |
| ) | |
| print("✅ TinyLlama integration ready") | |