Update tiny models for Tipsv2TextModel
Browse files- config.json +23 -0
- model.safetensors +3 -0
- preprocessor_config.json +13 -0
- tokenizer.json +0 -0
- tokenizer_config.json +19 -0
config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Tipsv2TextModel"
|
| 4 |
+
],
|
| 5 |
+
"attention_dropout": 0.0,
|
| 6 |
+
"bos_token_id": null,
|
| 7 |
+
"dtype": "float32",
|
| 8 |
+
"eos_token_id": null,
|
| 9 |
+
"hidden_act": "relu",
|
| 10 |
+
"hidden_size": 16,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 32,
|
| 13 |
+
"layer_norm_eps": 1e-05,
|
| 14 |
+
"max_position_embeddings": 200,
|
| 15 |
+
"model_type": "tipsv2_text_model",
|
| 16 |
+
"num_attention_heads": 4,
|
| 17 |
+
"num_hidden_layers": 2,
|
| 18 |
+
"pad_token_id": 0,
|
| 19 |
+
"pooling_epsilon": 1e-08,
|
| 20 |
+
"scale_sqrt_depth": true,
|
| 21 |
+
"transformers_version": "5.16.0.dev0",
|
| 22 |
+
"vocab_size": 32000
|
| 23 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c8d3c478a4376aa1d9a55b908982776d90a1f3ef6afb7b0ff2d5b338f6f71e0c
|
| 3 |
+
size 2068696
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_convert_rgb": true,
|
| 3 |
+
"do_normalize": false,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_processor_type": "Tipsv2ImageProcessor",
|
| 7 |
+
"resample": 2,
|
| 8 |
+
"rescale_factor": 0.00392156862745098,
|
| 9 |
+
"size": {
|
| 10 |
+
"height": 448,
|
| 11 |
+
"width": 448
|
| 12 |
+
}
|
| 13 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"backend": "tokenizers",
|
| 3 |
+
"bos_token": null,
|
| 4 |
+
"do_lower_case": true,
|
| 5 |
+
"eos_token": null,
|
| 6 |
+
"extra_special_tokens": [
|
| 7 |
+
"<pad>",
|
| 8 |
+
"</s>",
|
| 9 |
+
"<s>"
|
| 10 |
+
],
|
| 11 |
+
"is_local": true,
|
| 12 |
+
"local_files_only": false,
|
| 13 |
+
"model_max_length": 200,
|
| 14 |
+
"pad_token": "<pad>",
|
| 15 |
+
"processor_class": "Tipsv2Processor",
|
| 16 |
+
"token_type_ids_pattern": "all_zeros",
|
| 17 |
+
"tokenizer_class": "Tipsv2Tokenizer",
|
| 18 |
+
"unk_token": "<unk>"
|
| 19 |
+
}
|