Transformers
Inference Endpoints
boris commited on
Commit
6ae3d8b
1 Parent(s): f4ca294

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ 1460000/default/checkpoint filter=lfs diff=lfs merge=lfs -text
1460000/_CHECKPOINT_METADATA ADDED
@@ -0,0 +1 @@
 
 
1
+ {"init_timestamp_nsecs": 1720050926314731899, "commit_timestamp_nsecs": 1720051034869877474}
1460000/commit_success.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Checkpoint commit was successful to gs://craiyon_models_europe_west4/cappa_datacomp/1460000
1460000/default/_METADATA ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tree_metadata": {"('params', 'logit_bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "logit_bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'logit_scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "logit_scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'embeddings', 'embeddings', 'embedding', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "embeddings", "key_type": 2}, {"key": "embeddings", "key_type": 2}, {"key": "embedding", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'attention', 'key', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attention", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'attention', 'out', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attention", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'attention', 'query', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attention", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'attention', 'value', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attention", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'cross_attention', 'key', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "cross_attention", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'cross_attention', 'out', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "cross_attention", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'cross_attention', 'query', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "cross_attention", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'cross_attention', 'value', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "cross_attention", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'mlp', 'wi_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "wi_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'mlp', 'wi_1', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "wi_1", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'mlp', 'wo', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "wo", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'post_attention_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "post_attention_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'encoder', 'layers', 'post_cross_attention_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "post_cross_attention_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'logits', 'bias', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "logits", "key_type": 2}, {"key": "bias", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'text', 'logits', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "text", "key_type": 2}, {"key": "logits", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'vision', 'embeddings', 'patch_embeds', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "vision", "key_type": 2}, {"key": "embeddings", "key_type": 2}, {"key": "patch_embeds", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'vision', 'embeddings', 'position_embeds', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "vision", "key_type": 2}, {"key": "embeddings", "key_type": 2}, {"key": "position_embeds", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'vision', 'embeddings', 'registers', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "vision", "key_type": 2}, {"key": "embeddings", "key_type": 2}, {"key": "registers", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'vision', 'encoder', 'layers', 'attention', 'key', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "vision", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attention", "key_type": 2}, {"key": "key", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'vision', 'encoder', 'layers', 'attention', 'out', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "vision", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attention", "key_type": 2}, {"key": "out", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'vision', 'encoder', 'layers', 'attention', 'query', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "vision", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attention", "key_type": 2}, {"key": "query", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'vision', 'encoder', 'layers', 'attention', 'value', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "vision", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "attention", "key_type": 2}, {"key": "value", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'vision', 'encoder', 'layers', 'mlp', 'wi_0', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "vision", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "wi_0", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'vision', 'encoder', 'layers', 'mlp', 'wi_1', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "vision", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "wi_1", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'vision', 'encoder', 'layers', 'mlp', 'wo', 'kernel', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "vision", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "mlp", "key_type": 2}, {"key": "wo", "key_type": 2}, {"key": "kernel", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}, "('params', 'vision', 'encoder', 'layers', 'post_attention_norm', 'scale', 'value')": {"key_metadata": [{"key": "params", "key_type": 2}, {"key": "vision", "key_type": 2}, {"key": "encoder", "key_type": 2}, {"key": "layers", "key_type": 2}, {"key": "post_attention_norm", "key_type": 2}, {"key": "scale", "key_type": 2}, {"key": "value", "key_type": 2}], "value_metadata": {"value_type": "jax.Array", "skip_deserialize": true}}}, "use_zarr3": false}
1460000/default/checkpoint ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ab0d575578ee4a8940f80e51571735979ead4005315ea772779c412d30b33b6
3
+ size 2705819122
1460000/default/commit_success.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Checkpoint commit was successful to gs://craiyon_models_europe_west4/cappa_datacomp/1460000/default
1460000/metrics/commit_success.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Checkpoint commit was successful to gs://craiyon_models_europe_west4/cappa_datacomp/1460000/metrics
config.json ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "text_config": {
3
+ "float32_logits": true,
4
+ "dtype": "bfloat16",
5
+ "activations": [
6
+ "gelu",
7
+ "linear"
8
+ ],
9
+ "normalize_qk": false,
10
+ "use_bias": false,
11
+ "force_scale": false,
12
+ "attention_dropout": 0.0,
13
+ "mlp_dropout_rate": 0.0,
14
+ "unroll": 100,
15
+ "remat_policy": "none",
16
+ "eos_token_id": 2,
17
+ "mask_token_id": 4,
18
+ "pad_token_id": 3,
19
+ "bos_token_id": 1,
20
+ "masked_pred_prob": 0.75,
21
+ "is_decoder": true,
22
+ "pool_type": null,
23
+ "num_queries": 1,
24
+ "vocab_size": 65536,
25
+ "hidden_size": 1024,
26
+ "max_length": 64,
27
+ "num_layers": 12,
28
+ "use_rmsnorm": true,
29
+ "ln_type": "normformer",
30
+ "num_heads": 16,
31
+ "position_embedding_type": "rotary",
32
+ "use_causal_mask": true,
33
+ "mlp_dim": 3072
34
+ },
35
+ "vision_config": {
36
+ "float32_logits": true,
37
+ "position_embedding_type": "learnt",
38
+ "position_embedding_shape": null,
39
+ "position_embedding_factorized": false,
40
+ "dtype": "bfloat16",
41
+ "activations": [
42
+ "gelu",
43
+ "linear"
44
+ ],
45
+ "normalize_qk": false,
46
+ "use_bias": false,
47
+ "force_scale": false,
48
+ "attention_dropout": 0.0,
49
+ "mlp_dropout_rate": 0.0,
50
+ "pool_type": null,
51
+ "unroll": 100,
52
+ "registers": 8,
53
+ "keep_registers": true,
54
+ "remat_policy": "none",
55
+ "num_queries": 1,
56
+ "image_size": 256,
57
+ "hidden_size": 1024,
58
+ "patch_size": 16,
59
+ "num_layers": 24,
60
+ "use_rmsnorm": true,
61
+ "ln_type": "normformer",
62
+ "num_heads": 16,
63
+ "use_causal_mask": false,
64
+ "mlp_dim": 3072
65
+ },
66
+ "projection_dim": 1024,
67
+ "logit_scale_init_value": 2.3,
68
+ "logit_bias_init_value": -10.0,
69
+ "dtype": "bfloat16"
70
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[UNK]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[PAD]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "mask_token": "[MASK]",
47
+ "model_max_length": 1000000000000000019884624838656,
48
+ "pad_token": "[PAD]",
49
+ "sep_token": "[SEP]",
50
+ "tokenizer_class": "PreTrainedTokenizerFast",
51
+ "unk_token": "[UNK]"
52
+ }