haryoaw commited on
Commit
fb17d7f
1 Parent(s): 476f862

Initial Commit

Browse files
Files changed (4) hide show
  1. README.md +85 -0
  2. config.json +38 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: facebook/xlm-v-base
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - tweet_sentiment_multilingual
8
+ metrics:
9
+ - accuracy
10
+ - f1
11
+ model-index:
12
+ - name: scenario-TCR-XLMV_data-cardiffnlp_tweet_sentiment_multilingual_all_beta2
13
+ results:
14
+ - task:
15
+ name: Text Classification
16
+ type: text-classification
17
+ dataset:
18
+ name: tweet_sentiment_multilingual
19
+ type: tweet_sentiment_multilingual
20
+ config: all
21
+ split: validation
22
+ args: all
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.3333333333333333
27
+ - name: F1
28
+ type: f1
29
+ value: 0.16666666666666666
30
+ ---
31
+
32
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
+ should probably proofread and complete it, then remove this comment. -->
34
+
35
+ # scenario-TCR-XLMV_data-cardiffnlp_tweet_sentiment_multilingual_all_beta2
36
+
37
+ This model is a fine-tuned version of [facebook/xlm-v-base](https://huggingface.co/facebook/xlm-v-base) on the tweet_sentiment_multilingual dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 1.0989
40
+ - Accuracy: 0.3333
41
+ - F1: 0.1667
42
+
43
+ ## Model description
44
+
45
+ More information needed
46
+
47
+ ## Intended uses & limitations
48
+
49
+ More information needed
50
+
51
+ ## Training and evaluation data
52
+
53
+ More information needed
54
+
55
+ ## Training procedure
56
+
57
+ ### Training hyperparameters
58
+
59
+ The following hyperparameters were used during training:
60
+ - learning_rate: 5e-05
61
+ - train_batch_size: 32
62
+ - eval_batch_size: 32
63
+ - seed: 67
64
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
65
+ - lr_scheduler_type: linear
66
+ - num_epochs: 500
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
71
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
72
+ | 1.0974 | 1.09 | 500 | 1.0989 | 0.3333 | 0.1667 |
73
+ | 1.1002 | 2.17 | 1000 | 1.0986 | 0.3333 | 0.1667 |
74
+ | 1.0992 | 3.26 | 1500 | 1.0992 | 0.3333 | 0.1667 |
75
+ | 1.0997 | 4.35 | 2000 | 1.0988 | 0.3333 | 0.1667 |
76
+ | 1.0996 | 5.43 | 2500 | 1.0988 | 0.3333 | 0.1667 |
77
+ | 1.0996 | 6.52 | 3000 | 1.0989 | 0.3333 | 0.1667 |
78
+
79
+
80
+ ### Framework versions
81
+
82
+ - Transformers 4.33.3
83
+ - Pytorch 2.1.1+cu121
84
+ - Datasets 2.14.5
85
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/xlm-v-base",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "xlm-roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 12,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.33.3",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 901629
38
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b632c653b28b8f70cdaada309fbe7d3370127c8a2180873b0499ca1551f810a5
3
+ size 3114051374
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a9e7f3e670b8f49a0ecd2de493efff7121271c2b5aa2feaddecbc931f14a747
3
+ size 4600