huseinzol05 commited on
Commit
04ca4a9
1 Parent(s): 19955f3

Upload MistralForSequenceClassification

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. config.json +8 -8
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
- library_name: transformers
3
  language:
4
  - ms
 
5
  ---
6
 
7
  Sentiment Analysis Model for Malay Text finetuned from https://huggingface.co/mesolitica/malaysian-mistral-191M-MLM-512
 
1
  ---
 
2
  language:
3
  - ms
4
+ library_name: transformers
5
  ---
6
 
7
  Sentiment Analysis Model for Malay Text finetuned from https://huggingface.co/mesolitica/malaysian-mistral-191M-MLM-512
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "small",
3
  "architectures": [
4
  "MistralForSequenceClassification"
5
  ],
@@ -12,16 +12,16 @@
12
  "hidden_act": "silu",
13
  "hidden_size": 768,
14
  "id2label": {
15
- "0": "LABEL_0",
16
- "1": "LABEL_1",
17
- "2": "LABEL_2"
18
  },
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
  "label2id": {
22
- "LABEL_0": 0,
23
- "LABEL_1": 1,
24
- "LABEL_2": 2
25
  },
26
  "max_position_embeddings": 4096,
27
  "model_type": "mistral",
@@ -35,7 +35,7 @@
35
  "sliding_window": 4096,
36
  "tie_word_embeddings": false,
37
  "torch_dtype": "float32",
38
- "transformers_version": "4.40.1",
39
  "use_cache": true,
40
  "vocab": {
41
  "0": "negative",
 
1
  {
2
+ "_name_or_path": "malaysia-ai/sentiment-mistral-191M-MLM",
3
  "architectures": [
4
  "MistralForSequenceClassification"
5
  ],
 
12
  "hidden_act": "silu",
13
  "hidden_size": 768,
14
  "id2label": {
15
+ "0": "negative",
16
+ "1": "neutral",
17
+ "2": "positive"
18
  },
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
  "label2id": {
22
+ "negative": 0,
23
+ "neutral": 1,
24
+ "positive": 2
25
  },
26
  "max_position_embeddings": 4096,
27
  "model_type": "mistral",
 
35
  "sliding_window": 4096,
36
  "tie_word_embeddings": false,
37
  "torch_dtype": "float32",
38
+ "transformers_version": "4.41.2",
39
  "use_cache": true,
40
  "vocab": {
41
  "0": "negative",