Projects
Collection
Projects I've worked on (or contributed to) • 23 items • Updated • 11
# Install SGLang from pip:
pip install sglang# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "mrfakename/EmoAct-MiMo" \
--host 0.0.0.0 \
--port 30000# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "mrfakename/EmoAct-MiMo",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'docker run --gpus all \
--shm-size 32g \
-p 30000:30000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=<secret>" \
--ipc=host \
lmsysorg/sglang:latest \
python3 -m sglang.launch_server \
--model-path "mrfakename/EmoAct-MiMo" \
--host 0.0.0.0 \
--port 30000# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "mrfakename/EmoAct-MiMo",
"prompt": "Once upon a time,",
"max_tokens": 512,
"temperature": 0.5
}'Huge thanks to Hugging Face for supporting the compute for this model!
Audio samples (thanks to Christoph from LAION for generating them):
Very early checkpoint, but it's a good model/finetune.
Base model: MiMo Audio
Prompt format:
Emotion: <emotion>
Text: <text>
Example:
Emotion: intense anger, rage, fury, hatred, and annoyance, speaking without any accent
Text: You know what? I'm done. I'm done with your excuses. (sharp exhale) Every single time, it's the same, and I actually believed you'd change. (voice cracks slightly) God, I'm such an idiot for trusting you again.
Training code (private): https://github.com/fakerybakery/mimo2
Voice cloning is not supported yet, coming soon.
Questions/feedback: DM realmrfakename on discord
Base model
XiaomiMiMo/MiMo-Audio-7B-Instruct
# Gated model: Login with a HF token with gated access permission hf auth login