Text Classification
Transformers
Safetensors
English
distilbert
sentiment
football
fine-tuning
text-embeddings-inference
Instructions to use kevinkyi/Homework2_Finetuning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kevinkyi/Homework2_Finetuning with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kevinkyi/Homework2_Finetuning")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("kevinkyi/Homework2_Finetuning") model = AutoModelForSequenceClassification.from_pretrained("kevinkyi/Homework2_Finetuning") - Notebooks
- Google Colab
- Kaggle
| { | |
| "eval_loss": 0.0029852271545678377, | |
| "eval_accuracy": 1.0, | |
| "eval_precision": 1.0, | |
| "eval_recall": 1.0, | |
| "eval_f1": 1.0, | |
| "eval_runtime": 0.3123, | |
| "eval_samples_per_second": 352.273, | |
| "eval_steps_per_second": 22.417, | |
| "epoch": 4.0 | |
| } |