{ "cells": [ { "cell_type": "code", "execution_count": 2, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "oWmhhwEbL9y0", "outputId": "40a8a0ff-192c-4f3b-b543-29d05074280a" }, "outputs": [], "source": [ "!pip install -r requirements.txt" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "!gunzip SnoepAll.csv.gz\n", "!wget --content-disposition https://github.com/timvisee/ffsend/releases/download/v0.2.77/ffsend-v0.2.77-linux-x64-static" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, "id": "Z4wMN1sUN1r-", "outputId": "432f324d-25f2-41b5-d4f2-843ed0209ec7" }, "outputs": [], "source": [ "!python train.py" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "!tar czvf out.tar.gz trained_model\n", "!./ffsend-v0.2.77-linux-x64-static u -h https://send.hoeftnietmagwel.nl/ out.tar.gz" ] } ], "metadata": { "accelerator": "GPU", "colab": { "gpuType": "T4", "provenance": [] }, "kernelspec": { "display_name": "Python 3", "name": "python3" }, "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 0 }