Run this model with HF Jobs
Run reesu/wine_quality 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/reesu/wine_quality. 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/reesu/wine_quality 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 reesu/wine_quality with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use reesu/wine_quality with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("reesu/wine_quality", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Quick Links
Model Trained Using AutoTrain
- Problem type: Multi-class Classification
- Model ID: 3195889861
- CO2 Emissions (in grams): 8.2768
Validation Metrics
- Loss: 0.995
- Accuracy: 0.569
- Macro F1: 0.296
- Micro F1: 0.569
- Weighted F1: 0.543
- Macro Precision: 0.447
- Micro Precision: 0.569
- Weighted Precision: 0.558
- Macro Recall: 0.283
- Micro Recall: 0.569
- Weighted Recall: 0.569
Usage
import json
import joblib
import pandas as pd
model = joblib.load('model.joblib')
config = json.load(open('config.json'))
features = config['features']
# data = pd.read_csv("data.csv")
data = data[features]
data.columns = ["feat_" + str(col) for col in data.columns]
predictions = model.predict(data) # or model.predict_proba(data)
- Downloads last month
- 11
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("reesu/wine_quality", device_map="auto")