Instructions to use textattack/xlnet-base-cased-MNLI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/xlnet-base-cased-MNLI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/xlnet-base-cased-MNLI")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/xlnet-base-cased-MNLI") model = AutoModelForSequenceClassification.from_pretrained("textattack/xlnet-base-cased-MNLI", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update spiece.model
0e13904 -
Update special_tokens_map.json
11d0e8e -
Update pytorch_model.bin
f272da9 -
Update tokenizer_config.json
23496f1 -
Update config.json
52ec515 -
Update training_args.bin
f6bc1f7
-
Update spiece.model
182514c -
Update special_tokens_map.json
ce9e24f -
Update tokenizer_config.json
6df2715 -
Update config.json
b902095 -
initial commit
be1ad66