Félix Marty commited on
Commit
0c17cce
1 Parent(s): ac96012
Files changed (3) hide show
  1. README.md +2 -0
  2. config.json +35 -0
  3. pytorch_model.bin +3 -0
README.md CHANGED
@@ -1,3 +1,5 @@
1
  ---
2
  license: mit
3
  ---
 
 
 
1
  ---
2
  license: mit
3
  ---
4
+
5
+ Real models as google/owlvit-base-patch16 have non-contiguous weights in their state dict. This is for testing purposes.
config.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hf-tiny-model-private/tiny-random-OwlViTModel",
3
+ "architectures": [
4
+ "OwlViTForObjectDetection"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "initializer_factor": 1.0,
9
+ "logit_scale_init_value": 2.6592,
10
+ "model_type": "owlvit",
11
+ "pad_token_id": 0,
12
+ "projection_dim": 64,
13
+ "text_config": {
14
+ "attention_dropout": 0.1,
15
+ "dropout": 0.1,
16
+ "hidden_size": 64,
17
+ "intermediate_size": 37,
18
+ "model_type": "owlvit_text_model",
19
+ "num_attention_heads": 4,
20
+ "vocab_size": 1024
21
+ },
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.37.0.dev0",
24
+ "vision_config": {
25
+ "attention_dropout": 0.1,
26
+ "dropout": 0.1,
27
+ "hidden_size": 32,
28
+ "image_size": 32,
29
+ "intermediate_size": 37,
30
+ "model_type": "owlvit_vision_model",
31
+ "num_attention_heads": 4,
32
+ "num_hidden_layers": 5,
33
+ "patch_size": 2
34
+ }
35
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb24c3ab43fbb9abab87386fbcbeedc50da7e53cd176b7f52df5de96d426754b
3
+ size 1626810