Downloads · 30 days
0
BorderColliePhilo/mental_helper
mental_helper is a machine learning model from BorderColliePhilo. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
0
Access
Public
Updated May 27, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py7.4 KB · 75%
From the Hugging Face model README
这是心理支持 MVP 的 NLP 后端。
接口:
GET /
GET /health
POST /analyze
POST 示例:
{
"text": "我最近很焦虑,总觉得自己会失败",
"mood": 7
}
如果没有设置 MODEL_REPO,后端会使用规则 fallback。
如果你有训练好的 BERT 分类模型,可以在 Space Settings 里添加变量:
MODEL_REPO=你的用户名/你的模型仓库名
然后重启 Space。