willherbert27
commited on
Commit
•
1226c99
1
Parent(s):
a821afd
willherbert27/electra-combined-textbook-no-context
Browse files- README.md +76 -0
- config.json +30 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: google/electra-small-generator
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: electra-finetuned-combo-textbook
|
8 |
+
results: []
|
9 |
+
---
|
10 |
+
|
11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
12 |
+
should probably proofread and complete it, then remove this comment. -->
|
13 |
+
|
14 |
+
# electra-finetuned-combo-textbook
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [google/electra-small-generator](https://huggingface.co/google/electra-small-generator) on the None dataset.
|
17 |
+
It achieves the following results on the evaluation set:
|
18 |
+
- Loss: 2.0564
|
19 |
+
|
20 |
+
## Model description
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Intended uses & limitations
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training and evaluation data
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training procedure
|
33 |
+
|
34 |
+
### Training hyperparameters
|
35 |
+
|
36 |
+
The following hyperparameters were used during training:
|
37 |
+
- learning_rate: 0.0001
|
38 |
+
- train_batch_size: 16
|
39 |
+
- eval_batch_size: 8
|
40 |
+
- seed: 42
|
41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
42 |
+
- lr_scheduler_type: linear
|
43 |
+
- num_epochs: 20
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
48 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
49 |
+
| 3.1589 | 1.0 | 2444 | 2.8061 |
|
50 |
+
| 2.8979 | 2.0 | 4888 | 2.6797 |
|
51 |
+
| 2.7362 | 3.0 | 7332 | 2.5658 |
|
52 |
+
| 2.6336 | 4.0 | 9776 | 2.5164 |
|
53 |
+
| 2.5261 | 5.0 | 12220 | 2.4465 |
|
54 |
+
| 2.4427 | 6.0 | 14664 | 2.4096 |
|
55 |
+
| 2.3747 | 7.0 | 17108 | 2.3456 |
|
56 |
+
| 2.2923 | 8.0 | 19552 | 2.3135 |
|
57 |
+
| 2.2594 | 9.0 | 21996 | 2.2672 |
|
58 |
+
| 2.2265 | 10.0 | 24440 | 2.2565 |
|
59 |
+
| 2.2075 | 11.0 | 26884 | 2.2290 |
|
60 |
+
| 2.1548 | 12.0 | 29328 | 2.1606 |
|
61 |
+
| 2.0962 | 13.0 | 31772 | 2.2014 |
|
62 |
+
| 2.0714 | 14.0 | 34216 | 2.1514 |
|
63 |
+
| 2.0423 | 15.0 | 36660 | 2.1457 |
|
64 |
+
| 2.0263 | 16.0 | 39104 | 2.0935 |
|
65 |
+
| 2.0029 | 17.0 | 41548 | 2.1112 |
|
66 |
+
| 1.9786 | 18.0 | 43992 | 2.0855 |
|
67 |
+
| 1.9352 | 19.0 | 46436 | 2.0737 |
|
68 |
+
| 1.9182 | 20.0 | 48880 | 2.0564 |
|
69 |
+
|
70 |
+
|
71 |
+
### Framework versions
|
72 |
+
|
73 |
+
- Transformers 4.38.2
|
74 |
+
- Pytorch 1.13.1+cu116
|
75 |
+
- Datasets 2.18.0
|
76 |
+
- Tokenizers 0.15.2
|
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/electra-small-generator",
|
3 |
+
"architectures": [
|
4 |
+
"ElectraForMaskedLM"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"embedding_size": 128,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 256,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 1024,
|
14 |
+
"layer_norm_eps": 1e-12,
|
15 |
+
"max_position_embeddings": 512,
|
16 |
+
"model_type": "electra",
|
17 |
+
"num_attention_heads": 4,
|
18 |
+
"num_hidden_layers": 12,
|
19 |
+
"pad_token_id": 0,
|
20 |
+
"position_embedding_type": "absolute",
|
21 |
+
"summary_activation": "gelu",
|
22 |
+
"summary_last_dropout": 0.1,
|
23 |
+
"summary_type": "first",
|
24 |
+
"summary_use_proj": true,
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.38.2",
|
27 |
+
"type_vocab_size": 2,
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 30522
|
30 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b617d2603d52c61b3415c2b56729907b4ef320afa44dfdec504bc794914b1b6
|
3 |
+
size 54210824
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7ee47884b64382e71f4244318d43941328639fe7270a120130517c495400a96
|
3 |
+
size 4475
|