Instructions to use AkiPolaris777/live2d-expression-model-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AkiPolaris777/live2d-expression-model-lora with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AkiPolaris777/live2d-expression-model-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
AG99Live Qwen3.5-2B LoRA 模型
这是一个用于 AG99Live 连续 Live2D/VTS 动作生成的 Qwen3.5-2B LoRA 适配器。模型根据语音转写文本和上下文,生成连续的角色动作 JSON。
基础模型和训练信息
- 基础模型:
Qwen/Qwen3.5-2B-Base - 微调方式:LoRA
- LoRA rank:16
- LoRA alpha:32
- 训练数据:929 条
- 训练轮数:3
- 最终训练 loss:0.4916
输入协议
{
"segment": {
"actions": [],
"speech": "嗯暴雷在外面",
"tendency": {}
},
"user": ""
}
segment.speech 是当前语音转写文本。segment.actions 和 segment.tendency 可以为空。user 用于传递额外上下文。
输出协议
模型只返回两个字段:
{
"duration_hint_ms": 1200,
"motion_steps": [
{
"axis_values": {
"head_yaw": 58.8,
"body_yaw": 60.1,
"eye_smile_left": 84.1,
"eye_smile_right": 84.1,
"mouth_smile": 68.1
},
"duration_weight": 1
}
]
}
motion_steps 是按播放顺序排列的连续动作步骤。每一步包含具体数值形式的 axis_values 和 1 到 3 的整数 duration_weight。duration_hint_ms 的范围是 320 到 15000 毫秒。
动作步骤应保持稀疏,只填写当前步骤开始或发生变化的动作轴。有效动作轴 ID 和数值范围以 AG99Live 能力定义为准。
当前动作轴
head_yaw, head_pitch, head_roll,
body_yaw, body_pitch, body_roll,
gaze_x, gaze_y,
eye_open_left, eye_open_right,
eye_smile_left, eye_smile_right,
mouth_smile, mouth_x, brow_bias
使用方式
使用 Transformers 和 PEFT 加载本适配器,同时加载 Qwen/Qwen3.5-2B-Base。调用方需要提供 AG99Live 系统提示词和结构化输出约束。
本仓库不包含训练数据。
许可证和归属
本模型是基于 Qwen/Qwen3.5-2B-Base 的 AG99Live 微调衍生模型。基础模型使用 Apache License 2.0,详见 LICENSE 和 NOTICE。Qwen 和阿里云不代表或背书本项目。
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for AkiPolaris777/live2d-expression-model-lora
Base model
Qwen/Qwen3.5-2B-Base