Upload model
Browse files- README.md +2 -2
- config.json +4 -4
- generation_config.json +2 -7
- model.safetensors +1 -1
README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
---
|
|
|
|
|
2 |
library_name: transformers
|
3 |
datasets:
|
4 |
- fhswf/german_handwriting
|
5 |
-
language:
|
6 |
-
- de
|
7 |
---
|
8 |
|
9 |
# Model Card for Model ID
|
|
|
1 |
---
|
2 |
+
language:
|
3 |
+
- de
|
4 |
library_name: transformers
|
5 |
datasets:
|
6 |
- fhswf/german_handwriting
|
|
|
|
|
7 |
---
|
8 |
|
9 |
# Model Card for Model ID
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "./
|
3 |
"architectures": [
|
4 |
"VisionEncoderDecoderModel"
|
5 |
],
|
@@ -165,14 +165,14 @@
|
|
165 |
"eos_token_id": 2,
|
166 |
"is_encoder_decoder": true,
|
167 |
"length_penalty": 2.0,
|
168 |
-
"max_length":
|
169 |
"model_type": "vision-encoder-decoder",
|
170 |
"no_repeat_ngram_size": 3,
|
171 |
-
"num_beams":
|
172 |
"pad_token_id": 1,
|
173 |
"sep_token_id": 2,
|
174 |
"tie_word_embeddings": false,
|
175 |
"torch_dtype": "float32",
|
176 |
-
"transformers_version": "4.41.
|
177 |
"vocab_size": 50265
|
178 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./model/AdamW",
|
3 |
"architectures": [
|
4 |
"VisionEncoderDecoderModel"
|
5 |
],
|
|
|
165 |
"eos_token_id": 2,
|
166 |
"is_encoder_decoder": true,
|
167 |
"length_penalty": 2.0,
|
168 |
+
"max_length": 50,
|
169 |
"model_type": "vision-encoder-decoder",
|
170 |
"no_repeat_ngram_size": 3,
|
171 |
+
"num_beams": 10,
|
172 |
"pad_token_id": 1,
|
173 |
"sep_token_id": 2,
|
174 |
"tie_word_embeddings": false,
|
175 |
"torch_dtype": "float32",
|
176 |
+
"transformers_version": "4.41.2",
|
177 |
"vocab_size": 50265
|
178 |
}
|
generation_config.json
CHANGED
@@ -1,14 +1,9 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 0,
|
4 |
-
"decoder_start_token_id":
|
5 |
-
"early_stopping": true,
|
6 |
"eos_token_id": 2,
|
7 |
-
"length_penalty": 2.0,
|
8 |
-
"max_length": 64,
|
9 |
-
"no_repeat_ngram_size": 3,
|
10 |
-
"num_beams": 4,
|
11 |
"pad_token_id": 1,
|
12 |
-
"transformers_version": "4.41.
|
13 |
"use_cache": false
|
14 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 0,
|
4 |
+
"decoder_start_token_id": 2,
|
|
|
5 |
"eos_token_id": 2,
|
|
|
|
|
|
|
|
|
6 |
"pad_token_id": 1,
|
7 |
+
"transformers_version": "4.41.2",
|
8 |
"use_cache": false
|
9 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2232985336
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de633614afb8b25f625c7c9d8596e33cb6eb71a4854bd5e3d1acd767483f5bae
|
3 |
size 2232985336
|