xtc2
Browse files- .gitattributes +1 -0
- README.md +68 -0
- config.json +30 -0
- model.safetensors +3 -0
- runs/Jun06_07-21-45_100b1cecc866/events.out.tfevents.1717658599.100b1cecc866.894.0 +3 -0
- runs/Jun06_07-43-31_100b1cecc866/events.out.tfevents.1717659958.100b1cecc866.894.1 +3 -0
- runs/Jun06_07-51-03_68619acd4eda/events.out.tfevents.1717660309.68619acd4eda.469.0 +3 -0
- runs/Jun06_08-02-54_e07864c77f4b/events.out.tfevents.1717661023.e07864c77f4b.1347.0 +3 -0
- runs/Jun06_09-45-07_05e243567bcd/events.out.tfevents.1717667140.05e243567bcd.1949.0 +3 -0
- runs/Jun06_11-20-33_05e243567bcd/events.out.tfevents.1717672863.05e243567bcd.1949.1 +3 -0
- runs/Jun06_11-29-45_05e243567bcd/events.out.tfevents.1717673425.05e243567bcd.1949.2 +3 -0
- runs/Jun06_11-29-45_05e243567bcd/events.out.tfevents.1717674326.05e243567bcd.1949.3 +3 -0
- runs/Jun06_12-05-24_05e243567bcd/events.out.tfevents.1717675610.05e243567bcd.1949.4 +3 -0
- runs/Jun06_12-22-37_05e243567bcd/events.out.tfevents.1717676633.05e243567bcd.1949.5 +3 -0
- runs/Jun06_12-22-37_05e243567bcd/events.out.tfevents.1717677129.05e243567bcd.1949.6 +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +15 -0
- tokenizer.json +3 -0
- tokenizer_config.json +54 -0
- training_args.bin +3 -0
.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,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: cardiffnlp/twitter-xlm-roberta-base
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- precision
|
| 7 |
+
- recall
|
| 8 |
+
- f1
|
| 9 |
+
model-index:
|
| 10 |
+
- name: training_with_callbacks
|
| 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 |
+
# training_with_callbacks
|
| 18 |
+
|
| 19 |
+
This model is a fine-tuned version of [cardiffnlp/twitter-xlm-roberta-base](https://huggingface.co/cardiffnlp/twitter-xlm-roberta-base) on the None dataset.
|
| 20 |
+
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.4317
|
| 22 |
+
- Precision: 0.7304
|
| 23 |
+
- Recall: 0.7613
|
| 24 |
+
- F1: 0.7456
|
| 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: 5e-05
|
| 44 |
+
- train_batch_size: 32
|
| 45 |
+
- eval_batch_size: 32
|
| 46 |
+
- seed: 42
|
| 47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 48 |
+
- lr_scheduler_type: linear
|
| 49 |
+
- num_epochs: 50
|
| 50 |
+
|
| 51 |
+
### Training results
|
| 52 |
+
|
| 53 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 |
|
| 54 |
+
|:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|
|
| 55 |
+
| No log | 1.0 | 458 | 0.4317 | 0.7304 | 0.7613 | 0.7456 |
|
| 56 |
+
| 0.5107 | 2.0 | 916 | 0.4730 | 0.8008 | 0.6193 | 0.6985 |
|
| 57 |
+
| 0.3555 | 3.0 | 1374 | 0.4850 | 0.7512 | 0.7205 | 0.7355 |
|
| 58 |
+
| 0.2265 | 4.0 | 1832 | 0.6697 | 0.7379 | 0.7356 | 0.7368 |
|
| 59 |
+
| 0.1547 | 5.0 | 2290 | 0.7118 | 0.7491 | 0.6450 | 0.6932 |
|
| 60 |
+
| 0.1154 | 6.0 | 2748 | 1.0137 | 0.7177 | 0.7221 | 0.7199 |
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
### Framework versions
|
| 64 |
+
|
| 65 |
+
- Transformers 4.41.2
|
| 66 |
+
- Pytorch 2.3.0+cu121
|
| 67 |
+
- Datasets 2.19.2
|
| 68 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "cardiffnlp/twitter-xlm-roberta-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 |
+
"gradient_checkpointing": false,
|
| 11 |
+
"hidden_act": "gelu",
|
| 12 |
+
"hidden_dropout_prob": 0.1,
|
| 13 |
+
"hidden_size": 768,
|
| 14 |
+
"initializer_range": 0.02,
|
| 15 |
+
"intermediate_size": 3072,
|
| 16 |
+
"layer_norm_eps": 1e-05,
|
| 17 |
+
"max_position_embeddings": 514,
|
| 18 |
+
"model_type": "xlm-roberta",
|
| 19 |
+
"num_attention_heads": 12,
|
| 20 |
+
"num_hidden_layers": 12,
|
| 21 |
+
"output_past": true,
|
| 22 |
+
"pad_token_id": 1,
|
| 23 |
+
"position_embedding_type": "absolute",
|
| 24 |
+
"problem_type": "single_label_classification",
|
| 25 |
+
"torch_dtype": "float32",
|
| 26 |
+
"transformers_version": "4.41.2",
|
| 27 |
+
"type_vocab_size": 1,
|
| 28 |
+
"use_cache": true,
|
| 29 |
+
"vocab_size": 250002
|
| 30 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e918373d79b1a528c0644652be0fecc75591096d7e29dccae82fd656f5e40ede
|
| 3 |
+
size 1112205008
|
runs/Jun06_07-21-45_100b1cecc866/events.out.tfevents.1717658599.100b1cecc866.894.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43dd8ff81eb530cc7e1cbb9c7cdcbf600a2114304601391009907a0a9c453419
|
| 3 |
+
size 9754
|
runs/Jun06_07-43-31_100b1cecc866/events.out.tfevents.1717659958.100b1cecc866.894.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20c6c5cea5f19edf2dc6da58b5e570112607600b9da248d2ba48cd33a17eb951
|
| 3 |
+
size 4920
|
runs/Jun06_07-51-03_68619acd4eda/events.out.tfevents.1717660309.68619acd4eda.469.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70060918d8f625e716e3b81c8a0b1f9f34655721506292b11275cddb300a636e
|
| 3 |
+
size 4920
|
runs/Jun06_08-02-54_e07864c77f4b/events.out.tfevents.1717661023.e07864c77f4b.1347.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b44839a95c1c8305fba727cb00c8cff192f60d5356c370ab997cc62136ae6baa
|
| 3 |
+
size 8676
|
runs/Jun06_09-45-07_05e243567bcd/events.out.tfevents.1717667140.05e243567bcd.1949.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa4a1722e7968d666904590c5e76c7c02e893e14ce4995c5d2feadfb8d61c08e
|
| 3 |
+
size 16581
|
runs/Jun06_11-20-33_05e243567bcd/events.out.tfevents.1717672863.05e243567bcd.1949.1
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:385eb3c251e9641ffb4de204e21ea37e1e631312dda5fa89bf16c1d8f31b9317
|
| 3 |
+
size 10406
|
runs/Jun06_11-29-45_05e243567bcd/events.out.tfevents.1717673425.05e243567bcd.1949.2
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56cac825599744bd3cb372ce073c48b21c5d5dfa717f52699d67f5c200f15931
|
| 3 |
+
size 8289
|
runs/Jun06_11-29-45_05e243567bcd/events.out.tfevents.1717674326.05e243567bcd.1949.3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f56d7f0352adbb2132e4804cf09c2f6ef8abf21e4b22c041d531eca00bb35973
|
| 3 |
+
size 10369
|
runs/Jun06_12-05-24_05e243567bcd/events.out.tfevents.1717675610.05e243567bcd.1949.4
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e1ae1005b4ecf3afecd78f40e56724eced108a7ba3616413a571bee3242dfced
|
| 3 |
+
size 12054
|
runs/Jun06_12-22-37_05e243567bcd/events.out.tfevents.1717676633.05e243567bcd.1949.5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:accc9a99cd365b7162472aee130ac508352e6b233e97e3a7494927e02221eba8
|
| 3 |
+
size 8892
|
runs/Jun06_12-22-37_05e243567bcd/events.out.tfevents.1717677129.05e243567bcd.1949.6
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5398cc06e43986bd8eff55db6f96341182a0d04f1faf9dc61222b80a539aa731
|
| 3 |
+
size 508
|
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:3a56def25aa40facc030ea8b0b87f3688e4b3c39eb8b45d5702b3a1300fe2a20
|
| 3 |
+
size 17082734
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"added_tokens_decoder": {
|
| 3 |
+
"0": {
|
| 4 |
+
"content": "<s>",
|
| 5 |
+
"lstrip": false,
|
| 6 |
+
"normalized": false,
|
| 7 |
+
"rstrip": false,
|
| 8 |
+
"single_word": false,
|
| 9 |
+
"special": true
|
| 10 |
+
},
|
| 11 |
+
"1": {
|
| 12 |
+
"content": "<pad>",
|
| 13 |
+
"lstrip": false,
|
| 14 |
+
"normalized": false,
|
| 15 |
+
"rstrip": false,
|
| 16 |
+
"single_word": false,
|
| 17 |
+
"special": true
|
| 18 |
+
},
|
| 19 |
+
"2": {
|
| 20 |
+
"content": "</s>",
|
| 21 |
+
"lstrip": false,
|
| 22 |
+
"normalized": false,
|
| 23 |
+
"rstrip": false,
|
| 24 |
+
"single_word": false,
|
| 25 |
+
"special": true
|
| 26 |
+
},
|
| 27 |
+
"3": {
|
| 28 |
+
"content": "<unk>",
|
| 29 |
+
"lstrip": false,
|
| 30 |
+
"normalized": false,
|
| 31 |
+
"rstrip": false,
|
| 32 |
+
"single_word": false,
|
| 33 |
+
"special": true
|
| 34 |
+
},
|
| 35 |
+
"250001": {
|
| 36 |
+
"content": "<mask>",
|
| 37 |
+
"lstrip": true,
|
| 38 |
+
"normalized": false,
|
| 39 |
+
"rstrip": false,
|
| 40 |
+
"single_word": false,
|
| 41 |
+
"special": true
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"bos_token": "<s>",
|
| 45 |
+
"clean_up_tokenization_spaces": true,
|
| 46 |
+
"cls_token": "<s>",
|
| 47 |
+
"eos_token": "</s>",
|
| 48 |
+
"mask_token": "<mask>",
|
| 49 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 50 |
+
"pad_token": "<pad>",
|
| 51 |
+
"sep_token": "</s>",
|
| 52 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
| 53 |
+
"unk_token": "<unk>"
|
| 54 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30e99e4b57d516c4849bd833c24fb2477c57dbfbb66f0e4a73e5cf750ee51060
|
| 3 |
+
size 5112
|