|
Download README.md from ceilf6/imdb-sentiment-mlp: direct link, hf CLI and curl.
- Browser
- Download file 849 Bytes
-
https://huggingface.co/ceilf6/imdb-sentiment-mlp/resolve/main/README.md
- Command line
-
hf download hf://ceilf6/imdb-sentiment-mlp/README.md
-
curl -L -o README.md https://huggingface.co/ceilf6/imdb-sentiment-mlp/resolve/main/README.md
849 Bytes
metadata
license: mit
language:
- en
tags:
- sentiment-analysis
- imdb
- scikit-learn
- mlp
- text-classification
pipeline_tag: text-classification
IMDB Sentiment MLP
This model is a course project for IMDB movie-review sentiment classification.
It uses a TF-IDF text representation followed by a small scikit-learn MLP neural network.
Metrics
- Accuracy: 82.00%
- Train samples: 400
- Test samples: 100
- Dataset:
imdb_top_500.csv - Labels:
0 = negative,1 = positive
Files
model.joblib: full scikit-learn pipelinevectorizer.joblib: standalone TF-IDF vectorizermetrics.json: training and evaluation metrics
Example
import joblib
model = joblib.load("model.joblib")
prediction = model.predict(["This movie is great and deeply moving."])[0]
print("positive" if prediction == 1 else "negative")