Instructions to use pszemraj/flan-ul2-text-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pszemraj/flan-ul2-text-encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="pszemraj/flan-ul2-text-encoder")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("pszemraj/flan-ul2-text-encoder") model = AutoModel.from_pretrained("pszemraj/flan-ul2-text-encoder") - Notebooks
- Google Colab
- Kaggle
Ctrl+K
- 1.52 kB
- 5.47 kB
- 665 Bytes
- 737 Bytes
- 1.97 GB xet
- 1.91 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 403 MB xet
- 27.7 kB
- 1.97 GB xet
- 1.91 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 1.88 GB xet
- 403 MB xet
- 26.5 kB
- 2.2 kB
- 792 kB xet
- 2.43 MB
- 2.33 kB