my-first-ai-model / README.md
BinaryMans's picture
Training in progress, epoch 1
835f9e2 verified
metadata
license: apache-2.0
tags:
  - text-classification
  - binary-classification
pipeline_tag: text-classification
datasets:
  - custom
language:
  - en

πŸš€ My First AI Model

βœ… This is my first text classification model, fine-tuned using distilbert-base-uncased on a binary sentiment dataset.

  • Task: Sentiment Analysis (Positive/Negative)
  • Labels:
    • LABEL_1: Positive
    • LABEL_0: Negative

πŸ“Š Training Data

Custom CSV dataset with two columns:

  • text: The input text.
  • label: 0 for Negative, 1 for Positive.

πŸ§ͺ Metrics

Metric Value
Training Loss ~0.71
Epochs 2

πŸš€ How to use

With πŸ€— transformers (locally):

from transformers import pipeline

clf = pipeline("text-classification", model="BinaryMans/my-first-ai-model")
clf("I love this product!")