Downloads · 30 days
6
16% of all-time downloads
StarryXCN/bert-chinese-lora-sentiment
bert-chinese-lora-sentiment is a text classification model from StarryXCN. Use it when you need a label for a piece of text. It is set up for peft.
基于 bert-base-chinese + LoRA 训练的二分类情感分析模型(好评-1/差评-0)
Downloads · 30 days
6
16% of all-time downloads
All-time downloads
37
Public
Repo size
1.8 MB
Likes
1
Public
Click a slice to open those files.
.safetensors1.8 MB · 80%
From the Hugging Face model README
基于 bert-base-chinese + LoRA 训练的二分类情感分析模型(好评->1/差评->0)
from peft import PeftModel
model = PeftModel.from_pretrained(base_model, "StarryXCN/bert-chinese-lora-sentiment")