Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executable tutorial proposal #2519

Merged
merged 14 commits into from
Sep 29, 2024
Merged

Executable tutorial proposal #2519

merged 14 commits into from
Sep 29, 2024

Conversation

kthfre
Copy link
Contributor

@kthfre kthfre commented Sep 21, 2024

Assignment Proposal

Title

End-to-end training of a neural network to deployment in a live application

Names and KTH ID

Deadline

  • Task 2

Category

  • Executable tutorial

Description

I'd like to make an executable tutorial that goes through the training of a neural network in a Jupyter notebook on Colab, handling the intermediary steps, and deployment to some live application, so the end-to-end process. I'd put limited focus on the ML aspects and greater focus on the DevOps aspects. I'd like to whip together my own functionality for the DevOps parts, if I may, as it's a fun learning experience and could be meaningful scripts for future usage. The deployment criteria for the model could be to exceed previous test data accuracy, but there could also be any other reasonable criteria. I haven't fully decided on the functionality for the MLops/DevOps part. The bare minimum is actually deploying the model live when fulfilling the criteria. Other things being considered are model storage/rollback, job scheduling/queue in running notebooks, monitoring of multiple notebooks, etc.

Architecture wise there would be:

  • The Colab notebook running the ML stuff (and some network connectivity).
  • An MLops tool consisting of a backend and a corresponding GUI (web).
  • A demo web application that uses the model on the backend.

I asked TA about this briefly in a lab session (not previous, but one before that) and it sounded OK. I meant to register it earlier, but other coursework came in between. I think it's still OK to register an MLops task since it's asynchronous and there is no "week" folder structure in the directory tree. So if it is, and the proposal sounds OK, is all I have to do commit to a deadline and deliver?

Relevance

Jupyter Notebook/Lab is often used for processing, preparing, and visualizing data, as well as subsequently training machine learning models. The process of deriving a model is often an iterative process to determine suitable model architectures and optimal hyperparameters. Models may furthermore require continuous altering after deployment as more data becomes available or use cases change. This process is presumably often done manually, particularly as data scientists and conventional developers may be different teams, but there are clear benefits in automating the process.

Submission: Github repository

@algomaster99
Copy link
Collaborator

@kthfre the proposal is good, but somehow this PR is not add your proposal to the contributions folder. Could you fix it?

@algomaster99 algomaster99 self-assigned this Sep 26, 2024
@kthfre
Copy link
Contributor Author

kthfre commented Sep 28, 2024

@algomaster99 I think that is fixed now, but now the check "update grading in canvas" fails. Should I just create a new PR?

@algomaster99
Copy link
Collaborator

@Deee92 any idea why this task is failing? Do we have to update CANVAS_TOKEN or GH_TOKEN? It seems to work for other PRs.

@algomaster99
Copy link
Collaborator

@kthfre if you are not far into the executable tutorial implementation, could you please look for a partner?

@kthfre
Copy link
Contributor Author

kthfre commented Sep 29, 2024

@algomaster99 Unfortunately I'm like 95% done on the implementation part.

@algomaster99
Copy link
Collaborator

Okay, no problem then. I will let Deepika look into this issue and then merge.

@algomaster99 algomaster99 merged commit bd042de into KTH:2024 Sep 29, 2024
1 check passed
@kthfre
Copy link
Contributor Author

kthfre commented Oct 8, 2024

@algomaster99 The links are available in the readme of the repository which I linked above.

@algomaster99
Copy link
Collaborator

Thanks @kthfre ! Could you please edit the proposal by submitting a PR?

@kthfre
Copy link
Contributor Author

kthfre commented Oct 18, 2024

@algomaster99 Done. Sorry about the delay here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants