jteng commited on
Commit
b7cdaf8
·
verified ·
1 Parent(s): 1f86d2c

Trained on syssec-utd/segmentation-py313-pylingual-v3-tokenized using syssec-utd/py313-pylingual-v3-mlm

Browse files
Files changed (6) hide show
  1. README.md +69 -0
  2. config.json +38 -0
  3. model.safetensors +3 -0
  4. tokenizer.json +0 -0
  5. tokenizer_config.json +10 -0
  6. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: syssec-utd/py313-pylingual-v3-mlm
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - precision
8
+ - recall
9
+ - f1
10
+ - accuracy
11
+ model-index:
12
+ - name: py313-pylingual-v3-segmenter
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # py313-pylingual-v3-segmenter
20
+
21
+ This model is a fine-tuned version of [syssec-utd/py313-pylingual-v3-mlm](https://huggingface.co/syssec-utd/py313-pylingual-v3-mlm) on the syssec-utd/segmentation-py313-pylingual-v3-tokenized dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.0047
24
+ - Precision: 0.9945
25
+ - Recall: 0.9944
26
+ - F1: 0.9945
27
+ - Accuracy: 0.9983
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 2e-05
47
+ - train_batch_size: 28
48
+ - eval_batch_size: 8
49
+ - seed: 42
50
+ - distributed_type: multi-GPU
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 2
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
59
+ |:-------------:|:-----:|:------:|:---------------:|:---------:|:------:|:------:|:--------:|
60
+ | 0.0073 | 1.0 | 99547 | 0.0049 | 0.9939 | 0.9938 | 0.9939 | 0.9981 |
61
+ | 0.0036 | 2.0 | 199094 | 0.0047 | 0.9945 | 0.9944 | 0.9945 | 0.9983 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 5.12.1
67
+ - Pytorch 2.12.0+cu130
68
+ - Datasets 5.0.0
69
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "B",
16
+ "1": "I",
17
+ "2": "E"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "is_decoder": false,
22
+ "label2id": {
23
+ "B": "0",
24
+ "E": "2",
25
+ "I": "1"
26
+ },
27
+ "layer_norm_eps": 1e-05,
28
+ "max_position_embeddings": 1026,
29
+ "model_type": "roberta",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 1,
33
+ "tie_word_embeddings": true,
34
+ "transformers_version": "5.12.1",
35
+ "type_vocab_size": 1,
36
+ "use_cache": false,
37
+ "vocab_size": 30000
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56a3aaf7c8c3ba21ebb30203c69a1205194a3fc25da2864323099c952c162c4c
3
+ size 435572084
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "mask_token": "[MASK]",
5
+ "model_max_length": 1000000000000000019884624838656,
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "tokenizer_class": "TokenizersBackend",
9
+ "unk_token": "[UNK]"
10
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1640a3249c3254e7b21b98bec31ece7b63d1c03ad90339171c8e6b10016aa2b
3
+ size 5265