Alara Dirik commited on
Commit
171eb6c
1 Parent(s): 3c0edda

Added model and processor

Browse files
Files changed (3) hide show
  1. config.json +7 -5
  2. pytorch_model.bin +2 -2
  3. tokenizer_config.json +1 -0
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "adirik/owlvit-base-patch32",
3
  "architectures": [
4
  "OwlViTForObjectDetection"
5
  ],
@@ -13,7 +13,7 @@
13
  "architectures": null,
14
  "attention_dropout": 0.0,
15
  "bad_words_ids": null,
16
- "bos_token_id": 49406,
17
  "chunk_size_feed_forward": 0,
18
  "cross_attention_hidden_size": null,
19
  "decoder_start_token_id": null,
@@ -22,7 +22,7 @@
22
  "dropout": 0.0,
23
  "early_stopping": false,
24
  "encoder_no_repeat_ngram_size": 0,
25
- "eos_token_id": 49407,
26
  "exponential_decay_length_penalty": null,
27
  "finetuning_task": null,
28
  "forced_bos_token_id": null,
@@ -44,7 +44,7 @@
44
  },
45
  "layer_norm_eps": 1e-05,
46
  "length_penalty": 1.0,
47
- "max_length": 20,
48
  "max_position_embeddings": 16,
49
  "min_length": 0,
50
  "model_type": "owlvit_text_model",
@@ -57,7 +57,7 @@
57
  "output_attentions": false,
58
  "output_hidden_states": false,
59
  "output_scores": false,
60
- "pad_token_id": 0,
61
  "prefix": null,
62
  "problem_type": null,
63
  "pruned_heads": {},
@@ -68,6 +68,7 @@
68
  "sep_token_id": null,
69
  "task_specific_params": null,
70
  "temperature": 1.0,
 
71
  "tie_encoder_decoder": false,
72
  "tie_word_embeddings": true,
73
  "tokenizer_class": null,
@@ -145,6 +146,7 @@
145
  "sep_token_id": null,
146
  "task_specific_params": null,
147
  "temperature": 1.0,
 
148
  "tie_encoder_decoder": false,
149
  "tie_word_embeddings": true,
150
  "tokenizer_class": null,
 
1
  {
2
+ "_name_or_path": "google/owlvit-base-patch32",
3
  "architectures": [
4
  "OwlViTForObjectDetection"
5
  ],
 
13
  "architectures": null,
14
  "attention_dropout": 0.0,
15
  "bad_words_ids": null,
16
+ "bos_token_id": 0,
17
  "chunk_size_feed_forward": 0,
18
  "cross_attention_hidden_size": null,
19
  "decoder_start_token_id": null,
 
22
  "dropout": 0.0,
23
  "early_stopping": false,
24
  "encoder_no_repeat_ngram_size": 0,
25
+ "eos_token_id": 2,
26
  "exponential_decay_length_penalty": null,
27
  "finetuning_task": null,
28
  "forced_bos_token_id": null,
 
44
  },
45
  "layer_norm_eps": 1e-05,
46
  "length_penalty": 1.0,
47
+ "max_length": 16,
48
  "max_position_embeddings": 16,
49
  "min_length": 0,
50
  "model_type": "owlvit_text_model",
 
57
  "output_attentions": false,
58
  "output_hidden_states": false,
59
  "output_scores": false,
60
+ "pad_token_id": 1,
61
  "prefix": null,
62
  "problem_type": null,
63
  "pruned_heads": {},
 
68
  "sep_token_id": null,
69
  "task_specific_params": null,
70
  "temperature": 1.0,
71
+ "tf_legacy_loss": false,
72
  "tie_encoder_decoder": false,
73
  "tie_word_embeddings": true,
74
  "tokenizer_class": null,
 
146
  "sep_token_id": null,
147
  "task_specific_params": null,
148
  "temperature": 1.0,
149
+ "tf_legacy_loss": false,
150
  "tie_encoder_decoder": false,
151
  "tie_word_embeddings": true,
152
  "tokenizer_class": null,
pytorch_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:98392872655742d88a13a7956c71dc8efce7242c940d8f1e3c149b17ea878eaa
3
- size 613046985
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c393d464db060931cbe461fb0fad1225d249655f40e69117dd5e0045a53e828
3
+ size 613051973
tokenizer_config.json CHANGED
@@ -22,6 +22,7 @@
22
  "name_or_path": "openai/clip-vit-base-patch32",
23
  "pad_token": "!",
24
  "processor_class": "OwlViTProcessor",
 
25
  "tokenizer_class": "CLIPTokenizer",
26
  "unk_token": {
27
  "__type": "AddedToken",
 
22
  "name_or_path": "openai/clip-vit-base-patch32",
23
  "pad_token": "!",
24
  "processor_class": "OwlViTProcessor",
25
+ "special_tokens_map_file": "/Users/adirik/.cache/huggingface/transformers/18a566598f286c9139f88160c99f84eec492a26bd22738fa9cb44d5b7e0a5c76.cce1206abbad28826f000510f22f354e53e66a97f7c23745a7dfe27609cc07f5",
26
  "tokenizer_class": "CLIPTokenizer",
27
  "unk_token": {
28
  "__type": "AddedToken",