nhankins commited on
Commit
9e67e9a
·
verified ·
1 Parent(s): b6a1bb5

nhankins/es_euph_classifier_1.0

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: FacebookAI/xlm-roberta-large
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ model-index:
10
+ - name: xlm-roberta-large-lora-text-classification
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # xlm-roberta-large-lora-text-classification
18
+
19
+ This model is a fine-tuned version of [FacebookAI/xlm-roberta-large](https://huggingface.co/FacebookAI/xlm-roberta-large) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.6343
22
+ - Precision: 0.6371
23
+ - Recall: 0.9958
24
+ - F1 and accuracy: {'accuracy': 0.6353887399463807, 'f1': 0.7770491803278688}
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: 4
45
+ - eval_batch_size: 4
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 10
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 and accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:----------------------------------------------------------:|
55
+ | No log | 1.0 | 372 | 0.6553 | 0.6381 | 1.0 | {'accuracy': 0.6380697050938338, 'f1': 0.779050736497545} |
56
+ | 0.6758 | 2.0 | 744 | 0.6534 | 0.6381 | 1.0 | {'accuracy': 0.6380697050938338, 'f1': 0.779050736497545} |
57
+ | 0.6765 | 3.0 | 1116 | 0.6518 | 0.6381 | 1.0 | {'accuracy': 0.6380697050938338, 'f1': 0.779050736497545} |
58
+ | 0.6765 | 4.0 | 1488 | 0.6519 | 0.6381 | 1.0 | {'accuracy': 0.6380697050938338, 'f1': 0.779050736497545} |
59
+ | 0.6722 | 5.0 | 1860 | 0.6470 | 0.6381 | 1.0 | {'accuracy': 0.6380697050938338, 'f1': 0.779050736497545} |
60
+ | 0.6654 | 6.0 | 2232 | 0.6425 | 0.6381 | 1.0 | {'accuracy': 0.6380697050938338, 'f1': 0.779050736497545} |
61
+ | 0.6626 | 7.0 | 2604 | 0.6419 | 0.6381 | 1.0 | {'accuracy': 0.6380697050938338, 'f1': 0.779050736497545} |
62
+ | 0.6626 | 8.0 | 2976 | 0.6404 | 0.6371 | 0.9958 | {'accuracy': 0.6353887399463807, 'f1': 0.7770491803278688} |
63
+ | 0.6547 | 9.0 | 3348 | 0.6356 | 0.6381 | 1.0 | {'accuracy': 0.6380697050938338, 'f1': 0.779050736497545} |
64
+ | 0.6544 | 10.0 | 3720 | 0.6343 | 0.6371 | 0.9958 | {'accuracy': 0.6353887399463807, 'f1': 0.7770491803278688} |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.35.2
70
+ - Pytorch 2.1.0+cu121
71
+ - Datasets 2.17.0
72
+ - Tokenizers 0.15.1
adapter_config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "FacebookAI/xlm-roberta-large",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "loftq_config": {},
12
+ "lora_alpha": 32,
13
+ "lora_dropout": 0.01,
14
+ "megatron_config": null,
15
+ "megatron_core": "megatron.core",
16
+ "modules_to_save": null,
17
+ "peft_type": "LORA",
18
+ "r": 4,
19
+ "rank_pattern": {},
20
+ "revision": null,
21
+ "target_modules": [
22
+ "value"
23
+ ],
24
+ "task_type": "SEQ_CLS",
25
+ "use_rslora": false
26
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3b7f3a6d5852a1bcb53791c559a0d40a715d9f18c938f6bd142a6f337ba6b5c
3
+ size 5000440
runs/Feb10_15-36-52_50f7ce92a495/events.out.tfevents.1707579417.50f7ce92a495.462.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7befd7fdc9c76f021e1288b8339f8cca6571e20e91c23b1f948ad35072e12790
3
+ size 9705
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:619b5766deb20fb5a327ec968bf9849576a8f8c6993e519a86fdd032b36680d0
3
+ size 17082853
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "250001": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "mask_token": "<mask>",
50
+ "model_max_length": 1000000000000000019884624838656,
51
+ "pad_token": "<pad>",
52
+ "sep_token": "</s>",
53
+ "tokenizer_class": "XLMRobertaTokenizer",
54
+ "unk_token": "<unk>"
55
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33d06353be766e6a9a47f23f7369f85a582dcaa0087ea59c7e1fdfddff6486bd
3
+ size 4664