ming030890
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -2,12 +2,14 @@
|
|
2 |
license: apache-2.0
|
3 |
pipeline_tag: text-classification
|
4 |
language:
|
5 |
-
|
6 |
widget:
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
11 |
---
|
12 |
|
13 |
## Model Description
|
@@ -35,4 +37,4 @@ inputs = tokenizer(text, return_tensors="pt")
|
|
35 |
outputs = model(**inputs)
|
36 |
# 0 for Cantonese, 1 for Traditional Chinese
|
37 |
prediction = outputs.logits.argmax(-1).item()
|
38 |
-
```
|
|
|
2 |
license: apache-2.0
|
3 |
pipeline_tag: text-classification
|
4 |
language:
|
5 |
+
- yue
|
6 |
widget:
|
7 |
+
- text: 係唔係去食飯?
|
8 |
+
example_title: Cantonese
|
9 |
+
- text: 台灣真美!
|
10 |
+
example_title: Traditional Chinese
|
11 |
+
datasets:
|
12 |
+
- raptorkwok/cantonese-traditional-chinese-parallel-corpus
|
13 |
---
|
14 |
|
15 |
## Model Description
|
|
|
37 |
outputs = model(**inputs)
|
38 |
# 0 for Cantonese, 1 for Traditional Chinese
|
39 |
prediction = outputs.logits.argmax(-1).item()
|
40 |
+
```
|