bhujith10 commited on
Commit
f00a94e
1 Parent(s): a775892

bhujith10/roberta-large-multi-class-classification-model

Browse files
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: mit
4
+ base_model: roberta-large
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: roberta-large-lora-multi-class-classification
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # roberta-large-lora-multi-class-classification
16
+
17
+ This model is a fine-tuned version of [roberta-large](https://huggingface.co/roberta-large) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.2042
20
+ - Micro f1: 0.7842
21
+ - Macro f1: 0.5733
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 0.0001
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 42
44
+ - gradient_accumulation_steps: 2
45
+ - total_train_batch_size: 16
46
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: constant
48
+ - lr_scheduler_warmup_ratio: 0.1
49
+ - num_epochs: 3
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Micro f1 | Macro f1 |
54
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:--------:|
55
+ | 0.4408 | 0.9995 | 1048 | 0.2138 | 0.7841 | 0.5624 |
56
+ | 0.448 | 2.0 | 2097 | 0.2127 | 0.7943 | 0.5788 |
57
+ | 0.446 | 2.9986 | 3144 | 0.2042 | 0.7842 | 0.5733 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - PEFT 0.13.2
63
+ - Transformers 4.46.0
64
+ - Pytorch 2.1.0+cu118
65
+ - Datasets 3.0.2
66
+ - Tokenizers 0.20.1
adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "roberta-large",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0.1,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": [
18
+ "classifier",
19
+ "score"
20
+ ],
21
+ "peft_type": "LORA",
22
+ "r": 2,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "value",
27
+ "query"
28
+ ],
29
+ "task_type": "SEQ_CLS",
30
+ "use_dora": false,
31
+ "use_rslora": false
32
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a110e78611b46c1c3238afd70c5341aff79c9cf5e21c254c038300af7ffb7d80
3
+ size 5023776
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3950e618c234189915e9bb0333e157746200c893b8eb038faa79326186fc3d8e
3
+ size 5304