Upload
Browse files- .gitattributes +1 -0
- GoNotoCurrent.ttf +3 -0
- README.md +52 -0
- config.json +40 -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,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
datasets:
|
| 7 |
+
- glue
|
| 8 |
+
model-index:
|
| 9 |
+
- name: pixel-base-finetuned-stsb
|
| 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 |
+
# pixel-base-finetuned-stsb
|
| 17 |
+
|
| 18 |
+
This model is a fine-tuned version of [Team-PIXEL/pixel-base](https://huggingface.co/Team-PIXEL/pixel-base) on the GLUE STSB dataset.
|
| 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: 2e-05
|
| 38 |
+
- train_batch_size: 64
|
| 39 |
+
- eval_batch_size: 8
|
| 40 |
+
- seed: 2
|
| 41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 42 |
+
- lr_scheduler_type: linear
|
| 43 |
+
- lr_scheduler_warmup_steps: 100
|
| 44 |
+
- training_steps: 15000
|
| 45 |
+
- mixed_precision_training: Apex, opt level O1
|
| 46 |
+
|
| 47 |
+
### Framework versions
|
| 48 |
+
|
| 49 |
+
- Transformers 4.17.0
|
| 50 |
+
- Pytorch 1.11.0
|
| 51 |
+
- Datasets 2.0.0
|
| 52 |
+
- Tokenizers 0.12.1
|
config.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "Team-PIXEL/pixel-base",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"PIXELForSequenceClassification"
|
| 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 |
+
"finetuning_task": "stsb",
|
| 12 |
+
"hidden_act": "gelu",
|
| 13 |
+
"hidden_dropout_prob": 0.1,
|
| 14 |
+
"hidden_size": 768,
|
| 15 |
+
"id2label": {
|
| 16 |
+
"0": "LABEL_0"
|
| 17 |
+
},
|
| 18 |
+
"image_size": [
|
| 19 |
+
16,
|
| 20 |
+
4096
|
| 21 |
+
],
|
| 22 |
+
"initializer_range": 0.02,
|
| 23 |
+
"intermediate_size": 3072,
|
| 24 |
+
"interpolate_pos_encoding": false,
|
| 25 |
+
"label2id": {
|
| 26 |
+
"LABEL_0": 0
|
| 27 |
+
},
|
| 28 |
+
"layer_norm_eps": 1e-12,
|
| 29 |
+
"mask_ratio": 0.25,
|
| 30 |
+
"model_type": "pixel",
|
| 31 |
+
"norm_pix_loss": true,
|
| 32 |
+
"num_attention_heads": 12,
|
| 33 |
+
"num_channels": 3,
|
| 34 |
+
"num_hidden_layers": 12,
|
| 35 |
+
"patch_size": 16,
|
| 36 |
+
"problem_type": "regression",
|
| 37 |
+
"qkv_bias": true,
|
| 38 |
+
"torch_dtype": "float32",
|
| 39 |
+
"transformers_version": "4.17.0"
|
| 40 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b5b32e8356421f7528e862af06aba0bab47f69dbec860d9e9082bd85a322278a
|
| 3 |
+
size 345831977
|
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": 256,
|
| 8 |
+
"pad_size": 3,
|
| 9 |
+
"pixels_per_patch": 16,
|
| 10 |
+
"text_renderer_type": "TextRenderer"
|
| 11 |
+
}
|