Instructions to use nvidia/DAM-3B-Self-Contained with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Describe Anything
How to use nvidia/DAM-3B-Self-Contained with Describe Anything:
# pip install git+https://github.com/NVlabs/describe-anything from huggingface_hub import snapshot_download from dam import DescribeAnythingModel snapshot_download(nvidia/DAM-3B-Self-Contained, local_dir="checkpoints") dam = DescribeAnythingModel( model_path="checkpoints", conv_mode="v1", prompt_mode="focal_prompt", )
- Notebooks
- Google Colab
- Kaggle
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "pad_token_id": 0, | |
| "transformers_version": "4.36.2" | |
| } | |