Instructions to use squeezebert/squeezebert-mnli-headless with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use squeezebert/squeezebert-mnli-headless with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("squeezebert/squeezebert-mnli-headless", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Create tokenizer_config.json
#1
by lysandre HF Staff - opened
The model max length is currently set at a value within the transformers toolkit directly, as can be seen here: https://github.com/huggingface/transformers/blob/main/src/transformers/models/squeezebert/tokenization_squeezebert.py
We're removing these definitions as legacy; we're therefore updating the remote checkpoints to ensure that this information is not lost. Thank you!