How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("reachosen/autotrain-palv1-76806140361", dtype="auto")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Binary Classification
  • Model ID: 76806140361
  • CO2 Emissions (in grams): 1.2993

Validation Metrics

  • Loss: 0.192
  • Accuracy: 0.919
  • Precision: 1.000
  • Recall: 0.667
  • AUC: 0.978
  • F1: 0.800

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
3
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support