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