Instructions to use typeform/squeezebert-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use typeform/squeezebert-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="typeform/squeezebert-mnli")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("typeform/squeezebert-mnli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
David Chu040a407 -
Update config.json
David Chuba78a32 -
Update config.json
David Chu3eb0228 -
Update config.json
David Chu1fc6466 -
Update config.json
David Chuf70e06a -
fix: add label2id and id2label
David Chu625d89b -
add model
David ChuUnverified signaturecbe46fb -
Create README.md
David Chue28a5ea -
initial commit
2afcf52