Instructions to use AstraMindAI/Clap_modified with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AstraMindAI/Clap_modified with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, ClapTextModelWithProjection tokenizer = AutoTokenizer.from_pretrained("AstraMindAI/Clap_modified") model = ClapTextModelWithProjection.from_pretrained("AstraMindAI/Clap_modified", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from AstraMindAI/Clap_modified: direct link, hf CLI and curl.
- Browser
- Download file 3.56 MB
-
https://huggingface.co/AstraMindAI/Clap_modified/resolve/main/tokenizer.json
- Command line
-
hf download hf://AstraMindAI/Clap_modified/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/AstraMindAI/Clap_modified/resolve/main/tokenizer.json
3.56 MB
File too large to display, you can check the raw version instead.