{"id":13958332,"url":"https://github.com/danyang-liu/KRED","last_synced_at":"2025-07-20T23:31:10.336Z","repository":{"id":45266953,"uuid":"284237952","full_name":"danyang-liu/KRED","owner":"danyang-liu","description":"This is the source code for paper: KRED: Knowledge-Aware Document Representation for NewsRecommendations","archived":false,"fork":false,"pushed_at":"2021-07-12T09:28:37.000Z","size":67409,"stargazers_count":44,"open_issues_count":7,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-09T13:18:34.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danyang-liu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-01T10:26:48.000Z","updated_at":"2024-04-17T09:51:06.000Z","dependencies_parsed_at":"2022-09-10T11:31:10.312Z","dependency_job_id":null,"html_url":"https://github.com/danyang-liu/KRED","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyang-liu%2FKRED","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyang-liu%2FKRED/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyang-liu%2FKRED/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danyang-liu%2FKRED/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danyang-liu","download_url":"https://codeload.github.com/danyang-liu/KRED/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226844985,"owners_count":17691138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-08T13:01:29.753Z","updated_at":"2024-11-28T01:31:46.252Z","avatar_url":"https://github.com/danyang-liu.png","language":"Python","funding_links":[],"categories":["其他_推荐系统"],"sub_categories":["网络服务_其他"],"readme":"## Introduction\n\nThis repository is the implementation of [KRED: Knowledge-Aware Document Representation for News Recommendations](https://arxiv.org/abs/1910.11494)\n\n## Model description\n\n![](./framework.PNG)\n\nKRED 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).\n\n##  Data description:\n\nWe use [MIND dataset](https://msnews.github.io) 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.\n\n##  Running the code\n```\n$ python main.py  (this will run KRED for user2item single task training set by default parameters)\n```\n\nwe also offer a quick example in this notebook: kred_example.ipynb\n\n\n## Environment\nThe code has been tested running under Python 3.6.10, with the following packages installed (along with their dependencies):\n- numpy==1.19.1\n- pytorchtools==0.0.2\n- scikit-learn==0.23.2\n- scipy==1.5.2\n- torch==1.4.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanyang-liu%2FKRED","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanyang-liu%2FKRED","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanyang-liu%2FKRED/lists"}