Run this model with HF Jobs
Run valhalla/cogview-vqvae-test on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/valhalla/cogview-vqvae-test. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/valhalla/cogview-vqvae-test on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use valhalla/cogview-vqvae-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use valhalla/cogview-vqvae-test with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import CogViewVQVAE model = CogViewVQVAE.from_pretrained("valhalla/cogview-vqvae-test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
add model
Browse filesFiles changed (2)
- config.jsonAdded+39
- pytorch_model.binAdded+3
123456789101112131415161718192021222324252627282930313233343536373839{ "activation_function": "gelu_fast", "architectures": [ "CogViewVQVAE" ], "attn_pdrop": 0.1, "bos_token_id": 50256, "conv_channels": 512, "embd_pdrop": 0.1, "eos_token_id": 50256, "gradient_checkpointing": false, "in_channels": 3, "initializer_range": 0.02, "layer_norm_epsilon": 1e-05, "model_type": "cog_view", "n_ctx": 1024, "n_embd": 768, "n_head": 12, "n_inner": null, "n_layer": 12, "n_positions": 1024, "n_res_block": 0, "res_channels": 32, "resid_pdrop": 0.1, "scale_attn_weights": true, "scale_normalization": true, "simple": true, "stride": 6, "summary_activation": null, "summary_first_dropout": 0.1, "summary_proj_to_labels": true, "summary_type": "cls_index", "summary_use_proj": true, "transformers_version": "4.8.0.dev0", "use_cache": true, "vocab_size": 50257, "vq_vae_embed_dim": 256, "vq_vae_n_embed": 8192}123version https://git-lfs.github.com/spec/v1oid sha256:9be9318348276089a7e48d565c01deaac6c26f6e0bf37216b172a70a978bc8bdsize 92956506config.jsonAdded+39
pytorch_model.binAdded+3