{"id":28458759,"url":"https://github.com/openmined/pretrained_model_aggregator","last_synced_at":"2026-02-18T22:01:50.718Z","repository":{"id":261425437,"uuid":"881826097","full_name":"OpenMined/pretrained_model_aggregator","owner":"OpenMined","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-30T20:38:41.000Z","size":2608,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-11-23T20:02:53.691Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenMined.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},"funding":{"github":"openmined","open_collective":"openmined"}},"created_at":"2024-11-01T10:16:29.000Z","updated_at":"2025-04-08T13:58:20.000Z","dependencies_parsed_at":"2024-11-06T14:22:34.606Z","dependency_job_id":"77e94038-9057-438e-9a75-4660e71daf71","html_url":"https://github.com/OpenMined/pretrained_model_aggregator","commit_stats":null,"previous_names":["openmined/model_aggregator_app","openmined/pretrained_model_aggregator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OpenMined/pretrained_model_aggregator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fpretrained_model_aggregator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fpretrained_model_aggregator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fpretrained_model_aggregator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fpretrained_model_aggregator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenMined","download_url":"https://codeload.github.com/OpenMined/pretrained_model_aggregator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fpretrained_model_aggregator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29596329,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T20:59:56.587Z","status":"ssl_error","status_checked_at":"2026-02-18T20:58:41.434Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-06-07T00:39:43.529Z","updated_at":"2026-02-18T22:01:50.713Z","avatar_url":"https://github.com/OpenMined.png","language":"Python","funding_links":["https://github.com/sponsors/openmined","https://opencollective.com/openmined"],"categories":[],"sub_categories":[],"readme":"# Pretrained Model Aggregator App\n\nThis app, together with the `pretrained_model_local` app, form an aggregation pipeline for pretrained MNIST models using SyftBox\n\n## Running in dev mode\n0. Reset everything if necessary with `just reset`. Clone the `pretrained_model_local` and `pretrained_model_aggregator` branches into the current directory, e.g. with the command `git clone --branch pretrained_model_aggregator https://github.com/OpenMined/tutorial-apps.git pretrained_model_aggregator`\n1. Run upto 11 clients (`a, b, c...`) with `just run-client \u003cclient_name\u003e` and the SyftBox cache server `just run-server`. Here, `a` will be the model aggregator\n2. Install the local pretrained app on `b, c, ...`: `syftbox app install pretrained_model_local --config_path \u003cpath_to_config.json\u003e` where `\u003cpath_to_config.json\u003e` points to `b` or `c` or other clients' `config.json` file\n3. Install the model aggregator app on `a`: `syftbox app install pretrained_model_aggregator --config_path \u003cpath_to_config.json\u003e` where `\u003cpath_to_config.json\u003e` points to `a`'s `config.json` file\n4. In `a`'s `apps/pretrained_model_aggregator` folder, modify the participants in `participants.json`\n4. Move the participants' MNIST pretrained model in their `private` folder into `public` to let it be aggregated by `a`\n5. `a` will automatically look for and aggregate the models from other clients. Check `a`'s SyftBox client log to see if the global model accuracy has improved, look for key words \"Aggregated models from\" and \"Global model accuracy\"\n\n## Running live as a model aggregator\n0. Clone the `pretrained_model_aggregator` branch into the current directory, e.g. with the command `git clone --branch pretrained_model_aggregator https://github.com/OpenMined/tutorial-apps.git pretrained_model_aggregator`\n1. Run your syft client with `syftbox client`\n2. Install the aggregator app `syftbox app install pretrained_model_aggregator`\n3. Go to your sync folder's `apps/pretrained_model_aggregator` and change the list of participants in `participants.json`\n4. Wait for the participants to submit their pretrained models. Monitor your syftbox client logs, look for key words \"Aggregated models from\" and \"Global model accuracy\"","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmined%2Fpretrained_model_aggregator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmined%2Fpretrained_model_aggregator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmined%2Fpretrained_model_aggregator/lists"}