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