tasal9 commited on
Commit
e7066a8
·
verified ·
1 Parent(s): 0abe885

Upload RobertaForSequenceClassification

Browse files
Files changed (3) hide show
  1. README.md +6 -6
  2. config.json +37 -17
  3. model.safetensors +3 -0
README.md CHANGED
@@ -17,12 +17,12 @@ metrics:
17
  - perplexity
18
  - bleu
19
  widget:
20
- - text: "سلام دې وي! تاسو څنګه یاست؟"
21
- example_title: "Pashto Greeting"
22
- - text: "د افغانستان د تاریخ په اړه راته ووایه"
23
- example_title: "Afghanistan History"
24
- - text: "Hello, how can I help you today?"
25
- example_title: "English Greeting"
26
  ---
27
 
28
  # ZamAI-Sentiment-Pashto
 
17
  - perplexity
18
  - bleu
19
  widget:
20
+ - text: سلام دې وي! تاسو څنګه یاست؟
21
+ example_title: Pashto Greeting
22
+ - text: د افغانستان د تاریخ په اړه راته ووایه
23
+ example_title: Afghanistan History
24
+ - text: Hello, how can I help you today?
25
+ example_title: English Greeting
26
  ---
27
 
28
  # ZamAI-Sentiment-Pashto
config.json CHANGED
@@ -1,17 +1,37 @@
1
- {
2
- "architectures": [
3
- "RobertaForSequenceClassification"
4
- ],
5
- "model_type": "roberta",
6
- "num_labels": 3,
7
- "id2label": {
8
- "0": "NEGATIVE",
9
- "1": "NEUTRAL",
10
- "2": "POSITIVE"
11
- },
12
- "label2id": {
13
- "NEGATIVE": 0,
14
- "NEUTRAL": 1,
15
- "POSITIVE": 2
16
- }
17
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RobertaForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "eos_token_id": 2,
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "negative",
15
+ "1": "neutral",
16
+ "2": "positive"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "negative": 0,
22
+ "neutral": 1,
23
+ "positive": 2
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.54.1",
34
+ "type_vocab_size": 1,
35
+ "use_cache": true,
36
+ "vocab_size": 50265
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0eca4cde0bf5067aab6c5d90b3977775560a7a352586470eaa32a881f0173d7c
3
+ size 498615900