Text-to-3D
Transformers
Safetensors
English
deltaregion
feature-extraction
flame
3dmm
3d-face
face-shape-editing
text-guided-editing
cvae
avatar
gaussian-splatting
custom_code
Instructions to use a-canela/DeltaRegion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use a-canela/DeltaRegion with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("a-canela/DeltaRegion", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from a-canela/DeltaRegion: direct link, hf CLI and curl.
- Browser
- Download file 2.58 kB
-
https://huggingface.co/a-canela/DeltaRegion/resolve/main/config.json
- Command line
-
hf download hf://a-canela/DeltaRegion/config.json
-
curl -L -o config.json https://huggingface.co/a-canela/DeltaRegion/resolve/main/config.json
2.58 kB
| { | |
| "architectures": [ | |
| "DeltaRegionModel" | |
| ], | |
| "attribute_names": [ | |
| "face", | |
| "nose", | |
| "lips", | |
| "ears", | |
| "neck", | |
| "eyes" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "modeling_deltaregion.DeltaRegionConfig", | |
| "AutoModel": "modeling_deltaregion.DeltaRegionModel" | |
| }, | |
| "cross_attention": { | |
| "d_model": 512, | |
| "dropout": 0.1, | |
| "num_heads": 8 | |
| }, | |
| "delta_decoder": { | |
| "dropout": 0.15, | |
| "final_activation": null, | |
| "hidden_dims": [ | |
| 768, | |
| 512, | |
| 512 | |
| ], | |
| "use_layer_norm": false | |
| }, | |
| "dims_per_attribute": 8, | |
| "dtype": "float32", | |
| "fused_dropout_rate": 0.3, | |
| "gate_net": { | |
| "dropout": 0.15, | |
| "final_activation": null, | |
| "hidden_dims": [ | |
| 512 | |
| ], | |
| "use_layer_norm": false | |
| }, | |
| "inference_prior_scale": 1.2, | |
| "max_text_length": 128, | |
| "model_type": "deltaregion", | |
| "posterior_net": { | |
| "delta_encoder_hidden_dims": [ | |
| 512, | |
| 512 | |
| ], | |
| "dropout": 0.15, | |
| "final_activation": null, | |
| "hidden_dims": [ | |
| 768, | |
| 512 | |
| ], | |
| "use_layer_norm": true | |
| }, | |
| "prior_net": { | |
| "dropout": 0.15, | |
| "final_activation": null, | |
| "hidden_dims": [ | |
| 768, | |
| 512 | |
| ], | |
| "use_layer_norm": true | |
| }, | |
| "shape_dim": 300, | |
| "shape_encoder": { | |
| "dropout": 0.15, | |
| "final_activation": null, | |
| "hidden_dims": [ | |
| 512, | |
| 512 | |
| ], | |
| "use_layer_norm": true | |
| }, | |
| "t5_config": { | |
| "chunk_size_feed_forward": 0, | |
| "classifier_dropout": 0.0, | |
| "d_ff": 2816, | |
| "d_kv": 64, | |
| "d_model": 1024, | |
| "decoder_start_token_id": 0, | |
| "dense_act_fn": "gelu_new", | |
| "dropout_rate": 0.1, | |
| "eos_token_id": 1, | |
| "feed_forward_proj": "gated-gelu", | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "initializer_factor": 1.0, | |
| "is_decoder": false, | |
| "is_encoder_decoder": true, | |
| "is_gated_act": true, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "layer_norm_epsilon": 1e-06, | |
| "model_type": "t5", | |
| "n_positions": 512, | |
| "num_decoder_layers": 24, | |
| "num_heads": 16, | |
| "num_layers": 24, | |
| "output_attentions": false, | |
| "output_hidden_states": false, | |
| "output_past": true, | |
| "pad_token_id": 0, | |
| "problem_type": null, | |
| "relative_attention_max_distance": 128, | |
| "relative_attention_num_buckets": 32, | |
| "return_dict": true, | |
| "scale_decoder_outputs": false, | |
| "tie_word_embeddings": true, | |
| "use_cache": true, | |
| "vocab_size": 32128 | |
| }, | |
| "text_dim": 1024, | |
| "text_model_name": "google/flan-t5-large", | |
| "tie_word_embeddings": false, | |
| "transformers_version": "5.23.0" | |
| } | |