Run this model with HF Jobs
Run nvidia/Cosmos-Embed1-336p 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/nvidia/Cosmos-Embed1-336p. 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/nvidia/Cosmos-Embed1-336p 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 nvidia/Cosmos-Embed1-336p with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Cosmos
How to use nvidia/Cosmos-Embed1-336p with Cosmos:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- NeMo
How to use nvidia/Cosmos-Embed1-336p with NeMo:
# tag did not correspond to a valid NeMo domain.
- Notebooks
- Google Colab
- Kaggle
Update modeling_qformer to support latest transformers (#1)
Browse files- Update modeling_qformer to support latest transformers (ad2605ff65ca47c9b7f88d94bbaa918275226f44)
Co-authored-by: Ao Tang <thhaus@users.noreply.huggingface.co>
40 unmodified lines41424344454640 unmodified lines)from transformers.modeling_utils import (PreTrainedModel,apply_chunking_to_forward,find_pruneable_heads_and_indices,prune_linear_layer,40 unmodified lines414243444546474840 unmodified lines)from transformers.modeling_utils import (PreTrainedModel,)from transformers.pytorch_utils import (apply_chunking_to_forward,find_pruneable_heads_and_indices,prune_linear_layer,
modeling_qformer.py+2