Practical overview
When it fits
Use it when you want a code-level starting point for training and evaluating neural recommenders, and can configure the data and environment yourself.
Who it is for
- Developers adapting PyTorch recommendation-model code.
- Researchers and learners comparing neural collaborative-filtering approaches.
- Teams experimenting with implicit-feedback recommendation from interaction data.
Documented uses
- Train GMF, MLP or NeuMF recommendation models from user–item interactions.
- Prepare train and test data for an experiment.
- Evaluate recommendation ranking with hit ratio and NDCG.
- Explore interactions represented as binary implicit feedback.
Requirements & limits
- The repository provides model, data-preparation, training-engine and metric code rather than a hosted recommendation interface.
- Its README documents CPU training and a PyTorch 1.0 GPU path; GPU use with PyTorch 2.3.1 is untested.
- The example hyperparameters are not tuned, and the README discusses embedding pretraining and regularization as factors affecting results.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Train a recommendation model with the included entry point
Use the repository's documented training script and configuration for a user–item recommendation experiment.
Before you start
- A local copy of the repository.
- PyTorch; the README documents CPU and GPU operation with version 1.0, and CPU operation with version 2.3.1.
- A prepared user–item dataset; MovieLens 1M is the dataset used to test the repository.
Steps
Review the configuration in train.py and adjust its hyperparameters for the experiment.
Run the documented command: python train.py.
Expected outcome
The training entry point runs the repository's NCF training workflow; the codebase includes GMF, MLP and NeuMF models and HR/NDCG evaluation metrics.
Guide limitations
- The README's reported hyperparameters are not tuned.
- GPU support with PyTorch 2.3.1 is untested.
- Large GMF L2 regularization may result in HR and NDCG values of zero.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 11 November 2026
- Original website title
- yihong-chen/neural-collaborative-filtering · Official homepage title · retained in its source language

