Namronaldo2004 commited on
Commit
d3872ec
·
verified ·
1 Parent(s): e8d77fb

Fine-tuned UniXcoder for SemEval Task 13

Browse files
Files changed (4) hide show
  1. README.md +63 -0
  2. config.json +30 -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/codebert-full-code
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ - accuracy
10
+ model-index:
11
+ - name: results_codebert
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_codebert
19
+
20
+ This model is a fine-tuned version of [Namronaldo2004/codebert-full-code](https://huggingface.co/Namronaldo2004/codebert-full-code) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.2271
23
+ - F1: 0.9601
24
+ - Accuracy: 0.9601
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: 48
45
+ - eval_batch_size: 48
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.1811 | 1.0 | 10878 | 0.2271 | 0.9601 | 0.9601 |
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,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 3072,
16
+ "is_decoder": false,
17
+ "layer_norm_eps": 1e-05,
18
+ "max_position_embeddings": 514,
19
+ "model_type": "roberta",
20
+ "num_attention_heads": 12,
21
+ "num_hidden_layers": 12,
22
+ "output_past": true,
23
+ "pad_token_id": 1,
24
+ "problem_type": "single_label_classification",
25
+ "tie_word_embeddings": true,
26
+ "transformers_version": "5.2.0",
27
+ "type_vocab_size": 1,
28
+ "use_cache": false,
29
+ "vocab_size": 50265
30
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:654d76c25721c0086894c221598fcfd48364ea61c21dbeb71a4c6ed285bbced8
3
+ size 498612800
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:53d77ebaa41b26dc4f6b80d4ed2808176ac6b4f01dadf564a2ea059d52d6e093
3
+ size 5201