Namronaldo2004 commited on
Commit
7efbdfc
·
verified ·
1 Parent(s): 7d50765

Fine-tuned UniXcoder for SemEval Task 13

Browse files
Files changed (4) hide show
  1. README.md +63 -0
  2. config.json +32 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: Namronaldo2004/unixcoder-full-code
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ - accuracy
10
+ model-index:
11
+ - name: results_unixcoder
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # results_unixcoder
19
+
20
+ This model is a fine-tuned version of [Namronaldo2004/unixcoder-full-code](https://huggingface.co/Namronaldo2004/unixcoder-full-code) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.1734
23
+ - F1: 0.9691
24
+ - Accuracy: 0.9691
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: 4e-05
44
+ - train_batch_size: 64
45
+ - eval_batch_size: 64
46
+ - seed: 42
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 1
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Accuracy |
54
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:--------:|
55
+ | 0.1425 | 1.0 | 8159 | 0.1734 | 0.9691 | 0.9691 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 5.2.0
61
+ - Pytorch 2.9.0+cu126
62
+ - Datasets 4.0.0
63
+ - Tokenizers 0.22.2
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "is_decoder": false,
18
+ "layer_norm_eps": 1e-05,
19
+ "max_position_embeddings": 1026,
20
+ "model_type": "roberta",
21
+ "num_attention_heads": 12,
22
+ "num_hidden_layers": 12,
23
+ "output_past": true,
24
+ "pad_token_id": 1,
25
+ "position_embedding_type": "absolute",
26
+ "problem_type": "single_label_classification",
27
+ "tie_word_embeddings": true,
28
+ "transformers_version": "5.2.0",
29
+ "type_vocab_size": 10,
30
+ "use_cache": false,
31
+ "vocab_size": 51416
32
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:573fae6e0297ef215dddd65829a20e09c2bb44d8ac8b50c9e61d8017adfc832e
3
+ size 503749184
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56c89cd0f88ac9a33224b17d6c06ff4d59a726e0141a9751cb1f673620e974ed
3
+ size 5201