gbemilekeonilude commited on
Commit
e053c59
·
verified ·
1 Parent(s): c3f5af3

Model save

Browse files
Files changed (2) hide show
  1. README.md +71 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: openai-community/gpt2-medium
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: java_and_text_gpt2
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/zhenwu/code-text-pretraining/runs/irfsamvm)
17
+ # java_and_text_gpt2
18
+
19
+ This model is a fine-tuned version of [openai-community/gpt2-medium](https://huggingface.co/openai-community/gpt2-medium) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.7454
22
+ - Accuracy: 0.1806
23
+ - Num Input Tokens Seen: 1638400
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 2e-05
43
+ - train_batch_size: 4
44
+ - eval_batch_size: 4
45
+ - seed: 42
46
+ - distributed_type: multi-GPU
47
+ - num_devices: 2
48
+ - total_train_batch_size: 8
49
+ - total_eval_batch_size: 8
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: cosine
52
+ - lr_scheduler_warmup_ratio: 0.03
53
+ - num_epochs: 3.0
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Input Tokens Seen |
58
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:-----------------:|
59
+ | No log | 0 | 0 | 11.0141 | 0.1944 | 0 |
60
+ | 2.3634 | 0.6173 | 50 | 2.2269 | 0.1944 | 409600 |
61
+ | 2.003 | 1.2346 | 100 | 1.7977 | 0.2222 | 819200 |
62
+ | 1.7323 | 1.8519 | 150 | 1.7828 | 0.2222 | 1228800 |
63
+ | 1.6991 | 2.4691 | 200 | 1.7454 | 0.1806 | 1638400 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.43.2
69
+ - Pytorch 2.4.0
70
+ - Datasets 2.20.0
71
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8d763821212d751f5fcbc1fb185197ce139a9256b1a1eb66e2fe66e330c25388
3
  size 1419343440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28b59a852b9f7ae141644abf036c6050e3cb1c12f727c63206db68b31b562b26
3
  size 1419343440