Upload
Browse files- .gitattributes +1 -0
- GoNotoCurrent.ttf +3 -0
- README.md +54 -0
- config.json +32 -0
- pytorch_model.bin +3 -0
- text_renderer_config.json +11 -0
.gitattributes
CHANGED
@@ -25,3 +25,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
25 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
26 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
27 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.ttf filter=lfs diff=lfs merge=lfs -text
|
GoNotoCurrent.ttf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83ab5c39e2b1c34a955136275ce0db068cb20d9643ead033d6b8124a73ab4f64
|
3 |
+
size 15645492
|
README.md
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
datasets:
|
5 |
+
- tydiqa
|
6 |
+
model-index:
|
7 |
+
- name: pixel-base-finetuned-tydiqa-goldp
|
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 |
+
# pixel-base-finetuned-tydiqa-goldp
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [Team-PIXEL/pixel-base](https://huggingface.co/Team-PIXEL/pixel-base) on the tydiqa secondary_task dataset.
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- learning_rate: 3e-05
|
36 |
+
- train_batch_size: 32
|
37 |
+
- eval_batch_size: 8
|
38 |
+
- seed: 2
|
39 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
40 |
+
- lr_scheduler_type: linear
|
41 |
+
- lr_scheduler_warmup_steps: 100
|
42 |
+
- training_steps: 20000
|
43 |
+
- mixed_precision_training: Apex, opt level O1
|
44 |
+
|
45 |
+
### Training results
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
+
### Framework versions
|
50 |
+
|
51 |
+
- Transformers 4.17.0
|
52 |
+
- Pytorch 1.11.0
|
53 |
+
- Datasets 2.0.0
|
54 |
+
- Tokenizers 0.12.1
|
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "Team-PIXEL/pixel-base",
|
3 |
+
"architectures": [
|
4 |
+
"PIXELForQuestionAnswering"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"decoder_hidden_size": 512,
|
8 |
+
"decoder_intermediate_size": 2048,
|
9 |
+
"decoder_num_attention_heads": 16,
|
10 |
+
"decoder_num_hidden_layers": 8,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"image_size": [
|
15 |
+
16,
|
16 |
+
6400
|
17 |
+
],
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"interpolate_pos_encoding": false,
|
21 |
+
"layer_norm_eps": 1e-12,
|
22 |
+
"mask_ratio": 0.25,
|
23 |
+
"model_type": "pixel",
|
24 |
+
"norm_pix_loss": true,
|
25 |
+
"num_attention_heads": 12,
|
26 |
+
"num_channels": 3,
|
27 |
+
"num_hidden_layers": 12,
|
28 |
+
"patch_size": 16,
|
29 |
+
"qkv_bias": true,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.17.0"
|
32 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6dd6c159d68c51ec20e43093606063ece471121c28c17944db7663a025960eba
|
3 |
+
size 343914285
|
text_renderer_config.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"background_color": "white",
|
3 |
+
"dpi": 120,
|
4 |
+
"font_color": "black",
|
5 |
+
"font_file": "GoNotoCurrent.ttf",
|
6 |
+
"font_size": 8,
|
7 |
+
"max_seq_length": 400,
|
8 |
+
"pad_size": 3,
|
9 |
+
"pixels_per_patch": 16,
|
10 |
+
"text_renderer_type": "PangoCairoTextRenderer"
|
11 |
+
}
|