tadiecool29 commited on
Commit
3ef39d5
·
verified ·
1 Parent(s): 0ad3203

tadiecool29/afriberta-stl-base-sentiment

Browse files
Files changed (5) hide show
  1. README.md +70 -0
  2. model.safetensors +3 -0
  3. tokenizer.json +0 -0
  4. tokenizer_config.json +21 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: castorini/afriberta_base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - f1
8
+ model-index:
9
+ - name: afriberta-stl-base-sentiment
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # afriberta-stl-base-sentiment
17
+
18
+ This model is a fine-tuned version of [castorini/afriberta_base](https://huggingface.co/castorini/afriberta_base) on the None dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.8213
21
+ - Sentiment Precision: 0.7191
22
+ - Sentiment Recall: 0.7099
23
+ - F1: 0.7111
24
+ - Sentiment Acc: 0.7161
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 1e-05
44
+ - train_batch_size: 16
45
+ - eval_batch_size: 32
46
+ - seed: 42
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: cosine
49
+ - lr_scheduler_warmup_steps: 300
50
+ - num_epochs: 6
51
+ - mixed_precision_training: Native AMP
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Sentiment Precision | Sentiment Recall | F1 | Sentiment Acc |
56
+ |:-------------:|:-----:|:----:|:---------------:|:-------------------:|:----------------:|:------:|:-------------:|
57
+ | 0.7579 | 1.0 | 402 | 0.7556 | 0.6904 | 0.6818 | 0.6729 | 0.6845 |
58
+ | 0.6418 | 2.0 | 804 | 0.7293 | 0.6981 | 0.6946 | 0.6945 | 0.7032 |
59
+ | 0.4884 | 3.0 | 1206 | 0.7908 | 0.6974 | 0.6863 | 0.6763 | 0.6933 |
60
+ | 0.3494 | 4.0 | 1608 | 0.8595 | 0.7064 | 0.6959 | 0.6971 | 0.7032 |
61
+ | 0.3035 | 5.0 | 2010 | 0.9201 | 0.7120 | 0.7062 | 0.7074 | 0.7120 |
62
+ | 0.2468 | 6.0 | 2412 | 0.9231 | 0.7012 | 0.6990 | 0.6996 | 0.7057 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 5.15.0
68
+ - Pytorch 2.11.0+cu128
69
+ - Datasets 4.0.0
70
+ - Tokenizers 0.22.2
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5bbfae19f2610f41d53f7d61722f327cf6995820d668b0b4e9c5f56536676298
3
+ size 445846564
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<s>",
5
+ "cls_token": "<s>",
6
+ "eos_token": "</s>",
7
+ "extra_special_tokens": [
8
+ "<s>",
9
+ "<pad>",
10
+ "</s>"
11
+ ],
12
+ "is_local": false,
13
+ "local_files_only": false,
14
+ "mask_token": "<mask>",
15
+ "model_max_length": 1000000000000000019884624838656,
16
+ "pad_token": "<pad>",
17
+ "sep_token": "</s>",
18
+ "tokenizer_class": "XLMRobertaTokenizer",
19
+ "unk_id": 3,
20
+ "unk_token": "<unk>"
21
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eeebb73cd13c4ebd5ddbe50c9b85d60e6bb7c062b4ac73fce2f2f6d708ecee92
3
+ size 5265