Instructions to use howey/electra-small-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use howey/electra-small-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="howey/electra-small-mnli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("howey/electra-small-mnli") model = AutoModelForSequenceClassification.from_pretrained("howey/electra-small-mnli", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
9e8a6bd | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ae86727df22707ba56d68b5ddcfb5bc33a78d66726399f78d3276adcf8c9dae5
size 54287585
|