mwz commited on
Commit
4b6e9f3
1 Parent(s): 1bd5a5d

End of training

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - ur
4
+ license: mit
5
+ base_model: urduhack/roberta-urdu-small
6
+ tags:
7
+ - ur
8
+ - generated_from_trainer
9
+ datasets:
10
+ - mwz/ur_financial_phrasebank
11
+ model-index:
12
+ - name: Urdu Sentiment Classification
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # Urdu Sentiment Classification
20
+
21
+ This model is a fine-tuned version of [urduhack/roberta-urdu-small](https://huggingface.co/urduhack/roberta-urdu-small) on the financial_phrasebank dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.5088
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - lr_scheduler_warmup_steps: 500
49
+ - num_epochs: 10
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss |
54
+ |:-------------:|:-----:|:----:|:---------------:|
55
+ | 0.1051 | 1.96 | 500 | 0.6554 |
56
+ | 0.1383 | 3.92 | 1000 | 0.5446 |
57
+ | 0.0725 | 5.88 | 1500 | 0.4635 |
58
+ | 0.0187 | 7.84 | 2000 | 0.4727 |
59
+ | 0.0012 | 9.8 | 2500 | 0.5088 |
60
+
61
+
62
+ ### Framework versions
63
+
64
+ - Transformers 4.35.2
65
+ - Pytorch 2.1.0+cu118
66
+ - Datasets 2.15.0
67
+ - Tokenizers 0.15.0
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "urduhack/roberta-urdu-small",
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": 0,
16
+ "1": 1,
17
+ "2": 2
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "layer_norm_eps": 1e-05,
22
+ "max_position_embeddings": 514,
23
+ "model_type": "roberta",
24
+ "num_attention_heads": 12,
25
+ "num_hidden_layers": 12,
26
+ "pad_token_id": 1,
27
+ "position_embedding_type": "absolute",
28
+ "problem_type": "single_label_classification",
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.35.2",
31
+ "type_vocab_size": 1,
32
+ "use_cache": true,
33
+ "vocab_size": 52000
34
+ }
logs/events.out.tfevents.1700726967.2a6654fd4469.564.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfdd5e721b8f907fd38ec999add2fd56637077e5a3f2e332870b572c6d0f8b5e
3
+ size 5495
logs/events.out.tfevents.1700727403.2a6654fd4469.564.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:325e1eed172763dbaaebd0677060eb27d7d9a0506288735cb245908d5d274534
3
+ size 6871
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:769db1435742394dd41e3be932516e7b430cafc9084bca57292903545b0867c3
3
+ size 503945820
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ea62067c06f8769e9176926cb6a3e98afbb95345e7220e33fb19edf4b8260df
3
+ size 4600