Run this model with HF Jobs

Run matheusrdgsf/phi-sentiment-analysis-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 and TRL to fine-tune https://huggingface.co/matheusrdgsf/phi-sentiment-analysis-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/matheusrdgsf/phi-sentiment-analysis-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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/matheusrdgsf/phi-sentiment-analysis-model. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/matheusrdgsf/phi-sentiment-analysis-model. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

Model Card for Phi 1.5B Microsoft Trained Sentiment Analysis Model

This model performs sentiment analysis on sentences, classifying them as either 'positive' or 'negative'. It is trained on the IMDB dataset and has been fine-tuned for this task.

Model Details

Model Description

Phi 1.5B Microsoft trained with the IMDB Dataset.

Prompt Used in Training

Your task is to classify sentences' sentiment as 'positive' or 'negative'. Your answer should be one word, either 'positive' or 'negative'. Sentence: {text} Answer:

Inference Example using Hugging Face Inference API

from transformers import pipeline

classifier = pipeline("text-classification", model="matheusrdgsf/phi-sentiment-analysis-model")

result = classifier("I love this movie")
print(result[0]['label'])  # Output: 'POSITIVE'
Downloads last month
15
Safetensors
Model size
1B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support