Update README.md
Browse files
README.md
CHANGED
@@ -1,18 +1,17 @@
|
|
1 |
---
|
2 |
language:
|
3 |
-
- "List of ISO 639-1 code for your language"
|
4 |
- tw
|
5 |
-
- zh
|
6 |
tags:
|
7 |
- albert
|
8 |
- classification
|
9 |
license: afl-3.0
|
10 |
-
datasets:
|
11 |
-
- None
|
12 |
metrics:
|
13 |
- Accuracy
|
14 |
---
|
15 |
|
|
|
|
|
|
|
16 |
|
17 |
from transformers import BertTokenizer, AlbertForSequenceClassification
|
18 |
model_path = "clhuang/albert-news-classification"
|
|
|
1 |
---
|
2 |
language:
|
|
|
3 |
- tw
|
|
|
4 |
tags:
|
5 |
- albert
|
6 |
- classification
|
7 |
license: afl-3.0
|
|
|
|
|
8 |
metrics:
|
9 |
- Accuracy
|
10 |
---
|
11 |
|
12 |
+
# Traditional Chinese news classification
|
13 |
+
|
14 |
+
繁體中文新聞分類任務,使用ckiplab/albert-base-chinese預訓練模型,資料集只有2.6萬筆,做為課程的範例模型。
|
15 |
|
16 |
from transformers import BertTokenizer, AlbertForSequenceClassification
|
17 |
model_path = "clhuang/albert-news-classification"
|