Instructions to use alex2awesome/quote-type-prediction__basic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alex2awesome/quote-type-prediction__basic with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alex2awesome/quote-type-prediction__basic")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alex2awesome/quote-type-prediction__basic") model = AutoModelForSequenceClassification.from_pretrained("alex2awesome/quote-type-prediction__basic", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download post-training eval_results.json from alex2awesome/quote-type-prediction__basic: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/alex2awesome/quote-type-prediction__basic/resolve/main/post-training%20eval_results.json
- Command line
-
hf download 'hf://alex2awesome/quote-type-prediction__basic/post-training eval_results.json'
-
curl -L -o 'post-training eval_results.json' https://huggingface.co/alex2awesome/quote-type-prediction__basic/resolve/main/post-training%20eval_results.json
290 Bytes
| { | |
| "eval_samples": 2737, | |
| "test_accuracy": 0.7168432590427475, | |
| "test_loss": 0.8912712335586548, | |
| "test_macro_f1": 0.5103889782929176, | |
| "test_micro_f1": 0.7168432590427475, | |
| "test_runtime": 5.8747, | |
| "test_samples_per_second": 465.9, | |
| "test_steps_per_second": 3.745 | |
| } |