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