Run this model with HF Jobs
Run maayansharon/climate_text_classification_mini_model on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/maayansharon/climate_text_classification_mini_model. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/maayansharon/climate_text_classification_mini_model on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use maayansharon/climate_text_classification_mini_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maayansharon/climate_text_classification_mini_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="maayansharon/climate_text_classification_mini_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("maayansharon/climate_text_classification_mini_model") model = AutoModelForSequenceClassification.from_pretrained("maayansharon/climate_text_classification_mini_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Fix F1 metric formatting in model card
Browse filesThe F1 score is displayed as a Python dictionary string `{'f1': 0.8709677419354839}` in both the summary and the training results table. This is a formatting error from the automatic generation. I have corrected these to display the numeric value `0.8710` (rounded to 4 decimal places for consistency with other metrics) and cleaned up the table alignment.
---
*Opened automatically by [BananaMindBot](https://huggingface.co/BananaMindBot). Close it if it is not useful - no hard feelings.*
22 unmodified lines2324252627282922 unmodified lines5253545556575859606122 unmodified lines- Precision: 0.7941- Recall: 0.9643- Accuracy: 0.8- F1: {'f1': 0.8709677419354839}## Model description22 unmodified lines### Training results| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Accuracy | F1 ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--------:|:--------------------------:|| No log | 1.0 | 10 | 0.5469 | 0.875 | 0.75 | 0.75 | {'f1': 0.8076923076923077} || No log | 2.0 | 20 | 0.7516 | 0.7941 | 0.9643 | 0.8 | {'f1': 0.8709677419354839} |### Framework versions22 unmodified lines2324252627282922 unmodified lines5253545556575859606122 unmodified lines- Precision: 0.7941- Recall: 0.9643- Accuracy: 0.8- F1: 0.8710## Model description22 unmodified lines### Training results| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | Accuracy | F1 ||:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:--------:|:------:|| No log | 1.0 | 10 | 0.5469 | 0.875 | 0.75 | 0.75 | 0.8077 || No log | 2.0 | 20 | 0.7516 | 0.7941 | 0.9643 | 0.8 | 0.8710 |### Framework versions