Update README.md
Browse files
README.md
CHANGED
@@ -1,18 +1,19 @@
|
|
1 |
-
|
2 |
language:
|
3 |
- "List of ISO 639-1 code for your language"
|
4 |
- tw
|
5 |
- zh
|
6 |
-
thumbnail: "url to a thumbnail used in social sharing"
|
7 |
tags:
|
8 |
- albert
|
9 |
- classification
|
10 |
-
license:
|
11 |
datasets:
|
12 |
- None
|
13 |
metrics:
|
14 |
- Accuracy
|
15 |
-
|
|
|
|
|
16 |
from transformers import BertTokenizer, AlbertForSequenceClassification
|
17 |
model_path = "clhuang/albert-news-classification"
|
18 |
model = AlbertForSequenceClassification.from_pretrained(model_path)
|
|
|
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"
|
19 |
model = AlbertForSequenceClassification.from_pretrained(model_path)
|