willherbert27
commited on
Commit
•
db75891
1
Parent(s):
9015428
willherbert27/electra-combined-textbook
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.0465
|
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.1458 | 1.0 | 2468 | 2.8891 |
|
50 |
+
| 2.8707 | 2.0 | 4936 | 2.7016 |
|
51 |
+
| 2.7021 | 3.0 | 7404 | 2.5199 |
|
52 |
+
| 2.6068 | 4.0 | 9872 | 2.4902 |
|
53 |
+
| 2.5111 | 5.0 | 12340 | 2.4149 |
|
54 |
+
| 2.4193 | 6.0 | 14808 | 2.3743 |
|
55 |
+
| 2.383 | 7.0 | 17276 | 2.3333 |
|
56 |
+
| 2.3082 | 8.0 | 19744 | 2.2770 |
|
57 |
+
| 2.2723 | 9.0 | 22212 | 2.2606 |
|
58 |
+
| 2.2151 | 10.0 | 24680 | 2.2444 |
|
59 |
+
| 2.1869 | 11.0 | 27148 | 2.1859 |
|
60 |
+
| 2.1588 | 12.0 | 29616 | 2.1959 |
|
61 |
+
| 2.1188 | 13.0 | 32084 | 2.1490 |
|
62 |
+
| 2.0947 | 14.0 | 34552 | 2.1259 |
|
63 |
+
| 2.06 | 15.0 | 37020 | 2.1211 |
|
64 |
+
| 1.9976 | 16.0 | 39488 | 2.0701 |
|
65 |
+
| 1.9975 | 17.0 | 41956 | 2.1048 |
|
66 |
+
| 1.9479 | 18.0 | 44424 | 2.1072 |
|
67 |
+
| 1.9215 | 19.0 | 46892 | 2.0794 |
|
68 |
+
| 1.9426 | 20.0 | 49360 | 2.0465 |
|
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:893b030d52ef6bb3fb136b94e41ee30ca7f5d0ee4f53ecf77ff88507e192119c
|
3 |
+
size 54210824
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b54324e724350afb9314eb0ab6af23013591fcf6d964555091ae89400d5f877
|
3 |
+
size 4475
|