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:
# pip install -U transformers accelerate # 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
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (e189ccc01fa6acf6081af7af064185e44d07d840) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>4fbb8d2
-
Upload model
e814652 -
Upload tokenizer
962f352 -
Upload model
b689250 -
initial commit
Younes Belkada9b09ffc