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: 129 Bytes
35925f7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:56da3f56b5257e09c4ef4c62191ebda9bbd4a84c86027539f1b329bd757de4e9
size 3247
|