Instructions to use peft-internal-testing/tiny-clip-text-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use peft-internal-testing/tiny-clip-text-2 with Transformers:
# Load model directly from transformers import AutoTokenizer, CLIPTextModelWithProjection tokenizer = AutoTokenizer.from_pretrained("peft-internal-testing/tiny-clip-text-2") model = CLIPTextModelWithProjection.from_pretrained("peft-internal-testing/tiny-clip-text-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
962f352 | 1 2 3 4 5 6 7 | {
"bos_token": "<|startoftext|>",
"eos_token": "<|endoftext|>",
"pad_token": "<|endoftext|>",
"unk_token": "<|endoftext|>"
}
|