Adding tf weights.
This commit is contained in:
parent
76a74407e7
commit
8cdd434766
12
config.json
12
config.json
|
@ -1,4 +1,8 @@
|
||||||
{
|
{
|
||||||
|
"_name_or_path": "../tiny-random-clip-zero-shot-image-classification/",
|
||||||
|
"architectures": [
|
||||||
|
"CLIPModel"
|
||||||
|
],
|
||||||
"initializer_factor": 1.0,
|
"initializer_factor": 1.0,
|
||||||
"logit_scale_init_value": 2.6592,
|
"logit_scale_init_value": 2.6592,
|
||||||
"model_type": "clip",
|
"model_type": "clip",
|
||||||
|
@ -11,6 +15,7 @@
|
||||||
"bad_words_ids": null,
|
"bad_words_ids": null,
|
||||||
"bos_token_id": 0,
|
"bos_token_id": 0,
|
||||||
"chunk_size_feed_forward": 0,
|
"chunk_size_feed_forward": 0,
|
||||||
|
"cross_attention_hidden_size": null,
|
||||||
"decoder_start_token_id": null,
|
"decoder_start_token_id": null,
|
||||||
"diversity_penalty": 0.0,
|
"diversity_penalty": 0.0,
|
||||||
"do_sample": false,
|
"do_sample": false,
|
||||||
|
@ -70,7 +75,8 @@
|
||||||
"top_p": 1.0,
|
"top_p": 1.0,
|
||||||
"torch_dtype": null,
|
"torch_dtype": null,
|
||||||
"torchscript": false,
|
"torchscript": false,
|
||||||
"transformers_version": "4.11.0.dev0",
|
"transformers_version": "4.17.0.dev0",
|
||||||
|
"typical_p": 1.0,
|
||||||
"use_bfloat16": false,
|
"use_bfloat16": false,
|
||||||
"vocab_size": 99
|
"vocab_size": 99
|
||||||
},
|
},
|
||||||
|
@ -154,6 +160,7 @@
|
||||||
"bad_words_ids": null,
|
"bad_words_ids": null,
|
||||||
"bos_token_id": null,
|
"bos_token_id": null,
|
||||||
"chunk_size_feed_forward": 0,
|
"chunk_size_feed_forward": 0,
|
||||||
|
"cross_attention_hidden_size": null,
|
||||||
"decoder_start_token_id": null,
|
"decoder_start_token_id": null,
|
||||||
"diversity_penalty": 0.0,
|
"diversity_penalty": 0.0,
|
||||||
"do_sample": false,
|
"do_sample": false,
|
||||||
|
@ -215,7 +222,8 @@
|
||||||
"top_p": 1.0,
|
"top_p": 1.0,
|
||||||
"torch_dtype": null,
|
"torch_dtype": null,
|
||||||
"torchscript": false,
|
"torchscript": false,
|
||||||
"transformers_version": "4.11.0.dev0",
|
"transformers_version": "4.17.0.dev0",
|
||||||
|
"typical_p": 1.0,
|
||||||
"use_bfloat16": false
|
"use_bfloat16": false
|
||||||
},
|
},
|
||||||
"vision_config_dict": {
|
"vision_config_dict": {
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue