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
Download eval_results.txt from bobo/bobo_classification_function: direct link, hf CLI and curl.
- Browser
- Download file 50 Bytes
-
https://huggingface.co/bobo/bobo_classification_function/resolve/main/eval_results.txt
- Command line
-
hf download hf://bobo/bobo_classification_function/eval_results.txt
-
curl -L -o eval_results.txt https://huggingface.co/bobo/bobo_classification_function/resolve/main/eval_results.txt
50 Bytes
| eval_loss = 0.6493228673934937 | |
| eval_acc = 0.78125 | |