GithubHelp home page GithubHelp logo

gnrs's Introduction

GreenRec: Green AI Benchmarking for News Recommendation

โญ GreenRec is implemented under the Legommenders framework. All the experiments can be reproduced with Legommenders. This repository will no longer be maintained, thanks!

Environment

pip install -r requirements.txt

Data Processing

Please specify the path to the data in python file

cd process/mind
python processor.py

Configuration

Data

Please refer to config_v2/data/mind.yaml for the data configuration.

Model

We support the following models on both MIND small and large datasets:

NAML LSTUR NRMS DCN DIN BST
ID-based ID-NAML ID-LSTUR ID-NRMS DCN DIN BST
text-based NAML LSTUR NRMS text-DCN text-DIN text-BST
PLMNR PLMNR-NAML PLMNR-LSTUR PLMNR-NRMS PLMNR-DCN PLMNR-DIN PLMNR-BST
BERT BERT-NAML BERT-LSTUR BERT-NRMS BERT-DCN BERT-DIN BERT-BST
MFT MFT-NAML MFT-LSTUR MFT-NRMS MFT-DCN MFT-DIN MFT-BST

Training and Testing

python worker.py 
    --config config/data/mind.yaml 
    --model config/model/nrms.yaml 
    --exp config/exp/tt-nrms.yaml
    --embed config/embed/null.yaml
    --version small-v2 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.