YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Zynema
Content-based movie recommender (TF-IDF genre + director + numeric features, cosine similarity).
Requirements
- Python 3.12.13
Setup
pip install -r requirements.txt
Files
| File | Description |
|---|---|
zynema_model.pkl |
Trained artifacts (TF-IDF vectorizers, scaler, feature matrix, movie metadata) |
zynema-inference.py |
Inference script |
requirements.txt |
Python dependencies |
Usage
Interactive mode:
python zynema-inference.py
CLI mode:
python zynema-inference.py --genre comedy action family --top_n 5
python zynema-inference.py --genre action scifi --director "Quentin Tarantino" --year 1994 --top_n 5
Arguments
| Flag | Required | Description |
|---|---|---|
--genre |
yes | One or more genres, e.g. --genre action scifi |
--director |
no | Director name filter |
--year |
no | Premiere year |
--top_n |
no | Number of results (default 5) |
--model_path |
no | Path to .pkl file (default zynema_model.pkl) |
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support