{"id":18685782,"url":"https://github.com/shaoxiongji/fed-att","last_synced_at":"2025-04-22T15:24:49.336Z","repository":{"id":119451167,"uuid":"162122348","full_name":"shaoxiongji/fed-att","owner":"shaoxiongji","description":"Attentive Federated Learning for Private NLM","archived":false,"fork":false,"pushed_at":"2024-07-25T10:13:51.000Z","size":11,"stargazers_count":61,"open_issues_count":4,"forks_count":17,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T16:23:10.720Z","etag":null,"topics":["attention-mechanism","deep-learning","federated-learning","language-modeling","pytorch"],"latest_commit_sha":null,"homepage":"https://arxiv.org/abs/1812.07108","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shaoxiongji.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-17T11:45:55.000Z","updated_at":"2025-03-03T21:22:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"e5bb816b-5e1b-4565-bc96-9f767cb6726d","html_url":"https://github.com/shaoxiongji/fed-att","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"ab9e53700f9a5edc511cd0fce9a13d315711a783"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaoxiongji%2Ffed-att","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaoxiongji%2Ffed-att/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaoxiongji%2Ffed-att/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaoxiongji%2Ffed-att/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaoxiongji","download_url":"https://codeload.github.com/shaoxiongji/fed-att/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250265682,"owners_count":21402154,"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":["attention-mechanism","deep-learning","federated-learning","language-modeling","pytorch"],"created_at":"2024-11-07T10:24:15.290Z","updated_at":"2025-04-22T15:24:49.299Z","avatar_url":"https://github.com/shaoxiongji.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Attentive Federated Learning\n\nThis repository contains the code for the paper [Learning Private Neural Language Modeling with Attentive Aggregation](https://arxiv.org/abs/1812.07108), which is an attentive extention of federated aggregation. A brief introductionary blog is avaiable [here](https://shaoxiongji.github.io/2019/07/11/attentive-federated-learning.html).\n\nFurther reference: a universal federated learning repository implemented by PyTorch - [Federated Learning - PyTorch](https://github.com/shaoxiongji/federated-learning).  \n\n## Run\nRefer to the ```README.md``` under the data folder and download the datasets into their corresponding folders. Enter the source code folder to run the scripts with arguments assigned using ```argparse``` package.\n```\ncd src\npython run.py\n```\n\nSee configs in ```src/utils/options.py```\n\n## Requirements\nPython 3.6  \nPyTorch 0.4.1 \n\n## Cite\n```\n@inproceedings{ji2019learning,\n  title={Learning Private Neural Language Modeling with Attentive Aggregation},\n  author={Ji, Shaoxiong and Pan, Shirui and Long, Guodong and Li, Xue and Jiang, Jing and Huang, Zi},\n  booktitle={International Joint Conference on Neural Networks (IJCNN)},\n  year={2019}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaoxiongji%2Ffed-att","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaoxiongji%2Ffed-att","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaoxiongji%2Ffed-att/lists"}