GithubHelp home page GithubHelp logo

drewparo / kred Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 265.96 MB

Our extensions to KRED: Knowledge-Aware Document Representation for News Recommendations

Python 39.94% Jupyter Notebook 60.06%
job-recommendation kred nlp text job-reccondation

kred's Introduction

Introduction

This repository is the implementation of KRED: Knowledge-Aware Document Representation for News Recommendations

Model description

KRED is a knowledge enhanced framework which enhance a document embedding with knowledge information for multiple news recommendation tasks. The framework mainly contains two part: representation enhancement part(left) and multi-task training part(right).

Data description:

We use MIND dataset in this repo, due to MIND dataset doesn't contain location information, so in this experiments we do not use the local news detection task.

Running the code

$ python main.py  (this will run KRED for user2item single task training set by default parameters)

we also offer a quick example in this notebook: kred_example.ipynb

Environment

The code has been tested running under Python 3.6.10, with the following packages installed (along with their dependencies):

  • numpy==1.19.1
  • pytorchtools==0.0.2
  • scikit-learn==0.23.2
  • scipy==1.5.2
  • torch==1.4.0

Extensions

Adressa Exploration: Branch Adressa

Jobs Recommedation: Branch Job Recommandation

kred's People

Contributors

danyang-liu avatar drewparo avatar jasgu25 avatar lorenzomelchionna avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.