gec-spanish-v1
Browse files- README.md +72 -0
- config.json +33 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- runs/Jan09_06-13-48_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704780832.0108-083006-wosodf1k-10-215-173-3.3038.0 +3 -0
- runs/Jan09_06-16-00_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704780963.0108-083006-wosodf1k-10-215-173-3.3530.0 +3 -0
- runs/Jan09_06-18-17_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704781101.0108-083006-wosodf1k-10-215-173-3.4027.0 +3 -0
- runs/Jan09_06-46-43_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704782831.0108-083006-wosodf1k-10-215-173-3.5625.0 +3 -0
- runs/Jan09_06-49-27_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704782973.0108-083006-wosodf1k-10-215-173-3.7309.0 +3 -0
- runs/Jan09_06-53-15_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704783204.0108-083006-wosodf1k-10-215-173-3.7940.0 +3 -0
- runs/Jan09_06-58-09_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704783496.0108-083006-wosodf1k-10-215-173-3.8692.0 +3 -0
- runs/Jan09_06-58-09_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704783599.0108-083006-wosodf1k-10-215-173-3.8692.1 +3 -0
- runs/Jan09_07-02-24_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704783759.0108-083006-wosodf1k-10-215-173-3.9211.0 +3 -0
- runs/Jan09_07-02-24_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704855397.0108-083006-wosodf1k-10-215-173-3.9211.1 +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: cc-by-nc-4.0
|
3 |
+
base_model: grammarly/coedit-large
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- rouge
|
8 |
+
model-index:
|
9 |
+
- name: spanish_gec
|
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 |
+
# spanish_gec
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [grammarly/coedit-large](https://huggingface.co/grammarly/coedit-large) on the None dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.5136
|
21 |
+
- Rouge1: 0.0
|
22 |
+
- Rouge2: 0.0
|
23 |
+
- Rougel: 0.0
|
24 |
+
- Rougelsum: 0.0
|
25 |
+
- Gen Len: 0.0
|
26 |
+
|
27 |
+
## Model description
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Intended uses & limitations
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training and evaluation data
|
36 |
+
|
37 |
+
More information needed
|
38 |
+
|
39 |
+
## Training procedure
|
40 |
+
|
41 |
+
### Training hyperparameters
|
42 |
+
|
43 |
+
The following hyperparameters were used during training:
|
44 |
+
- learning_rate: 5e-05
|
45 |
+
- train_batch_size: 2
|
46 |
+
- eval_batch_size: 2
|
47 |
+
- seed: 42
|
48 |
+
- distributed_type: multi-GPU
|
49 |
+
- gradient_accumulation_steps: 4
|
50 |
+
- total_train_batch_size: 8
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- num_epochs: 5
|
54 |
+
- mixed_precision_training: Native AMP
|
55 |
+
|
56 |
+
### Training results
|
57 |
+
|
58 |
+
| Training Loss | Epoch | Step | Validation Loss | Rouge1 | Rouge2 | Rougel | Rougelsum | Gen Len |
|
59 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|:------:|:------:|:---------:|:-------:|
|
60 |
+
| 0.0 | 1.0 | 4281 | 0.5136 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
61 |
+
| 0.0 | 2.0 | 8563 | 0.5136 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
62 |
+
| 0.0 | 3.0 | 12844 | 0.5136 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
63 |
+
| 0.0 | 4.0 | 17126 | 0.5136 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
64 |
+
| 0.0 | 5.0 | 21405 | 0.5136 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 |
|
65 |
+
|
66 |
+
|
67 |
+
### Framework versions
|
68 |
+
|
69 |
+
- Transformers 4.36.2
|
70 |
+
- Pytorch 2.1.2+cu121
|
71 |
+
- Datasets 2.16.1
|
72 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "grammarly/coedit-large",
|
3 |
+
"architectures": [
|
4 |
+
"T5ForConditionalGeneration"
|
5 |
+
],
|
6 |
+
"classifier_dropout": 0.0,
|
7 |
+
"d_ff": 2816,
|
8 |
+
"d_kv": 64,
|
9 |
+
"d_model": 1024,
|
10 |
+
"decoder_start_token_id": 0,
|
11 |
+
"dense_act_fn": "gelu_new",
|
12 |
+
"dropout_rate": 0.1,
|
13 |
+
"eos_token_id": 1,
|
14 |
+
"feed_forward_proj": "gated-gelu",
|
15 |
+
"initializer_factor": 1.0,
|
16 |
+
"is_encoder_decoder": true,
|
17 |
+
"is_gated_act": true,
|
18 |
+
"layer_norm_epsilon": 1e-06,
|
19 |
+
"model_type": "t5",
|
20 |
+
"n_positions": 512,
|
21 |
+
"num_decoder_layers": 24,
|
22 |
+
"num_heads": 16,
|
23 |
+
"num_layers": 24,
|
24 |
+
"output_past": true,
|
25 |
+
"pad_token_id": 0,
|
26 |
+
"relative_attention_max_distance": 128,
|
27 |
+
"relative_attention_num_buckets": 32,
|
28 |
+
"tie_word_embeddings": false,
|
29 |
+
"torch_dtype": "float32",
|
30 |
+
"transformers_version": "4.36.2",
|
31 |
+
"use_cache": true,
|
32 |
+
"vocab_size": 32100
|
33 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"decoder_start_token_id": 0,
|
3 |
+
"eos_token_id": 1,
|
4 |
+
"pad_token_id": 0,
|
5 |
+
"transformers_version": "4.36.2"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc452f79c71fd82fe0d7ea3f2e372865f09e0071be75fbcb55c0d446d62386cc
|
3 |
+
size 3395402840
|
runs/Jan09_06-13-48_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704780832.0108-083006-wosodf1k-10-215-173-3.3038.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c22595df080a5ac708f61027ad62268ff009b21e1ebb315ff984372c08c9e4f
|
3 |
+
size 8280
|
runs/Jan09_06-16-00_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704780963.0108-083006-wosodf1k-10-215-173-3.3530.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e9d79c2fec6a3e6b12c9c960289130557e4b6c49771d9d7da9e53e7af0047f9c
|
3 |
+
size 8280
|
runs/Jan09_06-18-17_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704781101.0108-083006-wosodf1k-10-215-173-3.4027.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a92823e3e44b76770fa7dbb95fc3e866eb7f1954a037aa504d0f971e1c8b1f7a
|
3 |
+
size 14114
|
runs/Jan09_06-46-43_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704782831.0108-083006-wosodf1k-10-215-173-3.5625.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:281a816aa2b92a7275ab1f4e2c5b4b2e0214efea598eb858c1531e34869b5dd3
|
3 |
+
size 88
|
runs/Jan09_06-49-27_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704782973.0108-083006-wosodf1k-10-215-173-3.7309.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8fab4263176c0f5a116da96245f67215c17571ea7d136937da08688c0d2d1f9b
|
3 |
+
size 4184
|
runs/Jan09_06-53-15_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704783204.0108-083006-wosodf1k-10-215-173-3.7940.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac838d1650539c57438311062b5309e72333e134449078e81da7d616edd10ab5
|
3 |
+
size 7728
|
runs/Jan09_06-58-09_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704783496.0108-083006-wosodf1k-10-215-173-3.8692.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:792d217c036fa185d0b12f66e670f7d4664b4fbf9fa0f9f1c400ef8e189f43a3
|
3 |
+
size 7727
|
runs/Jan09_06-58-09_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704783599.0108-083006-wosodf1k-10-215-173-3.8692.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ec14afd77c49644b559f1a20ddb8d15a02a94de6bf10ec891ce3e7ab656577e
|
3 |
+
size 603
|
runs/Jan09_07-02-24_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704783759.0108-083006-wosodf1k-10-215-173-3.9211.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:eca11356fec15c964a5f1031f9ff7ffaa09ecf2996dc74dc5af7664058b780e3
|
3 |
+
size 14433
|
runs/Jan09_07-02-24_0108-083006-wosodf1k-10-215-173-3/events.out.tfevents.1704855397.0108-083006-wosodf1k-10-215-173-3.9211.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:abab0bfaacae03eb2b3327755f3b39fb1c5f3b5b3fbc35e56082c16a5b23a4da
|
3 |
+
size 623
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18e4bb6e5c735be0924c6425037851cd033973b49c163d5f19061a9051947414
|
3 |
+
size 4984
|