Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erksch/federated-ner
https://github.com/erksch/federated-ner
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/erksch/federated-ner
- Owner: erksch
- Created: 2020-09-10T20:46:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T00:14:25.000Z (over 4 years ago)
- Last Synced: 2024-11-06T00:12:37.514Z (3 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Federated Named Entity Recognition
## Setup
Create a python virtualenv and activate it
```
python3 -m venv venv
source venv/bin/active
```Install dependencies
```
pip install -r requirements.txt
```:warning: PySyft 0.2.8 has a bug in the `model_centric_fl_client.py` file that breaks the communication with the Grid. Be sure to update the file in your environment site packages to the [current master version of the file](https://github.com/OpenMined/PySyft/blob/master/syft/grid/clients/model_centric_fl_client.py).
## Hosting the training plan
Launch PyGrid via docker-compose
```
docker-compose up -d
```Create the training plan and host it on PyGrid
```
python host_plan.py
```Test if plan is hosted properly
```
python test_plan.py
```## Training
Use the a worker to execute the plan and run a training procedure.