Skip to content

Make custom tasks clearer and more accessible #639

@JulienVig

Description

@JulienVig

#690 should be addressed first.

Adding a custom task is currently very convoluted, and the process is not documented enough.

For example, the no-code UI for adding a custom task requires users to choose parameter values of learning rate, DP sensitivity, gradient clipping etc which is certainly beyond the grasp of users without technical knowledge. Furthermore, users have to upload their own model which requires coding to some extent.

  • web-client
    • Create a step-by-step guide to add a custom task from the UI, including how to create an initial tfjs model. Reference it from the UI custom task page.
    • Add more explanations for the custom task training and privacy parameters (e.g. on hover)
  • docs
    • Most of the doc is currently in docs/Task.md, think about splitting information depending on how users are (non-technical, technical users, contributors) into different documents and reference them appropriately.
    • Add clear links to the repo documentation such that a non-technical user can easily find how to add a custom task from the UI
  • server and discojs
    • @peacefulotter mentioned that the Task implementation could be improved, think about a potential rework with the ease of use and ease of adding user's custom task in mind.
  • discojs-node
    • Currently, the only way to add a custom task from a script is to add it to the server before startup, which requires being the one handling the server. I think that being able to add a task as a user (i.e. using only discojs-node) should be possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discojsRelated to Disco.jsdocumentationImprovements or additions to documentationserverRelated to the serverweb clientRelated to the browser environment

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions