epfml / disco

Decentralized & federated privacy-preserving ML training, using p2p networking, in JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tasks: pretrained models via download links, no need to store on server

martinjaggi opened this issue · comments

to keep task definitions self contained and portable, people should just provide a download link if they want to start with a pretrained model (or even for custom architectures). no need to store initial models as model files on our FL server. (intermediate weights, yes, but not models otherwise).

e.g. @francesco98 has done this with some google model hosting already for his use case example.

  • change this for the simple-face task
  • make it a general option to provide a URL when creating a new task
  • when feeling fancy: provide a checksum hash on the task definition as well, to be secure against any modified or poisoned models hosted at external links. verify this after model download. task provider is responsible to provide a checksum (optional)

this would probably also solve the file reading issue which made us have different node vs web versions?