rmtariq commited on
Commit
5799998
·
verified ·
1 Parent(s): bd65ec3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +55 -1
README.md CHANGED
@@ -5,7 +5,61 @@ tags: []
5
 
6
  # Model Card for Model ID
7
 
8
- <!-- Provide a quick summary of what the model is/does. -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
 
11
 
 
5
 
6
  # Model Card for Model ID
7
 
8
+ ---
9
+ language: ms
10
+ license: mit
11
+ tags:
12
+ - text-classification
13
+ - malay
14
+ - fine-tuned
15
+ - transformers
16
+ - bert
17
+ - multi-class
18
+ datasets:
19
+ - custom
20
+ model-index:
21
+ - name: malay_classification
22
+ results: []
23
+ ---
24
+
25
+ # 🇲🇾 Malay News Classification Model
26
+
27
+ This is a fine-tuned `rmtariq/ft-Malay-bert` model built to classify **Malay news headlines** into 7 topics:
28
+
29
+ - `bisnes`
30
+ - `dunia`
31
+ - `hiburan`
32
+ - `jenayah`
33
+ - `kemalangan`
34
+ - `politik`
35
+ - `semasa`
36
+
37
+ ## 📊 Dataset
38
+
39
+ Fine-tuned on a custom dataset with ~3,000 news headlines labeled by topic.
40
+
41
+ | Label | Examples |
42
+ |--------------|----------|
43
+ | bisnes | ✔️ sufficient |
44
+ | dunia | ⚠️ very few |
45
+ | hiburan | ⚠️ very few |
46
+ | jenayah | ✔️ good |
47
+ | kemalangan | ⚠️ very few |
48
+ | politik | ✔️ good |
49
+ | semasa | ✔️ good |
50
+
51
+ ## 🧠 Base Model
52
+
53
+ Fine-tuned from [`rmtariq/ft-Malay-bert`](https://huggingface.co/rmtariq/ft-Malay-bert), originally trained for sentiment analysis on Malay text.
54
+
55
+ ## 🧪 Example Inference
56
+
57
+ ```python
58
+ from transformers import pipeline
59
+
60
+ clf = pipeline("text-classification", model="rmtariq/malay_classification")
61
+ clf("Kerajaan akan memperkenalkan cukai khas minyak sawit mentah")
62
+
63
 
64
 
65