Update README.md
Browse files
README.md
CHANGED
@@ -5,8 +5,17 @@ tags:
|
|
5 |
- bert
|
6 |
- sentiment-analysis
|
7 |
- chinese
|
|
|
|
|
8 |
datasets:
|
9 |
- custom
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
# 中文情感分析模型
|
@@ -48,4 +57,4 @@ with torch.no_grad():
|
|
48 |
|
49 |
# 顯示所有類別的分數
|
50 |
for i, label in enumerate(label_names):
|
51 |
-
print(f"{label} 分數: {predictions[0][i].item():.4f}")
|
|
|
5 |
- bert
|
6 |
- sentiment-analysis
|
7 |
- chinese
|
8 |
+
- customer feedback
|
9 |
+
- app reviews
|
10 |
datasets:
|
11 |
- custom
|
12 |
+
metrics:
|
13 |
+
- accuracy
|
14 |
+
- f1
|
15 |
+
base_model:
|
16 |
+
- google-bert/bert-base-chinese
|
17 |
+
pipeline_tag: text-classification
|
18 |
+
library_name: transformers
|
19 |
---
|
20 |
|
21 |
# 中文情感分析模型
|
|
|
57 |
|
58 |
# 顯示所有類別的分數
|
59 |
for i, label in enumerate(label_names):
|
60 |
+
print(f"{label} 分數: {predictions[0][i].item():.4f}")
|