Push model using huggingface_hub.
Browse files- README.md +10 -0
- config.json +65 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +31 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: cube
|
3 |
+
tags:
|
4 |
+
- model_hub_mixin
|
5 |
+
- pytorch_model_hub_mixin
|
6 |
+
---
|
7 |
+
|
8 |
+
This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration:
|
9 |
+
- Library: https://github.com/Roblox/cube
|
10 |
+
- Docs: [More Information Needed]
|
config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"clip_config": {
|
3 |
+
"_attn_implementation_autoset": true,
|
4 |
+
"attention_dropout": 0.0,
|
5 |
+
"bos_token_id": 0,
|
6 |
+
"dropout": 0.0,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"hidden_act": "quick_gelu",
|
9 |
+
"hidden_size": 768,
|
10 |
+
"initializer_factor": 1.0,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 3072,
|
13 |
+
"layer_norm_eps": 1e-05,
|
14 |
+
"max_position_embeddings": 77,
|
15 |
+
"model_type": "clip_text_model",
|
16 |
+
"num_attention_heads": 12,
|
17 |
+
"num_hidden_layers": 12,
|
18 |
+
"pad_token_id": 1,
|
19 |
+
"projection_dim": 768,
|
20 |
+
"torch_dtype": "float32",
|
21 |
+
"transformers_version": "4.50.1",
|
22 |
+
"vocab_size": 49408
|
23 |
+
},
|
24 |
+
"config_path": {
|
25 |
+
"gpt_model": {
|
26 |
+
"bias": true,
|
27 |
+
"encoder_with_cls_token": true,
|
28 |
+
"eps": 1e-06,
|
29 |
+
"n_embd": 1536,
|
30 |
+
"n_head": 12,
|
31 |
+
"n_layer": 23,
|
32 |
+
"n_single_layer": 1,
|
33 |
+
"rope_theta": 10000,
|
34 |
+
"shape_model_embed_dim": 32,
|
35 |
+
"shape_model_vocab_size": 16384,
|
36 |
+
"text_model_embed_dim": 768,
|
37 |
+
"use_pooled_text_embed": false
|
38 |
+
},
|
39 |
+
"shape_model": {
|
40 |
+
"embed_dim": 32,
|
41 |
+
"embed_point_feats": false,
|
42 |
+
"encoder_cross_attention_levels": [
|
43 |
+
0,
|
44 |
+
2,
|
45 |
+
4,
|
46 |
+
8
|
47 |
+
],
|
48 |
+
"encoder_with_cls_token": true,
|
49 |
+
"eps": 1e-06,
|
50 |
+
"num_codes": 16384,
|
51 |
+
"num_decoder_latents": 0,
|
52 |
+
"num_decoder_layers": 24,
|
53 |
+
"num_encoder_latents": 512,
|
54 |
+
"num_encoder_layers": 13,
|
55 |
+
"num_freqs": 128,
|
56 |
+
"num_heads": 12,
|
57 |
+
"out_dim": 1,
|
58 |
+
"point_feats": 3,
|
59 |
+
"width": 768
|
60 |
+
},
|
61 |
+
"text_model_pretrained_model_name_or_path": "not-lain/cube"
|
62 |
+
},
|
63 |
+
"gpt_ckpt_path": null,
|
64 |
+
"shape_ckpt_path": null
|
65 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:59581c4be208bf7a5e9895edddb811f95b45987bc84703735040165e128bcc37
|
3 |
+
size 8760813404
|
special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|startoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<|endoftext|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"unk_token": {
|
24 |
+
"content": "<|endoftext|>",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
}
|
30 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"49406": {
|
5 |
+
"content": "<|startoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"49407": {
|
13 |
+
"content": "<|endoftext|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"bos_token": "<|startoftext|>",
|
22 |
+
"clean_up_tokenization_spaces": false,
|
23 |
+
"do_lower_case": true,
|
24 |
+
"eos_token": "<|endoftext|>",
|
25 |
+
"errors": "replace",
|
26 |
+
"extra_special_tokens": {},
|
27 |
+
"model_max_length": 77,
|
28 |
+
"pad_token": "<|endoftext|>",
|
29 |
+
"tokenizer_class": "CLIPTokenizer",
|
30 |
+
"unk_token": "<|endoftext|>"
|
31 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|