diff --git a/experiments/LASER-2heads0.5.ipynb b/experiments/LASER-2heads0.5.ipynb
new file mode 100644
index 0000000..2e28038
--- /dev/null
+++ b/experiments/LASER-2heads0.5.ipynb
@@ -0,0 +1,2324 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "text": [
+ "/home/pczapla/workspace/ulmfit-multilingual\r\n"
+ ],
+ "output_type": "stream"
+ }
+ ],
+ "source": [
+ "!pwd"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "from fastai.text import *"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "# unzip task6_test.zip\n",
+ "# unzip task_6-1.zip -d Task6/task\\ 01\n",
+ "# unzip task_6-2.zip -d Task6/task\\ 02\n",
+ "# mv Task6/task\\ 01 task-1\n",
+ "# mv Task6/task\\ 02 task-2\n",
+ "# rmdir Task6"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "torch.cuda.set_device(1)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "[PosixPath(\u0027data/poleval19/task-1/test_set_clean_only_text.txt\u0027),\n PosixPath(\u0027data/poleval19/task-1/training_set_clean_only_text.tmp.tok\u0027),\n PosixPath(\u0027data/poleval19/task-1/training_set_clean_only_text.txt\u0027),\n PosixPath(\u0027data/poleval19/task-1/toxic-train-tags.csv\u0027),\n PosixPath(\u0027data/poleval19/task-1/test_set_clean_only_text.tmp.bpe\u0027),\n PosixPath(\u0027data/poleval19/task-1/test_set_clean_only_text.tmp.enc\u0027),\n PosixPath(\u0027data/poleval19/task-1/test_set_clean_only_text.tmp.split\u0027),\n PosixPath(\u0027data/poleval19/task-1/toxic-train-text.tmp.split.enc\u0027),\n PosixPath(\u0027data/poleval19/task-1/test_set_clean_only_text.tmp.sid\u0027),\n PosixPath(\u0027data/poleval19/task-1/toxic-train-text.tmp.sid\u0027),\n PosixPath(\u0027data/poleval19/task-1/training_set_clean_only_tags.txt\u0027),\n PosixPath(\u0027data/poleval19/task-1/training_set_clean_only_text.tmp.sid\u0027),\n PosixPath(\u0027data/poleval19/task-1/toxic-train-text.tmp.tok\u0027),\n PosixPath(\u0027data/poleval19/task-1/training_set_clean_only_text.tmp.split.enc\u0027),\n PosixPath(\u0027data/poleval19/task-1/models\u0027),\n PosixPath(\u0027data/poleval19/task-1/toxic-train-text.csv\u0027),\n PosixPath(\u0027data/poleval19/task-1/evaulate1.pl\u0027),\n PosixPath(\u0027data/poleval19/task-1/test_set_clean_only_text.tmp.tok\u0027),\n PosixPath(\u0027data/poleval19/task-1/toxic-train-text.tmp.bpe\u0027),\n PosixPath(\u0027data/poleval19/task-1/test_set_clean_only_tags.txt\u0027),\n PosixPath(\u0027data/poleval19/task-1/training_set_clean_only_text.tmp.enc\u0027),\n PosixPath(\u0027data/poleval19/task-1/toxic-train-text.tmp.enc\u0027),\n PosixPath(\u0027data/poleval19/task-1/toxic-train-text.tmp.split\u0027),\n PosixPath(\u0027data/poleval19/task-1/training_set_clean_only_text.tmp.split\u0027),\n PosixPath(\u0027data/poleval19/task-1/training_set_clean_only_text.tmp.bpe\u0027),\n PosixPath(\u0027data/poleval19/task-1/test_set_clean_only_text.tmp.split.enc\u0027)]"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 10
+ }
+ ],
+ "source": "dataset\u003dPath(\u0027data\u0027)/\u0027poleval19\u0027/\u0027task-1\u0027\ndataset.ls()"
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": "fn \u003d \u0027data/toxic-comment/train.csv\u0027\ndf \u003d pd.read_csv(fn)\ncomment_text \u003d df.comment_text.str.replace(\"\\n\", \" \")\ndel df[\u0027comment_text\u0027]"
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "comment_text.to_csv(dataset/\"toxic-train-text.csv\", sep\u003d\u0027\\t\u0027, index\u003dFalse, header\u003dFalse, quoting\u003dcsv.QUOTE_NONE, quotechar\u003d\u0027|\u0027, escapechar\u003d\u0027\\\\\u0027)\n",
+ "df.to_csv(dataset/\"toxic-train-tags.csv\", index\u003dFalse, header\u003dFalse)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "text": [
+ "Explanation Why the edits made under my username Hardcore Metallica Fan were reverted? They weren\u0027t vandalisms, just closure on some GAs after I voted at New York Dolls FAC. And please don\u0027t remove the template from the talk page since I\u0027m retired now.89.205.38.27\r\nD\u0027aww! He matches this background colour I\u0027m seemingly stuck with. Thanks. (talk) 21:51, January 11, 2016 (UTC)\r\nHey man, I\u0027m really not trying to edit war. It\u0027s just that this guy is constantly removing relevant information and talking to me through edits instead of my talk page. He seems to care more about the formatting than the actual info.\r\n\" More I can\u0027t make any real suggestions on improvement - I wondered if the section statistics should be later on, or a subsection of \"\"types of accidents\"\" -I think the references may need tidying so that they are all in the exact same format ie date format etc. I can do that later on, if no-one else does first - if you have any preferences for formatting style on references or want to do it yourself please let me know. There appears to be a backlog on articles for review so I guess there may be a delay until a reviewer turns up. It\u0027s listed in the relevant form eg Wikipedia:Good_article_nominations#Transport \"\r\nYou, sir, are my hero. Any chance you remember what page that\u0027s on?\r\n\" Congratulations from me as well, use the tools well. · talk \"\r\nCOCKSUCKER BEFORE YOU PISS AROUND ON MY WORK\r\nYour vandalism to the Matt Shirvington article has been reverted. Please don\u0027t do it again, or you will be banned.\r\nSorry if the word \u0027nonsense\u0027 was offensive to you. Anyway, I\u0027m not intending to write anything in the article(wow they would jump on me for vandalism), I\u0027m merely requesting that it be more encyclopedic so one can use it for school as a reference. I have been to the selective breeding page but it\u0027s almost a stub. It points to \u0027animal breeding\u0027 which is a short messy article that gives you no info. There must be someone around with expertise in eugenics? 93.161.107.169\r\nalignment on this subject and which are contrary to those of DuLithgow\r\n"
+ ],
+ "output_type": "stream"
+ }
+ ],
+ "source": [
+ "!head {dataset/\"toxic-train-text.csv\"}"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 14,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "LASER \u003d os.environ.get(\u0027LASER\u0027, \"/home/pczapla/workspace/_oss/LASER\")\n",
+ "os.environ[\u0027LASER\u0027] \u003d LASER\n",
+ "def cond_add_pypath(*paths):\n",
+ " for path in paths:\n",
+ " if path not in sys.path:\n",
+ " sys.path.append(path)\n",
+ "cond_add_pypath(LASER + \u0027/source\u0027,LASER + \u0027/source/tools\u0027)\n",
+ "\n",
+ "from embed import SentenceEncoder, EncodeLoad, EncodeFile\n",
+ "from text_processing import Token, BPEfastApply, SplitLines, JoinEmbed"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 15,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "from subprocess import run, check_output, DEVNULL\n",
+ "def tokenize(inp_fname, out_fname, lang\u003d\u0027en\u0027,\n",
+ " lower_case\u003dTrue, romanize\u003dFalse, descape\u003dFalse,\n",
+ " verbose\u003dFalse, over_write\u003dFalse, gzip\u003dFalse):\n",
+ " FASTBPE \u003d LASER + \u0027/tools-external/fastBPE/fast\u0027\n",
+ " MOSES_BDIR \u003d LASER + \u0027/tools-external/moses-tokenizer/tokenizer/\u0027\n",
+ " MOSES_TOKENIZER \u003d MOSES_BDIR + \u0027tokenizer.perl -q -no-escape -threads 20 -l \u0027\n",
+ " MOSES_LC \u003d MOSES_BDIR + \u0027lowercase.perl\u0027\n",
+ " NORM_PUNC \u003d MOSES_BDIR + \u0027normalize-punctuation.perl -l \u0027\n",
+ " DESCAPE \u003d MOSES_BDIR + \u0027deescape-special-chars.perl\u0027\n",
+ " REM_NON_PRINT_CHAR \u003d MOSES_BDIR + \u0027remove-non-printing-char.perl\u0027\n",
+ "\n",
+ " # Romanization (Greek only)\n",
+ " ROMAN_LC \u003d \u0027python3 \u0027 + LASER + \u0027/source/lib/romanize_lc.py -l \u0027\n",
+ "\n",
+ " # Mecab tokenizer for Japanese\n",
+ " MECAB \u003d LASER + \u0027/tools-external/mecab\u0027\n",
+ " assert lower_case, \u0027lower case is needed by all the models\u0027\n",
+ " if not out_fname.exists():\n",
+ " cat \u003d \u0027zcat \u0027 if gzip else \u0027cat \u0027\n",
+ " roman \u003d lang if romanize else \u0027none\u0027\n",
+ " # handle some iso3 langauge codes\n",
+ " if lang in (\u0027cmn\u0027, \u0027wuu\u0027, \u0027yue\u0027):\n",
+ " lang \u003d \u0027zh\u0027\n",
+ " if lang in (\u0027jpn\u0027):\n",
+ " lang \u003d \u0027ja\u0027\n",
+ " if verbose:\n",
+ " print(\u0027 - Tokenizer: {} in language {} {} {}\u0027\n",
+ " .format(os.path.basename(inp_fname), lang,\n",
+ " \u0027(gzip)\u0027 if gzip else \u0027\u0027,\n",
+ " \u0027(de-escaped)\u0027 if descape else \u0027\u0027,\n",
+ " \u0027(romanized)\u0027 if romanize else \u0027\u0027))\n",
+ " cmd \u003d (cat + str(inp_fname)\n",
+ " + \u0027|\u0027 + REM_NON_PRINT_CHAR\n",
+ " + \u0027| sed \"s/\\(@anonymized_account *\\)/account /gi\"\u0027\n",
+ "# + \u0027| iconv -f UTF-8 -t ASCII//TRANSLIT \u0027\n",
+ " + \u0027|\u0027 + NORM_PUNC + lang\n",
+ " + (\u0027|\u0027 + DESCAPE if descape else \u0027\u0027)\n",
+ " + \u0027|\u0027 + MOSES_TOKENIZER + lang\n",
+ " + (\u0027| python3 -m jieba -d \u0027 if lang \u003d\u003d \u0027zh\u0027 else \u0027\u0027)\n",
+ " + (\u0027|\u0027 + MECAB + \u0027/bin/mecab -O wakati -b 50000 \u0027 if lang \u003d\u003d \u0027ja\u0027 else \u0027\u0027)\n",
+ " + (\u0027|\u0027 + ROMAN_LC + roman if romanize else \u0027\u0027)\n",
+ " + (\u0027| tr \"[:upper:]\" \"[:lower:]\"\u0027 if lower_case else \u0027\u0027)\n",
+ " + \u0027\u003e\u0027 + str(out_fname))\n",
+ " print (\"Tokenziation CMD: \", cmd)\n",
+ " run(cmd,\n",
+ " env\u003ddict(os.environ, LD_LIBRARY_PATH\u003dMECAB + \u0027/lib\u0027),\n",
+ " shell\u003dTrue)\n",
+ " elif not over_write and verbose:\n",
+ " print(\u0027 - Tokenizer: {} exists already\u0027\n",
+ " .format(os.path.basename(out_fname), lang))\n",
+ "\n",
+ "\n",
+ "def split_lines(*args): return SplitLines(*list(map(str,args)))\n",
+ "def bpe_fast_apply(*args, **kwargs): return BPEfastApply(*list(map(str,args)), **kwargs)\n",
+ "def encode_file(enc, *args, **kwargs): return EncodeFile(enc, *list(map(str,args)), **kwargs)\n",
+ "def join_embed(*args): return JoinEmbed(*list(map(str,args)))\n",
+ " \n",
+ "def process_file(inputfn, lang\u003d\u0027pl\u0027):\n",
+ " inputfn \u003d Path(inputfn)\n",
+ " args \u003d SimpleNamespace(\n",
+ " encoder\u003dstr(Path(LASER)/\"models\"/\"bilstm.93langs.2018-12-26.pt\"), \n",
+ " bpe_codes\u003dstr(Path(LASER)/\"models\"/\"93langs.fcodes\"),\n",
+ " lang\u003dlang,\n",
+ " buffer_size\u003d10000,\n",
+ " max_tokens\u003d12000,\n",
+ " max_sentences\u003dNone,\n",
+ " cpu\u003dFalse,\n",
+ " verbose\u003dFalse,\n",
+ " stable\u003dTrue)\n",
+ " enc \u003d EncodeLoad(args)\n",
+ " def fn(suffix):\n",
+ " return inputfn.with_suffix(f\u0027.tmp{suffix}\u0027)\n",
+ " tokenize(inputfn,\n",
+ " fn(\u0027.tok\u0027),\n",
+ " lang\u003dlang,\n",
+ " romanize\u003d(True if lang \u003d\u003d \u0027el\u0027 else False),\n",
+ " lower_case\u003dTrue, gzip\u003dFalse,\n",
+ " verbose\u003dargs.verbose, over_write\u003dFalse)\n",
+ " bpe_fast_apply(fn(\u0027.tok\u0027),\n",
+ " fn(\u0027.bpe\u0027),\n",
+ " args.bpe_codes,\n",
+ " verbose\u003dargs.verbose, over_write\u003dFalse)\n",
+ " split_lines(fn(\u0027.bpe\u0027),\n",
+ " fn(\u0027.split\u0027),\n",
+ " fn(\u0027.sid\u0027))\n",
+ " encode_file(enc,\n",
+ " fn(\u0027.split\u0027),\n",
+ " fn(\u0027.split.enc\u0027),\n",
+ " verbose\u003dargs.verbose, over_write\u003dFalse,\n",
+ " buffer_size\u003dargs.buffer_size)\n",
+ " join_embed(fn(\u0027.split.enc\u0027),\n",
+ " fn(\u0027.sid\u0027),\n",
+ " fn(\u0027.enc\u0027))\n",
+ "# encode_file(enc,\n",
+ "# fn(\u0027.bpe\u0027),\n",
+ "# fn(\u0027.enc\u0027),\n",
+ "# verbose\u003dargs.verbose, over_write\u003dFalse,\n",
+ "# buffer_size\u003dargs.buffer_size)\n",
+ " return fn(\u0027.enc\u0027)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 66,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " - loading encoder /home/pczapla/workspace/_oss/LASER/models/bilstm.93langs.2018-12-26.pt\n",
+ "Tokenziation CMD: cat ../data/poleval19/task-1/toxic-train-text.csv|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/remove-non-printing-char.perl| sed \"s/\\(@anonymized_account *\\)/account /gi\"|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/normalize-punctuation.perl -l en|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/tokenizer.perl -q -no-escape -threads 20 -l en| tr \"[:upper:]\" \"[:lower:]\"\u003e../data/poleval19/task-1/toxic-train-text.tmp.tok\n",
+ " - Split sentences: ../data/poleval19/task-1/toxic-train-text.tmp.bpe\n",
+ " - lines/max words: 159571/4950 -\u003e 619938/4951\n",
+ " - Combine embeddings:\n",
+ " input: ../data/poleval19/task-1/toxic-train-text.tmp.split.enc 619938 sentences\n",
+ " IDs: ../data/poleval19/task-1/toxic-train-text.tmp.sid, 159571 sentences\n",
+ " output: ../data/poleval19/task-1/toxic-train-text.tmp.enc\n"
+ ]
+ }
+ ],
+ "source": [
+ "!rm {dataset}/toxic-train-text.tmp.*\n",
+ "tx_trn_fn \u003d process_file(dataset / \u0027toxic-train-text.csv\u0027, lang\u003d\u0027en\u0027)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 67,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "rm: cannot remove \u0027../data/poleval19/task-1/training_set_clean_only_text.tmp.*\u0027: No such file or directory\n",
+ " - loading encoder /home/pczapla/workspace/_oss/LASER/models/bilstm.93langs.2018-12-26.pt\n",
+ "Tokenziation CMD: cat ../data/poleval19/task-1/training_set_clean_only_text.txt|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/remove-non-printing-char.perl| sed \"s/\\(@anonymized_account *\\)/account /gi\"|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/normalize-punctuation.perl -l pl|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/tokenizer.perl -q -no-escape -threads 20 -l pl| tr \"[:upper:]\" \"[:lower:]\"\u003e../data/poleval19/task-1/training_set_clean_only_text.tmp.tok\n",
+ " - Split sentences: ../data/poleval19/task-1/training_set_clean_only_text.tmp.bpe\n",
+ " - lines/max words: 10041/82 -\u003e 12066/83\n",
+ " - Combine embeddings:\n",
+ " input: ../data/poleval19/task-1/training_set_clean_only_text.tmp.split.enc 12066 sentences\n",
+ " IDs: ../data/poleval19/task-1/training_set_clean_only_text.tmp.sid, 10041 sentences\n",
+ " output: ../data/poleval19/task-1/training_set_clean_only_text.tmp.enc\n"
+ ]
+ }
+ ],
+ "source": [
+ "!rm {dataset}/training_set_clean_only_text.tmp.*\n",
+ "trn_fn \u003d process_file(dataset / \u0027training_set_clean_only_text.txt\u0027)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 69,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Dla mnie faworytem do tytułu będzie Cracovia. Zobaczymy, czy typ się sprawdzi.\r",
+ "\r\n",
+ "account account Brawo ty Daria kibic ma być na dobre i złe\r",
+ "\r\n",
+ "account account Super, polski premier składa kwiaty na grobach kolaborantów. Ale doczekaliśmy czasów.\r",
+ "\r\n",
+ "account account Musi. Innej drogi nie mamy.\r",
+ "\r\n",
+ "Odrzut natychmiastowy, kwaśna mina, mam problem\r",
+ "\r\n",
+ "Jaki on był fajny xdd pamiętam, że spóźniłam się na jego pierwsze zajęcia i to sporo i za karę kazał mi usiąść w pierwszej ławce XD\r",
+ "\r\n",
+ "account No nie ma u nas szczęścia 😉\r",
+ "\r\n",
+ "account Dawno kogoś tak wrednego nie widziałam xd\r",
+ "\r\n",
+ "account account Zaległości były, ale ważne czy były wezwania do zapłaty z których się klub nie wywiązał.\r",
+ "\r\n",
+ "account account account Gdzie jest account . Brudziński jesteś kłamcą i marnym kutasem account \r",
+ "\r\n",
+ "sed: couldn\u0027t write 130 items to stdout: Broken pipe\r\n",
+ "cat: write error: Broken pipe\r\n"
+ ]
+ }
+ ],
+ "source": [
+ "! cat ../data/poleval19/task-1/training_set_clean_only_text.txt| sed \u0027s/\\(@anonymized_account *\\)/account /gi\u0027 |head"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 70,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Dla mnie faworytem do tytulu bedzie Cracovia. Zobaczymy, czy typ sie sprawdzi.\r",
+ "\r\n",
+ "@anonymized_account @anonymized_account Brawo ty Daria kibic ma byc na dobre i zle\r",
+ "\r\n",
+ "@anonymized_account @anonymized_account Super, polski premier sklada kwiaty na grobach kolaborantow. Ale doczekalismy czasow.\r",
+ "\r\n",
+ "@anonymized_account @anonymized_account Musi. Innej drogi nie mamy.\r",
+ "\r\n",
+ "Odrzut natychmiastowy, kwasna mina, mam problem\r",
+ "\r\n",
+ "Jaki on byl fajny xdd pamietam, ze spoznilam sie na jego pierwsze zajecia i to sporo i za kare kazal mi usiasc w pierwszej lawce XD\r",
+ "\r\n",
+ "@anonymized_account No nie ma u nas szczescia ?\r",
+ "\r\n",
+ "@anonymized_account Dawno kogos tak wrednego nie widzialam xd\r",
+ "\r\n",
+ "@anonymized_account @anonymized_account Zaleglosci byly, ale wazne czy byly wezwania do zaplaty z ktorych sie klub nie wywiazal.\r",
+ "\r\n",
+ "@anonymized_account @anonymized_account @anonymized_account Gdzie jest @anonymized_account . Brudzinski jestes klamca i marnym kutasem @anonymized_account\r",
+ "\r\n",
+ "iconv: conversion stopped due to problem in writing the output\r\n"
+ ]
+ }
+ ],
+ "source": [
+ "! cat ../data/poleval19/task-1/training_set_clean_only_text.txt| iconv -f UTF-8 -t ASCII//TRANSLIT |head"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 71,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "dla mnie faworytem do tytułu będzie cracovia . zobaczymy , czy typ się sprawdzi .\r\n",
+ "account account brawo ty daria kibic ma być na dobre i złe\r\n",
+ "account account super , polski premier składa kwiaty na grobach kolaborantów . ale doczekaliśmy czasów .\r\n",
+ "account account musi . innej drogi nie mamy .\r\n",
+ "odrzut natychmiastowy , kwaśna mina , mam problem\r\n",
+ "jaki on był fajny xdd pamiętam , że spóźniłam się na jego pierwsze zajęcia i to sporo i za karę kazał mi usiąść w pierwszej ławce xd\r\n",
+ "account no nie ma u nas szczęścia 😉\r\n",
+ "account dawno kogoś tak wrednego nie widziałam xd\r\n",
+ "account account zaległości były , ale ważne czy były wezwania do zapłaty z których się klub nie wywiązał .\r\n",
+ "account account account gdzie jest account . brudziński jesteś kłamcą i marnym kutasem account\r\n"
+ ]
+ }
+ ],
+ "source": [
+ "! head ../data/poleval19/task-1/training_set_clean_only_text.tmp.tok"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 72,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " - loading encoder /home/pczapla/workspace/_oss/LASER/models/bilstm.93langs.2018-12-26.pt\n",
+ "Tokenziation CMD: cat ../data/poleval19/task-1/test_set_clean_only_text.txt|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/remove-non-printing-char.perl| sed \"s/\\(@anonymized_account *\\)/account /gi\"|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/normalize-punctuation.perl -l pl|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/tokenizer.perl -q -no-escape -threads 20 -l pl| tr \"[:upper:]\" \"[:lower:]\"\u003e../data/poleval19/task-1/test_set_clean_only_text.tmp.tok\n",
+ " - Split sentences: ../data/poleval19/task-1/test_set_clean_only_text.tmp.bpe\n",
+ " - lines/max words: 1000/104 -\u003e 1237/105\n",
+ " - Combine embeddings:\n",
+ " input: ../data/poleval19/task-1/test_set_clean_only_text.tmp.split.enc 1237 sentences\n",
+ " IDs: ../data/poleval19/task-1/test_set_clean_only_text.tmp.sid, 1000 sentences\n",
+ " output: ../data/poleval19/task-1/test_set_clean_only_text.tmp.enc\n"
+ ]
+ }
+ ],
+ "source": [
+ "!rm {dataset}/test_set_clean_only_text.tmp.*\n",
+ "tst_fn \u003d process_file(dataset / \u0027test_set_clean_only_text.txt\u0027)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 19,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": "tx_trn_fn\u003d\"data/poleval19/task-1/toxic-train-text.tmp.enc\"\ntrn_fn\u003d \"data/poleval19/task-1/training_set_clean_only_text.tmp.enc\"\ntst_fn\u003d \"data/poleval19/task-1/test_set_clean_only_text.tmp.enc\""
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 20,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "(10041, 1024)"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 20
+ }
+ ],
+ "source": [
+ "dim\u003d1024\n",
+ "def read_enc(fn):\n",
+ " em \u003d np.fromfile(str(fn),dtype\u003dnp.float32).reshape(-1, dim)\n",
+ " return em\n",
+ "read_enc(trn_fn).shape"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 21,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "(1000,)"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 21
+ }
+ ],
+ "source": [
+ "np.loadtxt(str(dataset/\u0027test_set_clean_only_text.txt\u0027), delimiter\u003d\u0027\\n\u0027, comments\u003dNone, dtype\u003dnp.str).shape"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 23,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "tst_df \u003d pd.DataFrame({\n",
+ " \u0027y\u0027:np.loadtxt(str(dataset/\u0027test_set_clean_only_tags.txt\u0027),delimiter\u003d\u0027\\n\u0027, comments\u003dNone, dtype\u003dnp.int),\n",
+ " \u0027em\u0027:list(read_enc(tst_fn)), \n",
+ " \u0027txt\u0027:np.loadtxt(str(dataset/\u0027test_set_clean_only_text.tmp.bpe\u0027), delimiter\u003d\u0027\\n\u0027, comments\u003dNone, dtype\u003dnp.str),\n",
+ "})\n",
+ "\n",
+ "pl_trn_df \u003d pd.DataFrame({\n",
+ " \u0027y\u0027:np.loadtxt(str(dataset/\u0027training_set_clean_only_tags.txt\u0027),delimiter\u003d\u0027\\n\u0027, comments\u003dNone, dtype\u003dnp.int),\n",
+ " \u0027em\u0027:list(read_enc(trn_fn)), \n",
+ " \u0027txt\u0027:np.loadtxt(str(dataset/\u0027training_set_clean_only_text.tmp.bpe\u0027), delimiter\u003d\u0027\\n\u0027, comments\u003dNone, dtype\u003dnp.str),\n",
+ "})"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 24,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "txt \u003d np.loadtxt(str(dataset/\u0027toxic-train-text.tmp.bpe\u0027), delimiter\u003d\u0027\\n\u0027, comments\u003dNone, dtype\u003dnp.str)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 25,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "159571"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 25
+ }
+ ],
+ "source": [
+ "len (txt)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 26,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "159571"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 26
+ }
+ ],
+ "source": [
+ "enc\u003dread_enc(tx_trn_fn)\n",
+ "len(enc)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 27,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "tx_trn_df \u003d pd.DataFrame({\n",
+ " \u0027ey\u0027: df[\u0027toxic\u0027],\n",
+ " \u0027em\u0027:list(enc), \n",
+ " \u0027txt\u0027:txt,\n",
+ "})"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 28,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "trn_df \u003d pd.concat([pl_trn_df, tx_trn_df], ignore_index\u003dTrue, sort\u003dFalse)[[\u0027y\u0027, \u0027ey\u0027, \u0027em\u0027, \u0027txt\u0027]].fillna(0.5)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 29,
+ "metadata": {
+ "scrolled": false,
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": " y ey em \\\n0 0.0 0.5 [0.0047513233, 0.0040491223, 0.015147643, 0.01... \n1 0.0 0.5 [0.0037102806, -2.0261248e-05, 7.142721e-05, 0... \n2 0.0 0.5 [0.0065289, 0.0048259646, -0.00015079533, 0.02... \n3 0.0 0.5 [0.025331493, -0.0001753498, 0.0006774627, 0.0... \n4 0.0 0.5 [0.007905564, 0.0017290547, -0.0015668216, 0.0... \n\n txt \n0 dla mnie fa@@ wor@@ y@@ tem do ty@@ tu@@ łu bę... \n1 account account bra@@ wo ty dar@@ ia ki@@ bi@@... \n2 account account super , pol@@ ski premier sk@@... \n3 account account musi . in@@ nej dro@@ gi nie m... \n4 odr@@ zut nat@@ ych@@ mi@@ a@@ sto@@ wy , kwa@... ",
+ "text/html": "\u003cdiv\u003e\n\u003cstyle scoped\u003e\n .dataframe tbody tr th:only-of-type {\n vertical-align: middle;\n }\n\n .dataframe tbody tr th {\n vertical-align: top;\n }\n\n .dataframe thead th {\n text-align: right;\n }\n\u003c/style\u003e\n\u003ctable border\u003d\"1\" class\u003d\"dataframe\"\u003e\n \u003cthead\u003e\n \u003ctr style\u003d\"text-align: right;\"\u003e\n \u003cth\u003e\u003c/th\u003e\n \u003cth\u003ey\u003c/th\u003e\n \u003cth\u003eey\u003c/th\u003e\n \u003cth\u003eem\u003c/th\u003e\n \u003cth\u003etxt\u003c/th\u003e\n \u003c/tr\u003e\n \u003c/thead\u003e\n \u003ctbody\u003e\n \u003ctr\u003e\n \u003cth\u003e0\u003c/th\u003e\n \u003ctd\u003e0.0\u003c/td\u003e\n \u003ctd\u003e0.5\u003c/td\u003e\n \u003ctd\u003e[0.0047513233, 0.0040491223, 0.015147643, 0.01...\u003c/td\u003e\n \u003ctd\u003edla mnie fa@@ wor@@ y@@ tem do ty@@ tu@@ łu bę...\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003cth\u003e1\u003c/th\u003e\n \u003ctd\u003e0.0\u003c/td\u003e\n \u003ctd\u003e0.5\u003c/td\u003e\n \u003ctd\u003e[0.0037102806, -2.0261248e-05, 7.142721e-05, 0...\u003c/td\u003e\n \u003ctd\u003eaccount account bra@@ wo ty dar@@ ia ki@@ bi@@...\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003cth\u003e2\u003c/th\u003e\n \u003ctd\u003e0.0\u003c/td\u003e\n \u003ctd\u003e0.5\u003c/td\u003e\n \u003ctd\u003e[0.0065289, 0.0048259646, -0.00015079533, 0.02...\u003c/td\u003e\n \u003ctd\u003eaccount account super , pol@@ ski premier sk@@...\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003cth\u003e3\u003c/th\u003e\n \u003ctd\u003e0.0\u003c/td\u003e\n \u003ctd\u003e0.5\u003c/td\u003e\n \u003ctd\u003e[0.025331493, -0.0001753498, 0.0006774627, 0.0...\u003c/td\u003e\n \u003ctd\u003eaccount account musi . in@@ nej dro@@ gi nie m...\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003cth\u003e4\u003c/th\u003e\n \u003ctd\u003e0.0\u003c/td\u003e\n \u003ctd\u003e0.5\u003c/td\u003e\n \u003ctd\u003e[0.007905564, 0.0017290547, -0.0015668216, 0.0...\u003c/td\u003e\n \u003ctd\u003eodr@@ zut nat@@ ych@@ mi@@ a@@ sto@@ wy , kwa@...\u003c/td\u003e\n \u003c/tr\u003e\n \u003c/tbody\u003e\n\u003c/table\u003e\n\u003c/div\u003e"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 29
+ }
+ ],
+ "source": [
+ "trn_df.head()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 30,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "tst_df[\u0027ey\u0027] \u003d 0.5\n",
+ "tst_df\u003dtst_df[[\u0027y\u0027, \u0027ey\u0027, \u0027em\u0027, \u0027txt\u0027]]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 31,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": " y ey em \\\n0 0 0.5 [0.01599568, 0.0028042805, -0.0040145353, 0.01... \n1 0 0.5 [0.010937454, -4.452362e-05, 0.003249705, 0.01... \n2 0 0.5 [0.008327394, -3.972248e-05, -0.0011421117, 0.... \n3 0 0.5 [0.008076943, 0.0034733585, -0.002149525, 0.00... \n4 0 0.5 [0.0062172827, 0.0055052936, -0.00076900126, 0... \n\n txt \n0 account spo@@ ko , jak im duda z mor@@ awi@@ e... \n1 account account ale on tu nie miał sz@@ ans je... \n2 account no czy pre@@ zes nie miał ra@@ cji , m... \n3 account account przecież to nawet nie jest prz... \n4 account account ow@@ sz@@ em podat@@ ki tak . ... ",
+ "text/html": "\u003cdiv\u003e\n\u003cstyle scoped\u003e\n .dataframe tbody tr th:only-of-type {\n vertical-align: middle;\n }\n\n .dataframe tbody tr th {\n vertical-align: top;\n }\n\n .dataframe thead th {\n text-align: right;\n }\n\u003c/style\u003e\n\u003ctable border\u003d\"1\" class\u003d\"dataframe\"\u003e\n \u003cthead\u003e\n \u003ctr style\u003d\"text-align: right;\"\u003e\n \u003cth\u003e\u003c/th\u003e\n \u003cth\u003ey\u003c/th\u003e\n \u003cth\u003eey\u003c/th\u003e\n \u003cth\u003eem\u003c/th\u003e\n \u003cth\u003etxt\u003c/th\u003e\n \u003c/tr\u003e\n \u003c/thead\u003e\n \u003ctbody\u003e\n \u003ctr\u003e\n \u003cth\u003e0\u003c/th\u003e\n \u003ctd\u003e0\u003c/td\u003e\n \u003ctd\u003e0.5\u003c/td\u003e\n \u003ctd\u003e[0.01599568, 0.0028042805, -0.0040145353, 0.01...\u003c/td\u003e\n \u003ctd\u003eaccount spo@@ ko , jak im duda z mor@@ awi@@ e...\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003cth\u003e1\u003c/th\u003e\n \u003ctd\u003e0\u003c/td\u003e\n \u003ctd\u003e0.5\u003c/td\u003e\n \u003ctd\u003e[0.010937454, -4.452362e-05, 0.003249705, 0.01...\u003c/td\u003e\n \u003ctd\u003eaccount account ale on tu nie miał sz@@ ans je...\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003cth\u003e2\u003c/th\u003e\n \u003ctd\u003e0\u003c/td\u003e\n \u003ctd\u003e0.5\u003c/td\u003e\n \u003ctd\u003e[0.008327394, -3.972248e-05, -0.0011421117, 0....\u003c/td\u003e\n \u003ctd\u003eaccount no czy pre@@ zes nie miał ra@@ cji , m...\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003cth\u003e3\u003c/th\u003e\n \u003ctd\u003e0\u003c/td\u003e\n \u003ctd\u003e0.5\u003c/td\u003e\n \u003ctd\u003e[0.008076943, 0.0034733585, -0.002149525, 0.00...\u003c/td\u003e\n \u003ctd\u003eaccount account przecież to nawet nie jest prz...\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003cth\u003e4\u003c/th\u003e\n \u003ctd\u003e0\u003c/td\u003e\n \u003ctd\u003e0.5\u003c/td\u003e\n \u003ctd\u003e[0.0062172827, 0.0055052936, -0.00076900126, 0...\u003c/td\u003e\n \u003ctd\u003eaccount account ow@@ sz@@ em podat@@ ki tak . ...\u003c/td\u003e\n \u003c/tr\u003e\n \u003c/tbody\u003e\n\u003c/table\u003e\n\u003c/div\u003e"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 31
+ }
+ ],
+ "source": [
+ "tst_df.head()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 32,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "y 0\ney 0.5\nem [0.0037102806, -2.0261248e-05, 7.142721e-05, 0...\ntxt account account bra@@ wo ty dar@@ ia ki@@ bi@@...\nName: 1, dtype: object"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 32
+ }
+ ],
+ "source": [
+ "trn_df.loc[1]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 33,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "array([ 0.015996, 0.002804, -0.004015, 0.018448, ..., 0.022837, 0.005017, 0.011453, 0.016846], dtype\u003dfloat32)"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 33
+ }
+ ],
+ "source": [
+ "tst_df[\u0027em\u0027][0]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 35,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "class EmbeddingText(ItemBase):\n",
+ " \"Basic item for \u003ccode\u003etext\u003c/code\u003e data in numericalized `ids`.\"\n",
+ " def __init__(self, emb, text): self.data,self.text \u003d np.array(emb, dtype\u003dnp.float32),text\n",
+ " def __str__(self): return str(self.text)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 36,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "class EmbeddingList(ItemList):\n",
+ " \"Basic `ItemList` for embeding of text data.\"\n",
+ " _bunch \u003d DataBunch # TextDataBunch converts input to LongTensor !\n",
+ " _processor \u003d []\n",
+ "\n",
+ " def __init__(self, items:Iterator, **kwargs):\n",
+ " super().__init__(items, **kwargs)\n",
+ "\n",
+ " def find_text_for_em(self, em):\n",
+ " # todo find a way to reverse embedding\n",
+ " return self.inner_df[\u0027txt\u0027][1]\n",
+ " \n",
+ " def get(self, i):\n",
+ " o \u003d super().get(i)\n",
+ " return EmbeddingText(o, self.inner_df[\u0027txt\u0027][i])\n",
+ "\n",
+ " def reconstruct(self, t:Tensor):\n",
+ " return EmbeddingText(t, self.find_text_for_em(t))\n",
+ "\n",
+ " def show_xys(self, xs, ys, max_len:int\u003d70)-\u003eNone:\n",
+ " \"Show the `xs` (inputs) and `ys` (targets). `max_len` is the maximum number of tokens displayed.\"\n",
+ " from IPython.display import display, HTML\n",
+ " names \u003d [\u0027text\u0027,\u0027target\u0027]\n",
+ " items \u003d []\n",
+ " for i, (x,y) in enumerate(zip(xs,ys)):\n",
+ " txt_x \u003d \u0027 \u0027.join(x.text.split(\u0027 \u0027)[:max_len]) if max_len is not None else x.text\n",
+ " items.append([txt_x, y])\n",
+ " items \u003d np.array(items)\n",
+ " df \u003d pd.DataFrame({n:items[:,i] for i,n in enumerate(names)}, columns\u003dnames)\n",
+ " with pd.option_context(\u0027display.max_colwidth\u0027, -1):\n",
+ " display(HTML(df.to_html(index\u003dFalse)))\n",
+ "\n",
+ " def show_xyzs(self, xs, ys, zs, max_len:int\u003d70):\n",
+ " \"Show `xs` (inputs), `ys` (targets) and `zs` (predictions). `max_len` is the maximum number of tokens displayed.\"\n",
+ " from IPython.display import display, HTML\n",
+ " items,names \u003d [],[\u0027text\u0027,\u0027target\u0027,\u0027prediction\u0027]\n",
+ " for i, (x,y,z) in enumerate(zip(xs,ys,zs)):\n",
+ " txt_x \u003d \u0027 \u0027.join(x.text.split(\u0027 \u0027)[:max_len]) if max_len is not None else x.text\n",
+ " items.append([txt_x, y, z])\n",
+ " items \u003d np.array(items)\n",
+ " df \u003d pd.DataFrame({n:items[:,i] for i,n in enumerate(names)}, columns\u003dnames)\n",
+ " with pd.option_context(\u0027display.max_colwidth\u0027, -1):\n",
+ " display(HTML(df.to_html(index\u003dFalse)))"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 37,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "path\u003ddataset/\"models\"\n",
+ "src \u003d ItemLists(path, \n",
+ " EmbeddingList.from_df(trn_df, cols\u003d2, path\u003dpath),\n",
+ " EmbeddingList.from_df(tst_df, cols\u003d2, path\u003dpath))\n",
+ "classes\u003dnp.unique(trn_df[\u0027y\u0027])\n",
+ "#src.label_from_lists(trn_df[[\u0027y\u0027, \u0027ey\u0027]], tst_df[[\u0027y\u0027, \u0027ey\u0027]], classes\u003dclasses, processor\u003d[]) # todo why it wasnt workign\n",
+ "src.label_from_df(cols\u003d[0,1])\n",
+ "data \u003d src.databunch(bs\u003d1000, num_workers\u003d0)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 38,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "\u003cIPython.core.display.HTML object\u003e",
+ "text/html": "\u003ctable border\u003d\"1\" class\u003d\"dataframe\"\u003e\n \u003cthead\u003e\n \u003ctr style\u003d\"text-align: right;\"\u003e\n \u003cth\u003etext\u003c/th\u003e\n \u003cth\u003etarget\u003c/th\u003e\n \u003c/tr\u003e\n \u003c/thead\u003e\n \u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003eaccount account bra@@ wo ty dar@@ ia ki@@ bi@@ c ma być na dobre i zł@@ e\u003c/td\u003e\n \u003ctd\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003eaccount account bra@@ wo ty dar@@ ia ki@@ bi@@ c ma być na dobre i zł@@ e\u003c/td\u003e\n \u003ctd\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003eaccount account bra@@ wo ty dar@@ ia ki@@ bi@@ c ma być na dobre i zł@@ e\u003c/td\u003e\n \u003ctd\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003eaccount account bra@@ wo ty dar@@ ia ki@@ bi@@ c ma być na dobre i zł@@ e\u003c/td\u003e\n \u003ctd\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003ctr\u003e\n \u003ctd\u003eaccount account bra@@ wo ty dar@@ ia ki@@ bi@@ c ma być na dobre i zł@@ e\u003c/td\u003e\n \u003ctd\u003e\u003c/td\u003e\n \u003c/tr\u003e\n \u003c/tbody\u003e\n\u003c/table\u003e"
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "data.show_batch()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 39,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "class LaserSentCLS(nn.Module):\n",
+ " def __init__(self, idim\u003d1024, odim\u003d2, nhid\u003dNone,\n",
+ " dropout\u003d0.0, activation\u003d\u0027TANH\u0027):\n",
+ " super().__init__()\n",
+ " modules \u003d []\n",
+ "\n",
+ " modules \u003d []\n",
+ " print(\u0027 - mlp {:d}\u0027.format(idim), end\u003d\u0027\u0027)\n",
+ " if len(nhid) \u003e 0:\n",
+ " if dropout \u003e 0:\n",
+ " modules.append(nn.Dropout(p\u003ddropout))\n",
+ " nprev \u003d idim\n",
+ " for nh in nhid:\n",
+ " if nh \u003e 0:\n",
+ " modules.append(nn.Linear(nprev, nh))\n",
+ " nprev \u003d nh\n",
+ " if activation \u003d\u003d \u0027TANH\u0027:\n",
+ " modules.append(nn.Tanh())\n",
+ " print(\u0027-{:d}t\u0027.format(nh), end\u003d\u0027\u0027)\n",
+ " elif activation \u003d\u003d \u0027RELU\u0027:\n",
+ " modules.append(nn.ReLU())\n",
+ " print(\u0027-{:d}r\u0027.format(nh), end\u003d\u0027\u0027)\n",
+ " else:\n",
+ " raise Exception(\u0027Unrecognized activation {activation}\u0027)\n",
+ " if dropout \u003e 0:\n",
+ " modules.append(nn.Dropout(p\u003ddropout))\n",
+ " modules.append(nn.Linear(nprev, odim))\n",
+ " print(\u0027-{:d}, dropout\u003d{:.1f}\u0027.format(odim, dropout))\n",
+ " else:\n",
+ " modules.append(nn.Linear(idim, odim))\n",
+ " print(\u0027 - mlp %d-%d\u0027.format(idim, odim))\n",
+ " self.mlp \u003d nn.Sequential(*modules)\n",
+ " def forward(self, x):\n",
+ " return self.mlp(x)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 41,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "1000"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 41
+ }
+ ],
+ "source": [
+ "data.train_dl.dl.batch_size"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 42,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "# FBeta(beta\u003d1, average\u003d\u0027binary\u0027)\n",
+ "def accuracy_t(y_pred:Tensor, y_true:Tensor, thresh:float\u003d0.5, ignore_y_val\u003d0.5)-\u003eRank0Tensor:\n",
+ " \"Compute accuracy only for the first axis when `y_pred` and `y_true` are the same size.\"\n",
+ " y_pred \u003d y_pred.sigmoid() \u003e thresh\n",
+ " mask \u003d (y_true !\u003d ignore_y_val)\n",
+ " return ((y_pred)\u003d\u003dy_true.byte())[mask].float().mean()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 43,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "tensor(1.)"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 43
+ }
+ ],
+ "source": [
+ "y_pred\u003dtorch.Tensor([[-1,10],[-1 , 10], [10,10], [10, 10]])\n",
+ "y_true\u003dtorch.Tensor([[0, 1],[0.5, 1.0],[1.0, 1.0], [1.0, 0.5]])\n",
+ "mask \u003d (y_true !\u003d 0.5)\n",
+ "accuracy_t(y_pred,y_true)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 34,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "tensor([[1., 1.],\n",
+ " [0., 1.],\n",
+ " [1., 1.],\n",
+ " [1., 0.]])"
+ ]
+ },
+ "execution_count": 34,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "mask.float()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 35,
+ "metadata": {
+ "scrolled": false,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "tensor([[0.2689, 1.0000],\n",
+ " [0.2689, 1.0000],\n",
+ " [1.0000, 1.0000],\n",
+ " [1.0000, 1.0000]])"
+ ]
+ },
+ "execution_count": 35,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "y_pred.sigmoid()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 36,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "tensor([[0., 1.],\n",
+ " [0., 1.],\n",
+ " [1., 1.],\n",
+ " [1., 0.]])"
+ ]
+ },
+ "execution_count": 36,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "(y_pred.sigmoid()\u003e0.5).float()*mask.float()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 37,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "tensor([[0., 1.],\n",
+ " [0., 1.],\n",
+ " [1., 1.],\n",
+ " [1., 0.]])"
+ ]
+ },
+ "execution_count": 37,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "y_true*mask.float()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 44,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "def fbeta(y_pred:Tensor, y_true:Tensor, thresh:float\u003d0.5, beta:float\u003d2, ignore_y_val\u003d0.5, eps:float\u003d1e-9, sigmoid:bool\u003dTrue)-\u003eRank0Tensor:\n",
+ " \"Computes the f_beta between `preds` and `targets`\"\n",
+ " beta2 \u003d beta ** 2\n",
+ " if sigmoid: y_pred \u003d y_pred.sigmoid()\n",
+ " mask \u003d (y_true !\u003d ignore_y_val)\n",
+ " y_pred \u003d (y_pred\u003ethresh).float()*mask.float()\n",
+ " y_true \u003d y_true.float()*mask.float()\n",
+ " TP \u003d (y_pred*y_true).sum(dim\u003d1)\n",
+ " prec \u003d TP/(y_pred.sum(dim\u003d1)+eps)\n",
+ " rec \u003d TP/(y_true.sum(dim\u003d1)+eps)\n",
+ " res \u003d (prec*rec)/(prec*beta2+rec+eps)*(1+beta2)\n",
+ " return res.mean()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 45,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "def fbeta1(y_pred, y_true):\n",
+ " return fbeta(y_pred, y_true, thresh\u003d0.5, beta\u003d1, ignore_y_val\u003d0.5)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 46,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "tensor(1.)"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 46
+ }
+ ],
+ "source": [
+ "fbeta1(y_pred, y_true)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 41,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": [
+ "# def f1_loss(input, target, reduction\u003dNone):\n",
+ "# eps \u003d 1e-7\n",
+ "# logit \u003d F.softmax(input, dim\u003d-1) # [bs, 2]\n",
+ "# tp \u003d logit[target \u003d\u003d 1, 1].sum()\n",
+ "# tn \u003d logit[target \u003d\u003d 0, 0].sum()\n",
+ "# bs \u003d target.shape[0]\n",
+ "# return 1.0 - 2.0*tp / (tp - tn + bs +eps)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 42,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": [
+ "#learn.loss_func\u003df1_loss"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 47,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "def f1_loss(input, target, reduction\u003dNone, treshold\u003d0.5):\n",
+ " eps \u003d 1e-7\n",
+ " preds \u003d torch.sigmoid(input) # [bs, 2]\n",
+ " tp \u003d (preds[target \u003d\u003d 1]).sum()\n",
+ " tn \u003d (1-preds[target \u003d\u003d 0]).sum()\n",
+ " bs \u003d (target !\u003d 0.5).sum()\n",
+ " #print(tp, tn, bs)\n",
+ " return 1.0 - 2.0*tp / (tp - tn + bs +eps)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 48,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "tensor(171.)"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 48
+ }
+ ],
+ "source": [
+ "y_true \u003d (torch.empty(1000, 1).uniform_(0, 1) \u003e 0.8).float()\n",
+ "y_true.sum()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 49,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [],
+ "source": [
+ "f1l \u003d[]\n",
+ "f1m \u003d[]\n",
+ "for prc in range(0, 101):\n",
+ " mask \u003d (torch.empty(1000, 1).uniform_(0, 100) \u003e\u003d prc).float()\n",
+ " y_pred \u003d ((1 - y_true) * (1 - mask) + y_true * mask) * torch.empty_like(y_true).uniform_(2, 100) \n",
+ " f1l.append(-f1_loss(y_pred, y_true).cpu())\n",
+ " f1m.append(fbeta1(y_pred, y_true).cpu())\n",
+ "f1l\u003dnp.array(f1l)\n",
+ "f1m\u003dnp.array(f1m)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 50,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "array([-0.548238, -0.551204, -0.557501, -0.558579, ..., -0.837871, -0.837386, -0.841939, -0.842278], dtype\u003dfloat32)"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 50
+ },
+ {
+ "data": {
+ "text/plain": "\u003cFigure size 432x288 with 1 Axes\u003e",
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX8AAAD8CAYAAACfF6SlAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4zLCBodHRwOi8vbWF0cGxvd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bZOZcCnAncB2BmTWZWQT/fz/gnDCY652KAAUAR/Ww/m9lSoOywt9vbr5cBD5i3HEh1zg3rah36W/iPAHa3Wi6IvNdvOedGA7OAN4EhZlYU+WgvMKSXqnWs/Ar4OhCOLA8GKsysObLc3/b3GKAE+FOkqete51wS/Xg/m1kh8HNgFz70K4HV9O/9fEB7+/WY5Fp/C/9Acc4lA/8AvmxmVa0/M38bV7+5lcs5dwlQbGare7suPSgGOAn4nZnNAmo5rImnH+7nNPyZ7hhgOJDE+5tH+r2e2K/9LfwLgZGtlrMj7/U7zrlYfPA/bGaPR97ed+ByMPJ3cW/V7xg4HbjUOZeHb847F98enhppHoD+t78LgAIzezOy/Bj+YNCf9/P5wE4zKzGzEPA4ft/35/18QHv79ZjkWn8L/5XAhMidAXH4jqKne7lO3S7S1n0fsNHMftnqo6eB6yOvrwee6um6HStm9k0zyzaz0fj9+qKZXQu8BFwRKdbftnkvsNs5Nyny1nnABvrxfsY398x1zg2I/Hd+YJv77X5upb39+jRwXeSun7lAZavmoaNnZv3qD3ARsAXYDtze2/U5Rtt4Bv6S8F3g7cifi/Bt4EuArcALQHpv1/UYbf/ZwD8jr8cCK4BtwN+B+N6uXzdv60xgVWRfPwmk9ff9DPw/YBOwDngQiO9v+xl4BN+nEcJf4X2uvf0KOPxdjNuBtfg7obpcB43wFREJoP7W7CMiIp2g8BcRCSCFv4hIACn8RUQCSOEvIhJACn8RkQBS+IuIBJDCX0QkgP4/WIR77uwEB3EAAAAASUVORK5CYII\u003d\n"
+ },
+ "metadata": {
+ "needs_background": "light"
+ },
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "plt.plot(f1l)\n",
+ "plt.plot(f1m)\n",
+ "f1l"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 51,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "tensor(0.)"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 51
+ }
+ ],
+ "source": [
+ "fbeta1(y_pred, y_true)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 52,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "tensor(1.)"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 52
+ }
+ ],
+ "source": [
+ "y_pred \u003d torch.Tensor([[-1,10],[-1 , 10], [10, 10], [10, 10]])\n",
+ "y_true \u003d torch.Tensor([[0, 1], [0.5, 1.0],[1.0, 1.0], [1.0, 0.5]])\n",
+ "mask \u003d (y_true !\u003d 0.5)\n",
+ "accuracy_t(y_pred,y_true)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 53,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": "tensor(0.0262)"
+ },
+ "metadata": {},
+ "output_type": "execute_result",
+ "execution_count": 53
+ }
+ ],
+ "source": [
+ "f1_loss(y_pred, y_true)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 54,
+ "metadata": {
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "text": [
+ " - mlp 1024-100r-50r-2, dropout\u003d0.0\n"
+ ],
+ "output_type": "stream"
+ }
+ ],
+ "source": [
+ "m\u003dLaserSentCLS(nhid\u003d[100, 50], odim\u003d2, dropout\u003d0, activation\u003d\u0027RELU\u0027)\n",
+ "learn \u003d Learner(data, m, metrics\u003d[accuracy_thresh,accuracy_t,fbeta1])\n",
+ "#learn.loss_func\u003df1_loss\n",
+ "learn.save(\"rnd\")"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 208,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/html": [],
+ "text/plain": [
+ "\u003cIPython.core.display.HTML object\u003e"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "LR Finder is complete, type {learner_name}.recorder.plot() to see the graph.\n"
+ ]
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYsAAAEKCAYAAADjDHn2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvnQurowAAIABJREFUeJzt3Xl81NW9//HXZyYJIWEJkLAmEIgBZFUJKCriUhXtvS6tG21dW61t7XLbeqvtffR3a/ftdrXXYitV626rV62Ke6nKrmyiIDsBNJElEEIy2/n9Md/AGBMSIJPvLO/nw3lk5jvfmXlPHOaTc873nK855xARETmUgN8BREQk9alYiIhIu1QsRESkXSoWIiLSLhULERFpl4qFiIi0S8VCRETapWIhIiLtUrEQEZF25fgdoLMUFxe78vJyv2OIiKSVJUuWfOCcK2lvv4wpFuXl5SxevNjvGCIiacXMNnVkP3VDiYhIu1QsRESkXSoWIiLSLhULERFpl4qFiIi0S8VCRETapWIhIiLtUrEQEUkxa2vqeXble37H+BAVCxGRFPPrF9Zw41+X8Pyq9/2OckDGzOA+Uo3hKH94ZR09ugUp7JZDj245dM8NYmYYYAbOQdQ5nHPEHMS8n845AIIBI2hGIGBAfLtzEIk5GsNRGsNR9oejhKPuQ68diTrC0RihaIxwNIb3dMS8xx94zdhHXxMDwwhYPKNh8Z8W3xaw5vvsQ/fH8x3MkBM0ggEjJ2AELH49YBAIGPHfgPdyxof2yQnGH5MTCJATNPKCAXKDAXJzAuQGjW45AfKCQfJyAuR525r36Z4XpFtOALODzy8iB63YWgfANx5eyj++Mo2yvgU+J1KxYM/+ML998V3fXj8YMHKDRm4g4BWA+Bf8gS9t78s+aHbgix/4SGFxxH/GHMDBohaNOYj/h3PuwBe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y7HOALwG/JX4+jBJgknMubGYbgfxWHm/Aj51zfzzM1xX5CHVDSTZ6jvjKrwCYWfMS0705uBz0NUl8/fnEu78ArmhvZ+dcA/FTsX7DzHKI56zxCsUZwDBv171Az4SHzgGu81pNmNkQM+vfSe9BsoyKhWS6AjOrTrh8nfgXb5U36LuK+PLyAD8Dfmxmb5LcVvfXgK+b2XLiJ8apa+8Bzrk3ia9YO5P4+TCqzGwFcBXxsRacczuA17xDbX/unHuOeDfXPG/fR/lwMRHpMB06K9LFvG6l/c45Z2ZXADOdcxe29zgRP2nMQqTrTQJ+7x3BtJsknsZWpLOoZSEiIu3SmIWIiLRLxUJERNqlYiEiIu1SsRARkXapWIiISLtULEREpF3/H9Wcj3W16TxBAAAAAElFTkSuQmCC\n",
+ "text/plain": [
+ "\u003cFigure size 432x288 with 1 Axes\u003e"
+ ]
+ },
+ "metadata": {
+ "needs_background": "light"
+ },
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "learn.lr_find();learn.recorder.plot()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 221,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": [
+ "def fbeta1(y_pred, y_true):\n",
+ " return fbeta(y_pred, y_true, thresh\u003d0.5, beta\u003d1, ignore_y_val\u003d0.5)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 55,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {
+ "is_executing": false
+ }
+ },
+ "outputs": [
+ {
+ "name": "stderr",
+ "text": [
+ "/home/pczapla/anaconda3/envs/fastaiv1/lib/python3.7/site-packages/torch/serialization.py:251: UserWarning: Couldn\u0027t retrieve source code for container of type LaserSentCLS. It won\u0027t be checked for correctness upon loading.\n \"type \" + obj.__name__ + \". It won\u0027t be checked \"\n"
+ ],
+ "output_type": "stream"
+ },
+ {
+ "data": {
+ "text/plain": "\u003cIPython.core.display.HTML object\u003e",
+ "text/html": "\n \u003cdiv\u003e\n \u003cstyle\u003e\n /* Turns off some styling */\n progress {\n /* gets rid of default border in Firefox and Opera. */\n border: none;\n /* Needs to be in here for Safari polyfill so background images work as expected. */\n background-size: auto;\n }\n .progress-bar-interrupted, .progress-bar-interrupted::-webkit-progress-bar {\n background: #F44336;\n }\n \u003c/style\u003e\n \u003cprogress value\u003d\u00270\u0027 class\u003d\u0027\u0027 max\u003d\u00273\u0027, style\u003d\u0027width:300px; height:20px; vertical-align: middle;\u0027\u003e\u003c/progress\u003e\n \n \u003c/div\u003e\n \n"
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": "from fastai.callbacks import * \nruns\u003d[]\nfor i in range(0, 1):\n learn.load(\"rnd\")\n #cb\u003dSaveModelCallback(learn, every\u003d\u0027improvement\u0027,monitor\u003d\u0027fbeta1\u0027, name\u003d\u0027best\u0027)\n learn.fit_one_cycle(3, 0.08, wd\u003d0.06)"
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 257,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "[0.53880954, tensor(0.7195), tensor(0.8660), tensor(0.)]"
+ ]
+ },
+ "execution_count": 257,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "learn.validate()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 269,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "ename": "TypeError",
+ "evalue": "get_preds() got an unexpected keyword argument \u0027activ\u0027",
+ "output_type": "error",
+ "traceback": [
+ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
+ "\u001b[0;31mTypeError\u001b[0m Traceback (most recent call last)",
+ "\u001b[0;32m\u003cipython-input-269-e97a4c9406e0\u003e\u001b[0m in \u001b[0;36m\u003cmodule\u003e\u001b[0;34m\u001b[0m\n\u001b[0;32m----\u003e 1\u001b[0;31m \u001b[0my_pred\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0my_true\u001b[0m \u001b[0;34m\u003d\u001b[0m \u001b[0mlearn\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mget_preds\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mactiv\u001b[0m\u001b[0;34m\u003d\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0maccuracy_thresh\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0my_pred\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0my_true\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0maccuracy_t\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0my_pred\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0my_true\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfbeta1\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0my_pred\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0my_true\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
+ "\u001b[0;31mTypeError\u001b[0m: get_preds() got an unexpected keyword argument \u0027activ\u0027"
+ ]
+ }
+ ],
+ "source": [
+ "y_pred, y_true \u003d learn.get_preds(activ\u003dNone)\n",
+ "accuracy_thresh(y_pred, y_true),accuracy_t(y_pred, y_true), fbeta1(y_pred, y_true), "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 267,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "tensor([[0, 0],\n",
+ " [0, 0],\n",
+ " [0, 0],\n",
+ " ...,\n",
+ " [0, 0],\n",
+ " [0, 0],\n",
+ " [0, 0]], dtype\u003dtorch.uint8)"
+ ]
+ },
+ "execution_count": 267,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "y_pred \u003c0"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 251,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "tensor(134)"
+ ]
+ },
+ "execution_count": 251,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "((y_pred.sigmoid()\u003e0.5).float() \u003d\u003d y_true).sum()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 252,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "tensor(134)"
+ ]
+ },
+ "execution_count": 252,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "((y_pred.sigmoid() \u003e 0.5).float() \u003d\u003d y_true)[y_true\u003d\u003d1.0].sum()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 259,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "tensor(0.0670)"
+ ]
+ },
+ "execution_count": 259,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "accuracy_thresh(y_pred, y_true)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 238,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": [
+ "# FBeta(beta\u003d1, average\u003d\u0027binary\u0027)\n",
+ "def accuracy_t(y_pred:Tensor, y_true:Tensor, thresh:float\u003d0.5, ignore_y_val\u003d0.5)-\u003eRank0Tensor:\n",
+ " \"Compute accuracy only for the first axis when `y_pred` and `y_true` are the same size.\"\n",
+ " y_pred \u003d y_pred.sigmoid() \u003e thresh\n",
+ " mask \u003d (y_true !\u003d ignore_y_val)\n",
+ " return ((y_pred)\u003d\u003dy_true.byte())[mask].float().mean()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": []
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 231,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": [
+ "def f_tst(y_pred:Tensor, y_true:Tensor, thresh:float\u003d0.5, beta:float\u003d1,\n",
+ " ignore_y_val\u003d0.5, eps:float\u003d1e-9, sigmoid:bool\u003dTrue)-\u003eRank0Tensor:\n",
+ " \"Computes the f_beta between `preds` and `targets`\"\n",
+ " \n",
+ " beta2 \u003d beta ** 2\n",
+ " if sigmoid: y_pred \u003d y_pred.sigmoid()\n",
+ " mask \u003d (y_true !\u003d ignore_y_val)\n",
+ " y_pred \u003d (y_pred\u003ethresh).float()*mask.float()\n",
+ " y_true \u003d y_true.float()*mask.float()\n",
+ " TP \u003d (y_pred*y_true).sum(dim\u003d1)\n",
+ " prec \u003d TP/(y_pred.sum(dim\u003d1)+eps)\n",
+ " rec \u003d TP/(y_true.sum(dim\u003d1)+eps)\n",
+ " res \u003d (prec*rec)/(prec*beta2+rec+eps)*(1+beta2)\n",
+ " return res.mean()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 233,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "tensor([[0.0000, 0.5000],\n",
+ " [0.0000, 0.5000],\n",
+ " [0.0000, 0.5000],\n",
+ " ...,\n",
+ " [0.0000, 0.5000],\n",
+ " [1.0000, 0.5000],\n",
+ " [0.0000, 0.5000]])"
+ ]
+ },
+ "execution_count": 233,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "y_true"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 232,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "tensor(0.1340)"
+ ]
+ },
+ "execution_count": 232,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "f_tst(y_pred, y_true)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 192,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "(0.134, 0.13400002, 1.4901161e-08)"
+ ]
+ },
+ "execution_count": 192,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "np.max(runs), np.mean(runs), np.std(runs)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 169,
+ "metadata": {
+ "scrolled": false,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:49 \u003cp\u003e\u003ctable border\u003d\"1\" class\u003d\"dataframe\"\u003e\n",
+ " \u003cthead\u003e\n",
+ " \u003ctr style\u003d\"text-align: left;\"\u003e\n",
+ " \u003cth\u003eepoch\u003c/th\u003e\n",
+ " \u003cth\u003etrain_loss\u003c/th\u003e\n",
+ " \u003cth\u003evalid_loss\u003c/th\u003e\n",
+ " \u003cth\u003eaccuracy_thresh\u003c/th\u003e\n",
+ " \u003cth\u003eaccuracy_t\u003c/th\u003e\n",
+ " \u003cth\u003efbeta1\u003c/th\u003e\n",
+ " \u003cth\u003etime\u003c/th\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003c/thead\u003e\n",
+ " \u003ctbody\u003e\n",
+ " \u003ctr\u003e\n",
+ " \u003ctd\u003e0\u003c/td\u003e\n",
+ " \u003ctd\u003e0.419429\u003c/td\u003e\n",
+ " \u003ctd\u003e0.559374\u003c/td\u003e\n",
+ " \u003ctd\u003e0.650000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.866000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.000000\u003c/td\u003e\n",
+ " \u003ctd\u003e00:09\u003c/td\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003ctr\u003e\n",
+ " \u003ctd\u003e1\u003c/td\u003e\n",
+ " \u003ctd\u003e0.414841\u003c/td\u003e\n",
+ " \u003ctd\u003e0.538203\u003c/td\u003e\n",
+ " \u003ctd\u003e0.856500\u003c/td\u003e\n",
+ " \u003ctd\u003e0.862000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.000000\u003c/td\u003e\n",
+ " \u003ctd\u003e00:09\u003c/td\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003ctr\u003e\n",
+ " \u003ctd\u003e2\u003c/td\u003e\n",
+ " \u003ctd\u003e0.408413\u003c/td\u003e\n",
+ " \u003ctd\u003e0.511236\u003c/td\u003e\n",
+ " \u003ctd\u003e0.791000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.879000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.014000\u003c/td\u003e\n",
+ " \u003ctd\u003e00:10\u003c/td\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003ctr\u003e\n",
+ " \u003ctd\u003e3\u003c/td\u003e\n",
+ " \u003ctd\u003e0.402823\u003c/td\u003e\n",
+ " \u003ctd\u003e0.505788\u003c/td\u003e\n",
+ " \u003ctd\u003e0.646500\u003c/td\u003e\n",
+ " \u003ctd\u003e0.883000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.033000\u003c/td\u003e\n",
+ " \u003ctd\u003e00:10\u003c/td\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003ctr\u003e\n",
+ " \u003ctd\u003e4\u003c/td\u003e\n",
+ " \u003ctd\u003e0.400633\u003c/td\u003e\n",
+ " \u003ctd\u003e0.510398\u003c/td\u003e\n",
+ " \u003ctd\u003e0.693000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.884000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.025000\u003c/td\u003e\n",
+ " \u003ctd\u003e00:10\u003c/td\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003c/tbody\u003e\n",
+ "\u003c/table\u003e"
+ ],
+ "text/plain": [
+ "\u003cIPython.core.display.HTML object\u003e"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with fbeta1 value: 0.0.\n",
+ "Better model found at epoch 2 with fbeta1 value: 0.014000000432133675.\n",
+ "Better model found at epoch 3 with fbeta1 value: 0.032999999821186066.\n"
+ ]
+ }
+ ],
+ "source": [
+ "learn.fit_one_cycle(5, 1e-2, callbacks\u003d[cb])"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": []
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 189,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "[0.5057879, tensor(0.0330)]"
+ ]
+ },
+ "execution_count": 189,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "learn.validate(metrics\u003d[fbeta_1])"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 187,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "\u003e \u001b[0;32m\u003cipython-input-185-346e6c34bc60\u003e\u001b[0m(13)\u001b[0;36mfbeta_1\u001b[0;34m()\u001b[0m\n",
+ "\u001b[0;32m 10 \u001b[0;31m \u001b[0mrec\u001b[0m \u001b[0;34m\u003d\u001b[0m \u001b[0mTP\u001b[0m\u001b[0;34m/\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0my_true\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msum\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdim\u001b[0m\u001b[0;34m\u003d\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m+\u001b[0m\u001b[0meps\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
+ "\u001b[0m\u001b[0;32m 11 \u001b[0;31m \u001b[0mres\u001b[0m \u001b[0;34m\u003d\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mprec\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0mrec\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m/\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mprec\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0mbeta2\u001b[0m\u001b[0;34m+\u001b[0m\u001b[0mrec\u001b[0m\u001b[0;34m+\u001b[0m\u001b[0meps\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m+\u001b[0m\u001b[0mbeta2\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
+ "\u001b[0m\u001b[0;32m 12 \u001b[0;31m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mres\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
+ "\u001b[0m\u001b[0;32m---\u003e 13 \u001b[0;31m \u001b[0;32mraise\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mres\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
+ "\u001b[0m\u001b[0;32m 14 \u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mres\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmean\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
+ "\u001b[0m\n",
+ "ipdb\u003e p y_pred.shape\n",
+ "torch.Size([200, 2])\n",
+ "ipdb\u003e quit\n"
+ ]
+ }
+ ],
+ "source": [
+ "%debug"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 175,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": [
+ "p, lbls \u003d learn.get_preds()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 188,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": [
+ "def fbeta_1(y_pred:Tensor, y_true:Tensor, thresh:float\u003d0.5, beta:float\u003d2, ignore_y_val\u003d0.5, eps:float\u003d1e-9, sigmoid:bool\u003dTrue)-\u003eRank0Tensor:\n",
+ " \"Computes the f_beta between `preds` and `targets`\"\n",
+ " beta2 \u003d beta ** 2\n",
+ " if sigmoid: y_pred \u003d y_pred.sigmoid()\n",
+ " mask \u003d (y_true !\u003d ignore_y_val)\n",
+ " y_pred \u003d (y_pred\u003ethresh).float()*mask.float()\n",
+ " y_true \u003d y_true.float()*mask.float()\n",
+ " TP \u003d (y_pred*y_true).sum(dim\u003d1)\n",
+ " prec \u003d TP/(y_pred.sum(dim\u003d1)+eps)\n",
+ " rec \u003d TP/(y_true.sum(dim\u003d1)+eps)\n",
+ " res \u003d (prec*rec)/(prec*beta2+rec+eps)*(1+beta2)\n",
+ " return res.mean()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 182,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "tensor([0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0.,\n",
+ " 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0.,\n",
+ " 0., 0., 0., 1., 1., 0., 0., 1., 0., 0., 1., 1., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 1., 1., 0., 0., 1.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 1., 0., 0., 0., 0., 1., 1., 0., 0., 0., 0., 0., 0., 0., 1., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 1., 0., 1., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 1., 0., 0., 0., 1., 0., 0., 0., 0., 1., 0., 0., 1., 0., 1.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 1.,\n",
+ " 0., 0., 1., 0., 0., 0., 0., 0., 0., 1., 1., 1., 0., 0., 1., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 1., 0., 0., 0., 1., 0., 0., 0., 0., 1., 0., 0., 1.,\n",
+ " 1., 0., 0., 0., 1., 0., 0., 0., 1., 0., 0., 1., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 1., 1., 0., 0., 0., 0., 0., 1., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 1., 0.,\n",
+ " 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 1., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 1., 0., 1., 1., 1., 0., 0., 0., 0., 1., 0., 0., 0., 0.,\n",
+ " 1., 0., 0., 1., 0., 0., 1., 1., 0., 0., 0., 0., 1., 0., 0., 1., 0., 1.,\n",
+ " 1., 0., 0., 0., 0., 1., 0., 1., 0., 0., 0., 0., 0., 0., 1., 0., 1., 0.,\n",
+ " 0., 0., 1., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1.,\n",
+ " 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0.,\n",
+ " 0., 0., 0., 0., 0., 1., 1., 0., 0., 0., 1., 0., 0., 1., 0., 1., 0., 0.,\n",
+ " 1., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 1., 1., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 1.,\n",
+ " 0., 0., 0., 0., 1., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 1., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 1., 0., 0., 1., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 1., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 1., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 1., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 1., 0., 0., 0., 0., 1., 0., 0., 0., 0., 1., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 1., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 1., 0., 1., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 1., 1., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0., 1., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1., 1., 0., 1., 0., 0.,\n",
+ " 0., 0., 1., 0., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 0., 0., 0., 0., 1., 0., 1., 0., 0., 0., 0., 0., 0., 0., 0.,\n",
+ " 0., 1., 0., 0., 1., 1., 0., 0., 0., 0., 0., 1., 1., 1., 0., 0., 0., 0.,\n",
+ " 0., 0., 0., 1., 0., 0., 0., 0., 1., 0.])\n"
+ ]
+ },
+ {
+ "data": {
+ "text/plain": [
+ "tensor(0.1340)"
+ ]
+ },
+ "execution_count": 182,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "fbeta_1(p, lbls)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 163,
+ "metadata": {
+ "scrolled": true,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/html": [],
+ "text/plain": [
+ "\u003cIPython.core.display.HTML object\u003e"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "LR Finder is complete, type {learner_name}.recorder.plot() to see the graph.\n"
+ ]
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYsAAAEKCAYAAADjDHn2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvnQurowAAIABJREFUeJzt3Xl4VdW5+PHvm4SEEEJCSBjDECaReQiTiuKMtYpjK862ar1KtVe9V9vr9efVTtpW2yraqtVaK1KHalFRpCoOzGEmIJIJkkBCBggkIfP7++Ps6AEz5+ycc5L38zzn8ey11977PfGQN3uttdcSVcUYY4xpSoi/AzDGGBP4LFkYY4xpliULY4wxzbJkYYwxplmWLIwxxjTLkoUxxphmWbIwxhjTLEsWxhhjmmXJwhhjTLPC/B2Ar8THx+uwYcP8HYYxxgSVjRs3FqpqQnP1Ok2yGDZsGCkpKf4OwxhjgoqI7G1JPWuGMsYY0yxLFsYYY5rlarIQkXkisltE0kTk/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ZDvpGF6+/Fk/zF8BVzVVW1XI8S7HeIyJheOI86CSKM4GhTtWjQLTXocuBHzh3TYjIIBHp66PPYLoYSxams+shIjler7vx/OJNdjp9d+KZXh7gMeBXIrIZd++6fwLcLSLb8CyMU9LcAaq6Gc+MtQvwrIeRLCLbgevx9LWgqkXAKmeo7W9U9UM8zVxrnLpvcHwyMabFbOisMR3MaVY6pqoqIlcBC1R1fnPHGeNP1mdhTMebBjzljGA6jIvL2BrjK3ZnYYwxplnWZ2GMMaZZliyMMcY0y5KFMcaYZlmyMMYY0yxLFsYYY5plycIYY0yz/j+YIvuTlczvCgAAAABJRU5ErkJggg\u003d\u003d\n",
+ "text/plain": [
+ "\u003cFigure size 432x288 with 1 Axes\u003e"
+ ]
+ },
+ "metadata": {
+ "needs_background": "light"
+ },
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "learn.lr_find();learn.recorder.plot()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 164,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:43 \u003cp\u003e\u003ctable border\u003d\"1\" class\u003d\"dataframe\"\u003e\n",
+ " \u003cthead\u003e\n",
+ " \u003ctr style\u003d\"text-align: left;\"\u003e\n",
+ " \u003cth\u003eepoch\u003c/th\u003e\n",
+ " \u003cth\u003etrain_loss\u003c/th\u003e\n",
+ " \u003cth\u003evalid_loss\u003c/th\u003e\n",
+ " \u003cth\u003eaccuracy\u003c/th\u003e\n",
+ " \u003cth\u003ef_beta\u003c/th\u003e\n",
+ " \u003cth\u003etime\u003c/th\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003c/thead\u003e\n",
+ " \u003ctbody\u003e\n",
+ " \u003ctr\u003e\n",
+ " \u003ctd\u003e0\u003c/td\u003e\n",
+ " \u003ctd\u003e0.294594\u003c/td\u003e\n",
+ " \u003ctd\u003e0.601908\u003c/td\u003e\n",
+ " \u003ctd\u003e0.860000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.396552\u003c/td\u003e\n",
+ " \u003ctd\u003e00:08\u003c/td\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003ctr\u003e\n",
+ " \u003ctd\u003e1\u003c/td\u003e\n",
+ " \u003ctd\u003e0.307323\u003c/td\u003e\n",
+ " \u003ctd\u003e0.590900\u003c/td\u003e\n",
+ " \u003ctd\u003e0.861000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.408511\u003c/td\u003e\n",
+ " \u003ctd\u003e00:08\u003c/td\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003ctr\u003e\n",
+ " \u003ctd\u003e2\u003c/td\u003e\n",
+ " \u003ctd\u003e0.296017\u003c/td\u003e\n",
+ " \u003ctd\u003e0.578898\u003c/td\u003e\n",
+ " \u003ctd\u003e0.863000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.421941\u003c/td\u003e\n",
+ " \u003ctd\u003e00:08\u003c/td\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003ctr\u003e\n",
+ " \u003ctd\u003e3\u003c/td\u003e\n",
+ " \u003ctd\u003e0.304085\u003c/td\u003e\n",
+ " \u003ctd\u003e0.595933\u003c/td\u003e\n",
+ " \u003ctd\u003e0.862000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.410256\u003c/td\u003e\n",
+ " \u003ctd\u003e00:08\u003c/td\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003ctr\u003e\n",
+ " \u003ctd\u003e4\u003c/td\u003e\n",
+ " \u003ctd\u003e0.291582\u003c/td\u003e\n",
+ " \u003ctd\u003e0.596006\u003c/td\u003e\n",
+ " \u003ctd\u003e0.862000\u003c/td\u003e\n",
+ " \u003ctd\u003e0.410256\u003c/td\u003e\n",
+ " \u003ctd\u003e00:08\u003c/td\u003e\n",
+ " \u003c/tr\u003e\n",
+ " \u003c/tbody\u003e\n",
+ "\u003c/table\u003e"
+ ],
+ "text/plain": [
+ "\u003cIPython.core.display.HTML object\u003e"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "learn.fit_one_cycle(5, 8e-5)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 288,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYsAAAEKCAYAAADjDHn2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvnQurowAAIABJREFUeJzt3Xd8VfX9x/HXJzskIZDFCMGwkRkggIgbEbQqggOsbV0tWqvW2Tp+raPD2lpB66i2WrdIES2OMsQJKiPshBV2GAlhJBAIWZ/fH/dgYwjkJuTm3Nz7eT4e98G955x78z4cyOee7/me71dUFWOMMeZEQtwOYIwxxv9ZsTDGGFMnKxbGGGPqZMXCGGNMnaxYGGOMqZMVC2OMMXWyYmGMMaZOViyMMcbUyYqFMcaYOoW5HaCxJCUlaXp6utsxjDGmWcnKyipU1eS6tguYYpGens7ixYvdjmGMMc2KiGzxZjtrhjLGGFMnKxbGGGPqZMXCGGNMnaxYGGOMqZMVC2OMMXXyabEQkdEislZEckXkvlrWnyUiS0SkQkSuqLHuWhFZ7zyu9WVOY4wxJ+azYiEiocCzwIVAL+BqEelVY7OtwHXAWzXemwA8BAwFhgAPiUhrX2U1xhhzYr68z2IIkKuqGwFEZAowBsg5uoGqbnbWVdV47yhgjqruddbPAUYDb/swr/ERVWVd/kFW5O0nv7gUVQgLDSEqPISEmAiSYiNJio0kLSGaFhEBc+uPMQHFl/8zU4Ft1V7n4TlTaOh7U2tuJCITgYkAHTt2bFhK4zMHSst5e+FWXv16C9v3H/bqPamtoumSEsup7eIY1LE1g05pTWJspI+TGmPq0qy/xqnqi8CLAJmZmepyHFPNxyt38tCMbHYfOM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E/tU4JnxbBpwMTDzJD7fGK9ZsTDmWAeAuGqvZwE/d4Z8R0S6OxMM1RSPZ/rOQyLSE890tkeVH31/DV8B453rIsnAWXgGu6uVMz9JvKp+DNyJp/nKGJ+zaxbGHGsFUOk0J72CZ16MdGCJc5F5N3BZLe+bCdzsXFdYi6cp6qgXgRUiskQ9Q6cf9R6eKUCX4xkl+FequsspNrWJA/4jIlF4znjuatguGlM/NuqsMcaYOlkzlDHGmDpZsTDGGFMnKxbGGGPqZMXCGGNMnaxYGGOMqZMVC2OMMXWyYmGMMaZOViyMMcbU6f8BqOsAs7tHwI8AAAAASUVORK5CYII\u003d\n",
+ "text/plain": [
+ "\u003cFigure size 432x288 with 1 Axes\u003e"
+ ]
+ },
+ "metadata": {
+ "needs_background": "light"
+ },
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "learn.recorder.plot_lr()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": []
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 164,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": [
+ "interp \u003d ClassificationInterpretation.from_learner(learn)\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 165,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "ename": "RuntimeError",
+ "evalue": "Expected object of scalar type Float but got scalar type Long for argument #2 \u0027other\u0027",
+ "output_type": "error",
+ "traceback": [
+ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
+ "\u001b[0;31mRuntimeError\u001b[0m Traceback (most recent call last)",
+ "\u001b[0;32m\u003cipython-input-165-ab4f144f3c10\u003e\u001b[0m in \u001b[0;36m\u003cmodule\u003e\u001b[0;34m\u001b[0m\n\u001b[0;32m----\u003e 1\u001b[0;31m \u001b[0minterp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mplot_confusion_matrix\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
+ "\u001b[0;32m~/anaconda3/envs/laser/lib/python3.6/site-packages/fastai/train.py\u001b[0m in \u001b[0;36mplot_confusion_matrix\u001b[0;34m(self, normalize, title, cmap, slice_size, norm_dec, plot_txt, return_fig, **kwargs)\u001b[0m\n\u001b[1;32m 162\u001b[0m \u001b[0;34m\"Plot the confusion matrix, with `title` and using `cmap`.\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 163\u001b[0m \u001b[0;31m# This function is mainly copied from the sklearn docs\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--\u003e 164\u001b[0;31m \u001b[0mcm\u001b[0m \u001b[0;34m\u003d\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mconfusion_matrix\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mslice_size\u001b[0m\u001b[0;34m\u003d\u001b[0m\u001b[0mslice_size\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 165\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mnormalize\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mcm\u001b[0m \u001b[0;34m\u003d\u001b[0m \u001b[0mcm\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mastype\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\u0027float\u0027\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m/\u001b[0m \u001b[0mcm\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msum\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0maxis\u001b[0m\u001b[0;34m\u003d\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mnp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mnewaxis\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 166\u001b[0m \u001b[0mfig\u001b[0m \u001b[0;34m\u003d\u001b[0m \u001b[0mplt\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mfigure\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
+ "\u001b[0;32m~/anaconda3/envs/laser/lib/python3.6/site-packages/fastai/train.py\u001b[0m in \u001b[0;36mconfusion_matrix\u001b[0;34m(self, slice_size)\u001b[0m\n\u001b[1;32m 154\u001b[0m \u001b[0;32mfor\u001b[0m \u001b[0mi\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mrange\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0my_true\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mshape\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mslice_size\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 155\u001b[0m cm_slice \u003d ((self.pred_class[i:i+slice_size]\u003d\u003dx[:,None])\n\u001b[0;32m--\u003e 156\u001b[0;31m \u0026 (self.y_true[i:i+slice_size]\u003d\u003dx[:,None,None])).sum(2)\n\u001b[0m\u001b[1;32m 157\u001b[0m \u001b[0mtorch\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0madd\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcm\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mcm_slice\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mout\u001b[0m\u001b[0;34m\u003d\u001b[0m\u001b[0mcm\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 158\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mto_np\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mcm\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
+ "\u001b[0;31mRuntimeError\u001b[0m: Expected object of scalar type Float but got scalar type Long for argument #2 \u0027other\u0027"
+ ]
+ }
+ ],
+ "source": [
+ "interp.plot_confusion_matrix()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 174,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "ename": "TypeError",
+ "evalue": "len() of a 0-d tensor",
+ "output_type": "error",
+ "traceback": [
+ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
+ "\u001b[0;31mTypeError\u001b[0m Traceback (most recent call last)",
+ "\u001b[0;32m\u003cipython-input-174-eec5bea2d7ec\u003e\u001b[0m in \u001b[0;36m\u003cmodule\u003e\u001b[0;34m\u001b[0m\n\u001b[0;32m----\u003e 1\u001b[0;31m \u001b[0ml\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mi\u001b[0m \u001b[0;34m\u003d\u001b[0m \u001b[0minterp\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtop_losses\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
+ "\u001b[0;32m~/anaconda3/envs/laser/lib/python3.6/site-packages/fastai/train.py\u001b[0m in \u001b[0;36mtop_losses\u001b[0;34m(self, k, largest)\u001b[0m\n\u001b[1;32m 193\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0mtop_losses\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mk\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0mint\u001b[0m\u001b[0;34m\u003d\u001b[0m\u001b[0;32mNone\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mlargest\u001b[0m\u001b[0;34m\u003d\u001b[0m\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 194\u001b[0m \u001b[0;34m\"`k` largest(/smallest) losses and indexes, defaulting to all losses (sorted by `largest`).\"\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--\u003e 195\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlosses\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtopk\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mifnone\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mk\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mlen\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlosses\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mlargest\u001b[0m\u001b[0;34m\u003d\u001b[0m\u001b[0mlargest\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 196\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 197\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m_learner_interpret\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mlearn\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0mLearner\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mds_type\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0mDatasetType\u001b[0m\u001b[0;34m\u003d\u001b[0m\u001b[0mDatasetType\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mValid\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
+ "\u001b[0;32m~/anaconda3/envs/laser/lib/python3.6/site-packages/torch/tensor.py\u001b[0m in \u001b[0;36m__len__\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 409\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m__len__\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 410\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdim\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m\u003d\u003d\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--\u003e 411\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mTypeError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"len() of a 0-d tensor\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 412\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mshape\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 413\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n",
+ "\u001b[0;31mTypeError\u001b[0m: len() of a 0-d tensor"
+ ]
+ }
+ ],
+ "source": [
+ "l, i \u003d interp.top_losses()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": []
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 175,
+ "metadata": {
+ "scrolled": false,
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "[(1, 0, 86), (0, 1, 52)]"
+ ]
+ },
+ "execution_count": 175,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "interp.most_confused()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 169,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "ename": "NameError",
+ "evalue": "name \u0027i\u0027 is not defined",
+ "output_type": "error",
+ "traceback": [
+ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
+ "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
+ "\u001b[0;32m\u003cipython-input-169-88d0e67a5958\u003e\u001b[0m in \u001b[0;36m\u003cmodule\u003e\u001b[0;34m\u001b[0m\n\u001b[0;32m----\u003e 1\u001b[0;31m \u001b[0;32mfor\u001b[0m \u001b[0mix\u001b[0m \u001b[0;32min\u001b[0m \u001b[0mrange\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m0\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mvalid_ds\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mi\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0mix\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
+ "\u001b[0;31mNameError\u001b[0m: name \u0027i\u0027 is not defined"
+ ]
+ }
+ ],
+ "source": [
+ "for ix in range(0,10): print(data.valid_ds[i[ix]])"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 295,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "(EmbeddingText account wie@@ czna zdra@@ da , nie zdra@@ da , trzeba roz@@ mawi@@ ać , pier@@ dol@@ enie od rzeczy, Category 0)\n",
+ "(EmbeddingText account account to pani kry@@ sia jest two@@ ją oj@@ czy@@ zn@@ ą ?, Category 0)\n",
+ "(EmbeddingText account droga p.@@ kam@@ il@@ ko ! le@@ czyć się . le@@ czyć pó@@ ki czas 😁 😁, Category 0)\n",
+ "(EmbeddingText account du@@ baj w@@ zor@@ em , czy@@ li jednak islam , sal@@ am al@@ ej@@ kum ci@@ em@@ ki@@ e@@ wi@@ cz, Category 0)\n",
+ "(EmbeddingText account a ja za@@ łoż@@ ę fit@@ blo@@ ga 😂 😂 😂, Category 0)\n",
+ "(EmbeddingText account to tak jak ja prze@@ widział@@ em , że cię nie w@@ pusz@@ cza do g@@ b, Category 0)\n",
+ "(EmbeddingText prowad@@ zą@@ cy mówi ze nikt mu nie wy@@ s@@ ła@@ ł sz@@ ki@@ ców projekt@@ ów jak nie jak ja ci wy@@ sł@@ ałam im@@ be@@ cy@@ lu, Category 0)\n",
+ "(EmbeddingText ra@@ fa@@ ł br@@ zo@@ zo@@ w@@ ski ma nar@@ ze@@ cz@@ on@@ ą ? mam na@@ dzie@@ je m , że na co@@ dzień jej aż tak nie fa@@ ł@@ sz@@ uje jak w tym kol@@ e fortun@@ y a jeśli tak to big ri@@ p girl, Category 0)\n",
+ "(EmbeddingText account account to ta pani co ma roz@@ tro@@ jen@@ ie ja@@ ź@@ ni ?, Category 0)\n",
+ "(EmbeddingText account account account prawda o kar@@ cze@@ w@@ skim to nie prawda o pol@@ s@@ ce . coś się panu po@@ je@@ ba@@ ło account ., Category 0)\n",
+ "(EmbeddingText account zna@@ jąc ment@@ al@@ ność pis win@@ ny będzie ten kto wi@@ dzi nie ten kto czy@@ ni ., Category 0)\n",
+ "(EmbeddingText account prz@@ esta@@ ń@@ cie kur@@ wa cały czas p@@ ła@@ kać, Category 0)\n",
+ "(EmbeddingText account account ko@@ do@@ wa zar@@ aza nar@@ ód nasz dzi@@ eli , m@@ roz@@ ny de@@ sz@@ cz gro@@ zy po kar@@ ku prze@@ chodzi , \\ ndo@@ ść dy@@ kt@@ atu pej@@ sat@@ ej bru@@ k@@ sel@@ i, Category 0)\n",
+ "(EmbeddingText rt account account ku@@ ter ry@@ bac@@ ki przy niej , to dou@@ glas na wod@@ zie ., Category 0)\n",
+ "(EmbeddingText account i we@@ ź tu zosta@@ ń p@@ sem, Category 0)\n",
+ "(EmbeddingText account ty naj@@ pier@@ w prze@@ czy@@ taj te swoje ksi@@ ąż@@ ki z foto@@ ta@@ pet@@ y a potem po@@ gad@@ amy ., Category 0)\n",
+ "(EmbeddingText trzeba być patri@@ ot@@ ą swo@@ jego mi@@ asta , swo@@ jego region@@ u , swo@@ jej ziemi . pre@@ zes # pis j. # ka@@ czy@@ ń@@ ski w # zam@@ o@@ ść : # do@@ trzy@@ mu@@ jem@@ ys@@ ło@@ wa, Category 0)\n",
+ "(EmbeddingText rt account trzeba być patri@@ ot@@ ą swo@@ jego mi@@ asta , swo@@ jego region@@ u , swo@@ jej ziemi . pre@@ zes # pis j. # ka@@ czy@@ ń@@ ski w # zam@@ o@@ ść : # do@@ trzy@@ mu@@ jem@@ ys@@ ło@@ wa, Category 0)\n",
+ "(EmbeddingText account taki z niego patri@@ ota jak z ciebie dzi@@ enni@@ kar@@ z . nie po@@ gr@@ ąż@@ aj się ., Category 0)\n",
+ "(EmbeddingText rt account account taki z niego patri@@ ota jak z ciebie dzi@@ enni@@ kar@@ z . nie po@@ gr@@ ąż@@ aj się ., Category 0)\n",
+ "(EmbeddingText account account zanim się o@@ dez@@ wiesz to wy@@ trze@@ ź@@ wi@@ ej, Category 0)\n",
+ "(EmbeddingText account bier@@ z tego account razem jeste@@ ście moc@@ ni, Category 0)\n",
+ "(EmbeddingText account a br@@ am@@ kar@@ ze ? gli@@ k ? kry@@ cho@@ wi@@ ak ? ku@@ ba ? mili@@ k ? pis@@ z@@ cz@@ ek jak jest zdro@@ wy ?, Category 0)\n",
+ "(EmbeddingText kur@@ wa wszyscy w domu ka@@ sz@@ l@@ ą, Category 0)\n",
+ "(EmbeddingText account account account je@@ ba@@ ć sł@@ oni@@ c@@ ę@@ - mo@@ ty@@ li@@ cę ! ! ! ! 😁 😁 😁 . wro@@ c@@ ła@@ w nie daj się ! ! !, Category 0)\n",
+ "(EmbeddingText account jeśli to jest sz@@ rot to jak naz@@ wać was@@ ze transfer@@ y ?, Category 0)\n",
+ "(EmbeddingText no teraz kur@@ wa jak muszę wyj@@ ść to pada@@ ć zac@@ zy@@ na no ja pier@@ dole do dup@@ y z ta@@ kim ży@@ ciem, Category 0)\n",
+ "(EmbeddingText account account chyba ty , ch@@ ł@@ op jak by@@ k, Category 0)\n",
+ "(EmbeddingText account ale tu@@ sk nie jest świ@@ rem, Category 0)\n",
+ "(EmbeddingText account account account account ki@@ bi@@ ce wier@@ zą w zwy@@ ci@@ ę@@ stwo swo@@ jej dru@@ ży@@ ny@@ .@@ ty to nazy@@ was@@ z do@@ pis@@ y@@ wan@@ iem p@@ kt ? ha@@ ha, Category 0)\n",
+ "(EmbeddingText account account account historia lu@@ dz@@ ko@@ ści to historia gł@@ upo@@ ty # ja@@ j@@ co, Category 0)\n",
+ "(EmbeddingText account ten to już zu@@ peł@@ nie od@@ wi@@ esi@@ ł mó@@ z@@ g na ko@@ ł@@ ek , chor@@ y mó@@ z@@ g, Category 0)\n",
+ "(EmbeddingText account rzu@@ ć ż@@ on@@ ę , przej@@ dź na bud@@ dy@@ z@@ m , prze@@ prowad@@ ź sie z u@@ kochan@@ ą na bar@@ ba@@ dos , zac@@ zni@@ j s@@ sa@@ ć życie, Category 0)\n",
+ "(EmbeddingText h@@ ali@@ c@@ ki : ga@@ w@@ ło@@ w@@ ski nie może się br@@ oni@@ ć bo sied@@ zi . a po wciąż za ba@@ ł@@ ag@@ an w w-@@ wie ob@@ cią@@ ż@@ a m@@ .@@ i. nie@@ ży@@ ją@@ cego l.@@ ka@@ czy@@ ń@@ skiego \\ n # wor@@ oni@@ cza@@ 17, Category 0)\n",
+ "(EmbeddingText pis już się z@@ bliż@@ a już pu@@ ka do t@@ wych dr@@ z@@ wi@@ .@@ po@@ bieg@@ ni@@ j go przy@@ wit@@ ać z ra@@ do@@ ści ser@@ ce dr@@ ży . 😁 😁 😁, Category 0)\n",
+ "(EmbeddingText account pola@@ cy rat@@ uj@@ my pol@@ sk@@ Ę od zlo@@ dzie@@ ji po i lisa wol@@ j@@ s@@ do@@ j@@ cza, Category 0)\n",
+ "(EmbeddingText rt account account pola@@ cy rat@@ uj@@ my pol@@ sk@@ Ę od zlo@@ dzie@@ ji po i lisa wol@@ j@@ s@@ do@@ j@@ cza, Category 0)\n",
+ "(EmbeddingText account panie reda@@ ktor@@ ze , proszę u@@ ca@@ ło@@ wać pana account wró@@ ć . poz@@ dro@@ wić ., Category 0)\n",
+ "(EmbeddingText account ja się wiele cie@@ ka@@ wych rzeczy do@@ wiedzi@@ ałem n@@ p że ry@@ cz@@ kow@@ ski to 87 ro@@ cz@@ nik@@ .@@ spraw@@ dzić tekst przed dru@@ kiem to chyba za tru@@ dne ., Category 0)\n",
+ "(EmbeddingText account o in@@ wek@@ ty@@ wach proszę poroz@@ mawi@@ ać ze swo@@ im prez@@ es@@ em a nie pie@@ przy@@ ć mi tutaj o jak@@ ich@@ ś przy@@ kł@@ ada@@ ch ., Category 0)\n",
+ "(EmbeddingText daj@@ cie fa@@ v a ja wam jutro zrobi@@ ę gad@@ an@@ ego in@@ da pier@@ wsz@@ ego w ży@@ ciu !, Category 0)\n",
+ "(EmbeddingText wiek to ok@@ rop@@ ny z@@ łod@@ zi@@ ej@@ . kiedy zac@@ zy@@ nasz rozu@@ mieć , na czym po@@ lega życie , ono ś@@ cina cię z nó@@ g i przy@@ gar@@ bia ci ple@@ cy ., Category 0)\n",
+ "(EmbeddingText rt account wiek to ok@@ rop@@ ny z@@ łod@@ zi@@ ej@@ . kiedy zac@@ zy@@ nasz rozu@@ mieć , na czym po@@ lega życie , ono ś@@ cina cię z nó@@ g i przy@@ gar@@ bia ci ple@@ cy ., Category 0)\n",
+ "(EmbeddingText account account mo@@ wa była o fak@@ ta@@ ch a nie two@@ ich od@@ czu@@ ci@@ ach czy go uważ@@ asz za po@@ laka czy nie account, Category 0)\n",
+ "(EmbeddingText account ale ja uci@@ ek@@ nę tam gdzie pie@@ pr@@ z ro@@ śnie, Category 0)\n"
+ ]
+ }
+ ],
+ "source": [
+ "neutral_as_offensive \u003d np.nonzero((interp.pred_class !\u003d interp.y_true) \u0026 (interp.y_true \u003d\u003d 0)).reshape(-1)\n",
+ "for ix in neutral_as_offensive: print(data.valid_ds[ix])"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "pycharm": {}
+ },
+ "outputs": [],
+ "source": []
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "name": "pycharm-9ea8f68f",
+ "language": "python",
+ "display_name": "PyCharm (ulmfit-multilingual)"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.6.8"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 2
+}
\ No newline at end of file
diff --git a/experiments/LASER-lc-large.ipynb b/experiments/LASER-lc-large.ipynb
new file mode 100644
index 0000000..3dac129
--- /dev/null
+++ b/experiments/LASER-lc-large.ipynb
@@ -0,0 +1,75644 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {
+ "scrolled": true
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "/home/pczapla/workspace/ulmfit-multilingual/experiments\r\n"
+ ]
+ }
+ ],
+ "source": [
+ "!pwd"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "from fastai.text import *"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# unzip task6_test.zip\n",
+ "# unzip task_6-1.zip -d Task6/task\\ 01\n",
+ "# unzip task_6-2.zip -d Task6/task\\ 02\n",
+ "# mv Task6/task\\ 01 task-1\n",
+ "# mv Task6/task\\ 02 task-2\n",
+ "# rmdir Task6"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {
+ "scrolled": true
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "[PosixPath('../data/poleval19/task-1/test_set_clean_only_text.txt'),\n",
+ " PosixPath('../data/poleval19/task-1/training_set_clean_only_text.tmp.tok'),\n",
+ " PosixPath('../data/poleval19/task-1/training_set_clean_only_text.txt'),\n",
+ " PosixPath('../data/poleval19/task-1/test_set_clean_only_text.tmp.bpe'),\n",
+ " PosixPath('../data/poleval19/task-1/test_set_clean_only_text.tmp.enc'),\n",
+ " PosixPath('../data/poleval19/task-1/training_set_clean_only_tags.txt'),\n",
+ " PosixPath('../data/poleval19/task-1/models'),\n",
+ " PosixPath('../data/poleval19/task-1/evaulate1.pl'),\n",
+ " PosixPath('../data/poleval19/task-1/test_set_clean_only_text.tmp.tok'),\n",
+ " PosixPath('../data/poleval19/task-1/test_set_clean_only_tags.txt'),\n",
+ " PosixPath('../data/poleval19/task-1/training_set_clean_only_text.tmp.enc'),\n",
+ " PosixPath('../data/poleval19/task-1/training_set_clean_only_text.tmp.bpe')]"
+ ]
+ },
+ "execution_count": 4,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "dataset=Path('../data')/'poleval19'/'task-1'\n",
+ "dataset.ls()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 31,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "fn = '../data/toxic-comment/train.csv'\n",
+ "df = pd.read_csv(fn)\n",
+ "comment_text = df.comment_text.str.replace(\"\\n\", \" \")\n",
+ "del df['comment_text']"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 54,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "comment_text.to_csv(dataset/\"toxic-train-text.csv\", sep='\\t', index=False, header=False, quoting=csv.QUOTE_NONE, quotechar='|', escapechar='\\\\')\n",
+ "df.to_csv(dataset/\"toxic-train-tags.csv\", index=False, header=False)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 38,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Explanation Why the edits made under my username Hardcore Metallica Fan were reverted? They weren't vandalisms, just closure on some GAs after I voted at New York Dolls FAC. And please don't remove the template from the talk page since I'm retired now.89.205.38.27\r\n",
+ "D'aww! He matches this background colour I'm seemingly stuck with. Thanks. (talk) 21:51, January 11, 2016 (UTC)\r\n",
+ "Hey man, I'm really not trying to edit war. It's just that this guy is constantly removing relevant information and talking to me through edits instead of my talk page. He seems to care more about the formatting than the actual info.\r\n",
+ "\" More I can't make any real suggestions on improvement - I wondered if the section statistics should be later on, or a subsection of \"\"types of accidents\"\" -I think the references may need tidying so that they are all in the exact same format ie date format etc. I can do that later on, if no-one else does first - if you have any preferences for formatting style on references or want to do it yourself please let me know. There appears to be a backlog on articles for review so I guess there may be a delay until a reviewer turns up. It's listed in the relevant form eg Wikipedia:Good_article_nominations#Transport \"\r\n",
+ "You, sir, are my hero. Any chance you remember what page that's on?\r\n",
+ "\" Congratulations from me as well, use the tools well. · talk \"\r\n",
+ "COCKSUCKER BEFORE YOU PISS AROUND ON MY WORK\r\n",
+ "Your vandalism to the Matt Shirvington article has been reverted. Please don't do it again, or you will be banned.\r\n",
+ "Sorry if the word 'nonsense' was offensive to you. Anyway, I'm not intending to write anything in the article(wow they would jump on me for vandalism), I'm merely requesting that it be more encyclopedic so one can use it for school as a reference. I have been to the selective breeding page but it's almost a stub. It points to 'animal breeding' which is a short messy article that gives you no info. There must be someone around with expertise in eugenics? 93.161.107.169\r\n",
+ "alignment on this subject and which are contrary to those of DuLithgow\r\n"
+ ]
+ }
+ ],
+ "source": [
+ "!head {dataset/\"toxic-train-text.csv\"}"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 39,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "LASER = os.environ.get('LASER', \"/home/pczapla/workspace/_oss/LASER\")\n",
+ "os.environ['LASER'] = LASER\n",
+ "def cond_add_pypath(*paths):\n",
+ " for path in paths:\n",
+ " if path not in sys.path:\n",
+ " sys.path.append(path)\n",
+ "cond_add_pypath(LASER + '/source',LASER + '/source/tools')\n",
+ "\n",
+ "from embed import SentenceEncoder, EncodeLoad, EncodeFile\n",
+ "from text_processing import Token, BPEfastApply, SplitLines, JoinEmbed"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 44,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "from subprocess import run, check_output, DEVNULL\n",
+ "def tokenize(inp_fname, out_fname, lang='en',\n",
+ " lower_case=True, romanize=False, descape=False,\n",
+ " verbose=False, over_write=False, gzip=False):\n",
+ " FASTBPE = LASER + '/tools-external/fastBPE/fast'\n",
+ " MOSES_BDIR = LASER + '/tools-external/moses-tokenizer/tokenizer/'\n",
+ " MOSES_TOKENIZER = MOSES_BDIR + 'tokenizer.perl -q -no-escape -threads 20 -l '\n",
+ " MOSES_LC = MOSES_BDIR + 'lowercase.perl'\n",
+ " NORM_PUNC = MOSES_BDIR + 'normalize-punctuation.perl -l '\n",
+ " DESCAPE = MOSES_BDIR + 'deescape-special-chars.perl'\n",
+ " REM_NON_PRINT_CHAR = MOSES_BDIR + 'remove-non-printing-char.perl'\n",
+ "\n",
+ " # Romanization (Greek only)\n",
+ " ROMAN_LC = 'python3 ' + LASER + '/source/lib/romanize_lc.py -l '\n",
+ "\n",
+ " # Mecab tokenizer for Japanese\n",
+ " MECAB = LASER + '/tools-external/mecab'\n",
+ " assert lower_case, 'lower case is needed by all the models'\n",
+ " if not out_fname.exists():\n",
+ " cat = 'zcat ' if gzip else 'cat '\n",
+ " roman = lang if romanize else 'none'\n",
+ " # handle some iso3 langauge codes\n",
+ " if lang in ('cmn', 'wuu', 'yue'):\n",
+ " lang = 'zh'\n",
+ " if lang in ('jpn'):\n",
+ " lang = 'ja'\n",
+ " if verbose:\n",
+ " print(' - Tokenizer: {} in language {} {} {}'\n",
+ " .format(os.path.basename(inp_fname), lang,\n",
+ " '(gzip)' if gzip else '',\n",
+ " '(de-escaped)' if descape else '',\n",
+ " '(romanized)' if romanize else ''))\n",
+ " cmd = (cat + str(inp_fname)\n",
+ " + '|' + REM_NON_PRINT_CHAR\n",
+ " + '| sed \"s/\\(@anonymized_account *\\)/account /gi\"'\n",
+ "# + '| iconv -f UTF-8 -t ASCII//TRANSLIT '\n",
+ " + '|' + NORM_PUNC + lang\n",
+ " + ('|' + DESCAPE if descape else '')\n",
+ " + '|' + MOSES_TOKENIZER + lang\n",
+ " + ('| python3 -m jieba -d ' if lang == 'zh' else '')\n",
+ " + ('|' + MECAB + '/bin/mecab -O wakati -b 50000 ' if lang == 'ja' else '')\n",
+ " + ('|' + ROMAN_LC + roman if romanize else '')\n",
+ " + ('| tr \"[:upper:]\" \"[:lower:]\"' if lower_case else '')\n",
+ " + '>' + str(out_fname))\n",
+ " print (\"Tokenziation CMD: \", cmd)\n",
+ " run(cmd,\n",
+ " env=dict(os.environ, LD_LIBRARY_PATH=MECAB + '/lib'),\n",
+ " shell=True)\n",
+ " elif not over_write and verbose:\n",
+ " print(' - Tokenizer: {} exists already'\n",
+ " .format(os.path.basename(out_fname), lang))\n",
+ "\n",
+ "\n",
+ "def split_lines(*args): return SplitLines(*list(map(str,args)))\n",
+ "def bpe_fast_apply(*args, **kwargs): return BPEfastApply(*list(map(str,args)), **kwargs)\n",
+ "def encode_file(enc, *args, **kwargs): return EncodeFile(enc, *list(map(str,args)), **kwargs)\n",
+ "def join_embed(*args): return JoinEmbed(*list(map(str,args)))\n",
+ " \n",
+ "def process_file(inputfn, lang='pl'):\n",
+ " inputfn = Path(inputfn)\n",
+ " args = SimpleNamespace(\n",
+ " encoder=str(Path(LASER)/\"models\"/\"bilstm.93langs.2018-12-26.pt\"), \n",
+ " bpe_codes=str(Path(LASER)/\"models\"/\"93langs.fcodes\"),\n",
+ " lang=lang,\n",
+ " buffer_size=10000,\n",
+ " max_tokens=12000,\n",
+ " max_sentences=None,\n",
+ " cpu=False,\n",
+ " verbose=False,\n",
+ " stable=True)\n",
+ " enc = EncodeLoad(args)\n",
+ " def fn(suffix):\n",
+ " return inputfn.with_suffix(f'.tmp{suffix}')\n",
+ " tokenize(inputfn,\n",
+ " fn('.tok'),\n",
+ " lang=lang,\n",
+ " romanize=(True if lang == 'el' else False),\n",
+ " lower_case=True, gzip=False,\n",
+ " verbose=args.verbose, over_write=False)\n",
+ " bpe_fast_apply(fn('.tok'),\n",
+ " fn('.bpe'),\n",
+ " args.bpe_codes,\n",
+ " verbose=args.verbose, over_write=False)\n",
+ " split_lines(fn('.bpe'),\n",
+ " fn('.split'),\n",
+ " fn('.sid'))\n",
+ " encode_file(enc,\n",
+ " fn('.split'),\n",
+ " fn('.split.enc'),\n",
+ " verbose=args.verbose, over_write=False,\n",
+ " buffer_size=args.buffer_size)\n",
+ " join_embed(fn('.split.enc'),\n",
+ " fn('.sid'),\n",
+ " fn('.enc'))\n",
+ "# encode_file(enc,\n",
+ "# fn('.bpe'),\n",
+ "# fn('.enc'),\n",
+ "# verbose=args.verbose, over_write=False,\n",
+ "# buffer_size=args.buffer_size)\n",
+ " return fn('.enc')"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 66,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " - loading encoder /home/pczapla/workspace/_oss/LASER/models/bilstm.93langs.2018-12-26.pt\n",
+ "Tokenziation CMD: cat ../data/poleval19/task-1/toxic-train-text.csv|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/remove-non-printing-char.perl| sed \"s/\\(@anonymized_account *\\)/account /gi\"|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/normalize-punctuation.perl -l en|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/tokenizer.perl -q -no-escape -threads 20 -l en| tr \"[:upper:]\" \"[:lower:]\">../data/poleval19/task-1/toxic-train-text.tmp.tok\n",
+ " - Split sentences: ../data/poleval19/task-1/toxic-train-text.tmp.bpe\n",
+ " - lines/max words: 159571/4950 -> 619938/4951\n",
+ " - Combine embeddings:\n",
+ " input: ../data/poleval19/task-1/toxic-train-text.tmp.split.enc 619938 sentences\n",
+ " IDs: ../data/poleval19/task-1/toxic-train-text.tmp.sid, 159571 sentences\n",
+ " output: ../data/poleval19/task-1/toxic-train-text.tmp.enc\n"
+ ]
+ }
+ ],
+ "source": [
+ "!rm {dataset}/toxic-train-text.tmp.*\n",
+ "tx_trn_fn = process_file(dataset / 'toxic-train-text.csv', lang='en')"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 67,
+ "metadata": {
+ "scrolled": true
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "rm: cannot remove '../data/poleval19/task-1/training_set_clean_only_text.tmp.*': No such file or directory\n",
+ " - loading encoder /home/pczapla/workspace/_oss/LASER/models/bilstm.93langs.2018-12-26.pt\n",
+ "Tokenziation CMD: cat ../data/poleval19/task-1/training_set_clean_only_text.txt|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/remove-non-printing-char.perl| sed \"s/\\(@anonymized_account *\\)/account /gi\"|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/normalize-punctuation.perl -l pl|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/tokenizer.perl -q -no-escape -threads 20 -l pl| tr \"[:upper:]\" \"[:lower:]\">../data/poleval19/task-1/training_set_clean_only_text.tmp.tok\n",
+ " - Split sentences: ../data/poleval19/task-1/training_set_clean_only_text.tmp.bpe\n",
+ " - lines/max words: 10041/82 -> 12066/83\n",
+ " - Combine embeddings:\n",
+ " input: ../data/poleval19/task-1/training_set_clean_only_text.tmp.split.enc 12066 sentences\n",
+ " IDs: ../data/poleval19/task-1/training_set_clean_only_text.tmp.sid, 10041 sentences\n",
+ " output: ../data/poleval19/task-1/training_set_clean_only_text.tmp.enc\n"
+ ]
+ }
+ ],
+ "source": [
+ "!rm {dataset}/training_set_clean_only_text.tmp.*\n",
+ "trn_fn = process_file(dataset / 'training_set_clean_only_text.txt')"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 69,
+ "metadata": {
+ "scrolled": true
+ },
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Dla mnie faworytem do tytułu będzie Cracovia. Zobaczymy, czy typ się sprawdzi.\r",
+ "\r\n",
+ "account account Brawo ty Daria kibic ma być na dobre i złe\r",
+ "\r\n",
+ "account account Super, polski premier składa kwiaty na grobach kolaborantów. Ale doczekaliśmy czasów.\r",
+ "\r\n",
+ "account account Musi. Innej drogi nie mamy.\r",
+ "\r\n",
+ "Odrzut natychmiastowy, kwaśna mina, mam problem\r",
+ "\r\n",
+ "Jaki on był fajny xdd pamiętam, że spóźniłam się na jego pierwsze zajęcia i to sporo i za karę kazał mi usiąść w pierwszej ławce XD\r",
+ "\r\n",
+ "account No nie ma u nas szczęścia 😉\r",
+ "\r\n",
+ "account Dawno kogoś tak wrednego nie widziałam xd\r",
+ "\r\n",
+ "account account Zaległości były, ale ważne czy były wezwania do zapłaty z których się klub nie wywiązał.\r",
+ "\r\n",
+ "account account account Gdzie jest account . Brudziński jesteś kłamcą i marnym kutasem account \r",
+ "\r\n",
+ "sed: couldn't write 130 items to stdout: Broken pipe\r\n",
+ "cat: write error: Broken pipe\r\n"
+ ]
+ }
+ ],
+ "source": [
+ "! cat ../data/poleval19/task-1/training_set_clean_only_text.txt| sed 's/\\(@anonymized_account *\\)/account /gi' |head"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 70,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Dla mnie faworytem do tytulu bedzie Cracovia. Zobaczymy, czy typ sie sprawdzi.\r",
+ "\r\n",
+ "@anonymized_account @anonymized_account Brawo ty Daria kibic ma byc na dobre i zle\r",
+ "\r\n",
+ "@anonymized_account @anonymized_account Super, polski premier sklada kwiaty na grobach kolaborantow. Ale doczekalismy czasow.\r",
+ "\r\n",
+ "@anonymized_account @anonymized_account Musi. Innej drogi nie mamy.\r",
+ "\r\n",
+ "Odrzut natychmiastowy, kwasna mina, mam problem\r",
+ "\r\n",
+ "Jaki on byl fajny xdd pamietam, ze spoznilam sie na jego pierwsze zajecia i to sporo i za kare kazal mi usiasc w pierwszej lawce XD\r",
+ "\r\n",
+ "@anonymized_account No nie ma u nas szczescia ?\r",
+ "\r\n",
+ "@anonymized_account Dawno kogos tak wrednego nie widzialam xd\r",
+ "\r\n",
+ "@anonymized_account @anonymized_account Zaleglosci byly, ale wazne czy byly wezwania do zaplaty z ktorych sie klub nie wywiazal.\r",
+ "\r\n",
+ "@anonymized_account @anonymized_account @anonymized_account Gdzie jest @anonymized_account . Brudzinski jestes klamca i marnym kutasem @anonymized_account\r",
+ "\r\n",
+ "iconv: conversion stopped due to problem in writing the output\r\n"
+ ]
+ }
+ ],
+ "source": [
+ "! cat ../data/poleval19/task-1/training_set_clean_only_text.txt| iconv -f UTF-8 -t ASCII//TRANSLIT |head"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 71,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "dla mnie faworytem do tytułu będzie cracovia . zobaczymy , czy typ się sprawdzi .\r\n",
+ "account account brawo ty daria kibic ma być na dobre i złe\r\n",
+ "account account super , polski premier składa kwiaty na grobach kolaborantów . ale doczekaliśmy czasów .\r\n",
+ "account account musi . innej drogi nie mamy .\r\n",
+ "odrzut natychmiastowy , kwaśna mina , mam problem\r\n",
+ "jaki on był fajny xdd pamiętam , że spóźniłam się na jego pierwsze zajęcia i to sporo i za karę kazał mi usiąść w pierwszej ławce xd\r\n",
+ "account no nie ma u nas szczęścia 😉\r\n",
+ "account dawno kogoś tak wrednego nie widziałam xd\r\n",
+ "account account zaległości były , ale ważne czy były wezwania do zapłaty z których się klub nie wywiązał .\r\n",
+ "account account account gdzie jest account . brudziński jesteś kłamcą i marnym kutasem account\r\n"
+ ]
+ }
+ ],
+ "source": [
+ "! head ../data/poleval19/task-1/training_set_clean_only_text.tmp.tok"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 72,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " - loading encoder /home/pczapla/workspace/_oss/LASER/models/bilstm.93langs.2018-12-26.pt\n",
+ "Tokenziation CMD: cat ../data/poleval19/task-1/test_set_clean_only_text.txt|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/remove-non-printing-char.perl| sed \"s/\\(@anonymized_account *\\)/account /gi\"|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/normalize-punctuation.perl -l pl|/home/pczapla/workspace/_oss/LASER/tools-external/moses-tokenizer/tokenizer/tokenizer.perl -q -no-escape -threads 20 -l pl| tr \"[:upper:]\" \"[:lower:]\">../data/poleval19/task-1/test_set_clean_only_text.tmp.tok\n",
+ " - Split sentences: ../data/poleval19/task-1/test_set_clean_only_text.tmp.bpe\n",
+ " - lines/max words: 1000/104 -> 1237/105\n",
+ " - Combine embeddings:\n",
+ " input: ../data/poleval19/task-1/test_set_clean_only_text.tmp.split.enc 1237 sentences\n",
+ " IDs: ../data/poleval19/task-1/test_set_clean_only_text.tmp.sid, 1000 sentences\n",
+ " output: ../data/poleval19/task-1/test_set_clean_only_text.tmp.enc\n"
+ ]
+ }
+ ],
+ "source": [
+ "!rm {dataset}/test_set_clean_only_text.tmp.*\n",
+ "tst_fn = process_file(dataset / 'test_set_clean_only_text.txt')"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 73,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "(10041, 1024)"
+ ]
+ },
+ "execution_count": 73,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "dim=1024\n",
+ "def read_enc(fn):\n",
+ " em = np.fromfile(str(fn),dtype=np.float32).reshape(-1, dim)\n",
+ " return em\n",
+ "read_enc(trn_fn).shape"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 74,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "(1000,)"
+ ]
+ },
+ "execution_count": 74,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "np.loadtxt(str(dataset/'test_set_clean_only_text.txt'), delimiter='\\n', comments=None, dtype=np.str).shape"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 104,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "tst_df = pd.DataFrame({\n",
+ " 'y':np.loadtxt(str(dataset/'test_set_clean_only_tags.txt'),delimiter='\\n', comments=None, dtype=np.int),\n",
+ " 'em':list(read_enc(tst_fn)), \n",
+ " 'txt':np.loadtxt(str(dataset/'test_set_clean_only_text.tmp.bpe'), delimiter='\\n', comments=None, dtype=np.str),\n",
+ "})\n",
+ "\n",
+ "trn_df = pd.DataFrame({\n",
+ " 'y':np.loadtxt(str(dataset/'training_set_clean_only_tags.txt'),delimiter='\\n', comments=None, dtype=np.int),\n",
+ " 'em':list(read_enc(trn_fn)), \n",
+ " 'txt':np.loadtxt(str(dataset/'training_set_clean_only_text.tmp.bpe'), delimiter='\\n', comments=None, dtype=np.str),\n",
+ "})"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 76,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "txt = np.loadtxt(str(dataset/'toxic-train-text.tmp.bpe'), delimiter='\\n', comments=None, dtype=np.str)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 77,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "159571"
+ ]
+ },
+ "execution_count": 77,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "len (txt)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 78,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "159571"
+ ]
+ },
+ "execution_count": 78,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "enc=read_enc(tx_trn_fn)\n",
+ "len(enc)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 79,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "tx_trn_df = pd.DataFrame({\n",
+ " 'y': df['toxic'],\n",
+ " 'em':list(enc), \n",
+ " 'txt':txt,\n",
+ "})"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 105,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "trn_df = pd.concat([trn_df, tx_trn_df], ignore_index=True)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 107,
+ "metadata": {
+ "scrolled": true
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "
\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " y | \n",
+ " em | \n",
+ " txt | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0 | \n",
+ " [0.0047513233, 0.0040491223, 0.015147643, 0.01... | \n",
+ " dla mnie fa@@ wor@@ y@@ tem do ty@@ tu@@ łu bę... | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0 | \n",
+ " [0.0037102806, -2.0261248e-05, 7.142721e-05, 0... | \n",
+ " account account bra@@ wo ty dar@@ ia ki@@ bi@@... | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0 | \n",
+ " [0.0065289, 0.0048259646, -0.00015079533, 0.02... | \n",
+ " account account super , pol@@ ski premier sk@@... | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0 | \n",
+ " [0.025331493, -0.0001753498, 0.0006774627, 0.0... | \n",
+ " account account musi . in@@ nej dro@@ gi nie m... | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0 | \n",
+ " [0.007905564, 0.0017290547, -0.0015668216, 0.0... | \n",
+ " odr@@ zut nat@@ ych@@ mi@@ a@@ sto@@ wy , kwa@... | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
"
+ ],
+ "text/plain": [
+ " y em \\\n",
+ "0 0 [0.0047513233, 0.0040491223, 0.015147643, 0.01... \n",
+ "1 0 [0.0037102806, -2.0261248e-05, 7.142721e-05, 0... \n",
+ "2 0 [0.0065289, 0.0048259646, -0.00015079533, 0.02... \n",
+ "3 0 [0.025331493, -0.0001753498, 0.0006774627, 0.0... \n",
+ "4 0 [0.007905564, 0.0017290547, -0.0015668216, 0.0... \n",
+ "\n",
+ " txt \n",
+ "0 dla mnie fa@@ wor@@ y@@ tem do ty@@ tu@@ łu bę... \n",
+ "1 account account bra@@ wo ty dar@@ ia ki@@ bi@@... \n",
+ "2 account account super , pol@@ ski premier sk@@... \n",
+ "3 account account musi . in@@ nej dro@@ gi nie m... \n",
+ "4 odr@@ zut nat@@ ych@@ mi@@ a@@ sto@@ wy , kwa@... "
+ ]
+ },
+ "execution_count": 107,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "trn_df.head()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 108,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "y 0\n",
+ "em [0.0037102806, -2.0261248e-05, 7.142721e-05, 0...\n",
+ "txt account account bra@@ wo ty dar@@ ia ki@@ bi@@...\n",
+ "Name: 1, dtype: object"
+ ]
+ },
+ "execution_count": 108,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "trn_df.loc[1]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 109,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "array([ 0.015996, 0.002804, -0.004015, 0.018448, ..., 0.022837, 0.005017, 0.011453, 0.016846], dtype=float32)"
+ ]
+ },
+ "execution_count": 109,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "tst_df['em'][0]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 84,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "class EmbeddingText(ItemBase):\n",
+ " \"Basic item for text data in numericalized `ids`.\"\n",
+ " def __init__(self, emb, text): self.data,self.text = np.array(emb, dtype=np.float32),text\n",
+ " def __str__(self): return str(self.text)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 85,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "class EmbeddingList(ItemList):\n",
+ " \"Basic `ItemList` for embeding of text data.\"\n",
+ " _bunch = DataBunch # TextDataBunch converts input to LongTensor !\n",
+ " _processor = []\n",
+ "\n",
+ " def __init__(self, items:Iterator, **kwargs):\n",
+ " super().__init__(items, **kwargs)\n",
+ "\n",
+ " def find_text_for_em(self, em):\n",
+ " # todo find a way to reverse embedding\n",
+ " return self.inner_df['txt'][1]\n",
+ " \n",
+ " def get(self, i):\n",
+ " o = super().get(i)\n",
+ " return EmbeddingText(o, self.inner_df['txt'][i])\n",
+ "\n",
+ " def reconstruct(self, t:Tensor):\n",
+ " return EmbeddingText(t, self.find_text_for_em(t))\n",
+ "\n",
+ " def show_xys(self, xs, ys, max_len:int=70)->None:\n",
+ " \"Show the `xs` (inputs) and `ys` (targets). `max_len` is the maximum number of tokens displayed.\"\n",
+ " from IPython.display import display, HTML\n",
+ " names = ['text','target']\n",
+ " items = []\n",
+ " for i, (x,y) in enumerate(zip(xs,ys)):\n",
+ " txt_x = ' '.join(x.text.split(' ')[:max_len]) if max_len is not None else x.text\n",
+ " items.append([txt_x, y])\n",
+ " items = np.array(items)\n",
+ " df = pd.DataFrame({n:items[:,i] for i,n in enumerate(names)}, columns=names)\n",
+ " with pd.option_context('display.max_colwidth', -1):\n",
+ " display(HTML(df.to_html(index=False)))\n",
+ "\n",
+ " def show_xyzs(self, xs, ys, zs, max_len:int=70):\n",
+ " \"Show `xs` (inputs), `ys` (targets) and `zs` (predictions). `max_len` is the maximum number of tokens displayed.\"\n",
+ " from IPython.display import display, HTML\n",
+ " items,names = [],['text','target','prediction']\n",
+ " for i, (x,y,z) in enumerate(zip(xs,ys,zs)):\n",
+ " txt_x = ' '.join(x.text.split(' ')[:max_len]) if max_len is not None else x.text\n",
+ " items.append([txt_x, y, z])\n",
+ " items = np.array(items)\n",
+ " df = pd.DataFrame({n:items[:,i] for i,n in enumerate(names)}, columns=names)\n",
+ " with pd.option_context('display.max_colwidth', -1):\n",
+ " display(HTML(df.to_html(index=False)))"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 120,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "path=dataset/\"models\"\n",
+ "src = ItemLists(path, \n",
+ " EmbeddingList.from_df(trn_df, cols=1, path=path),\n",
+ " EmbeddingList.from_df(tst_df, cols=1, path=path))\n",
+ "classes=np.unique(trn_df['y'])\n",
+ "src.label_from_lists(trn_df['y'], tst_df['y'], classes=classes, processor=[])\n",
+ "data = src.databunch(bs=200,num_workers=0)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 121,
+ "metadata": {
+ "scrolled": true
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ " \n",
+ " \n",
+ " | text | \n",
+ " target | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | account account bra@@ wo ty dar@@ ia ki@@ bi@@ c ma być na dobre i zł@@ e | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " | account account bra@@ wo ty dar@@ ia ki@@ bi@@ c ma być na dobre i zł@@ e | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " | account account bra@@ wo ty dar@@ ia ki@@ bi@@ c ma być na dobre i zł@@ e | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " | account account bra@@ wo ty dar@@ ia ki@@ bi@@ c ma być na dobre i zł@@ e | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " | account account bra@@ wo ty dar@@ ia ki@@ bi@@ c ma być na dobre i zł@@ e | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "data.show_batch()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 122,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "[tensor([[ 0.0059, 0.0047, 0.0050, ..., 0.0178, 0.0170, 0.0075],\n",
+ " [ 0.0036, 0.0011, -0.0010, ..., 0.0107, 0.0075, 0.0215],\n",
+ " [ 0.0106, 0.0089, 0.0017, ..., 0.0143, 0.0104, 0.0265],\n",
+ " ...,\n",
+ " [ 0.0107, 0.0260, 0.0038, ..., 0.0084, 0.0192, 0.0222],\n",
+ " [ 0.0028, 0.0033, -0.0018, ..., 0.0122, 0.0079, 0.0158],\n",
+ " [ 0.0121, 0.0014, 0.0065, ..., 0.0108, 0.0295, 0.0186]],\n",
+ " device='cuda:0'),\n",
+ " tensor([0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,\n",
+ " 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n",
+ " 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n",
+ " 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n",
+ " 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n",
+ " 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,\n",
+ " 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0,\n",
+ " 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n",
+ " 0, 0, 0, 0, 0, 0, 0, 0], device='cuda:0')]"
+ ]
+ },
+ "execution_count": 122,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "next(iter(data.train_dl))"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 111,
+ "metadata": {
+ "scrolled": true
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "169612"
+ ]
+ },
+ "execution_count": 111,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "len(data.train_ds)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 118,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "array([0.002153, 0.010403, 0.002925, 0.01095 , ..., 0.001673, 0.00638 , 0.008416, 0.021459], dtype=float32)"
+ ]
+ },
+ "execution_count": 118,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "trn_df['em'][169611]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 123,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "class LaserSentCLS(nn.Module):\n",
+ " def __init__(self, idim=1024, odim=2, nhid=None,\n",
+ " dropout=0.0, activation='TANH'):\n",
+ " super().__init__()\n",
+ " modules = []\n",
+ "\n",
+ " modules = []\n",
+ " print(' - mlp {:d}'.format(idim), end='')\n",
+ " if len(nhid) > 0:\n",
+ " if dropout > 0:\n",
+ " modules.append(nn.Dropout(p=dropout))\n",
+ " nprev = idim\n",
+ " for nh in nhid:\n",
+ " if nh > 0:\n",
+ " modules.append(nn.Linear(nprev, nh))\n",
+ " nprev = nh\n",
+ " if activation == 'TANH':\n",
+ " modules.append(nn.Tanh())\n",
+ " print('-{:d}t'.format(nh), end='')\n",
+ " elif activation == 'RELU':\n",
+ " modules.append(nn.ReLU())\n",
+ " print('-{:d}r'.format(nh), end='')\n",
+ " else:\n",
+ " raise Exception('Unrecognized activation {activation}')\n",
+ " if dropout > 0:\n",
+ " modules.append(nn.Dropout(p=dropout))\n",
+ " modules.append(nn.Linear(nprev, odim))\n",
+ " print('-{:d}, dropout={:.1f}'.format(odim, dropout))\n",
+ " else:\n",
+ " modules.append(nn.Linear(idim, odim))\n",
+ " print(' - mlp %d-%d'.format(idim, odim))\n",
+ " self.mlp = nn.Sequential(*modules)\n",
+ " def forward(self, x):\n",
+ " return self.mlp(x)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 124,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ ""
+ ]
+ },
+ "execution_count": 124,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "data.train_dl.dl.batch_sampler.sampler"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 125,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "200"
+ ]
+ },
+ "execution_count": 125,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "data.train_dl.dl.batch_size"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 189,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ " - mlp 1024-100r-50r-2, dropout=0.0\n"
+ ]
+ }
+ ],
+ "source": [
+ "m=LaserSentCLS(nhid=[100, 50],dropout=0, activation='RELU')\n",
+ "learn = Learner(data, m, metrics=[accuracy, FBeta(beta=1, average='binary')])\n",
+ "learn.save(\"rnd\")"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 178,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "def f1_loss(input, target, reduction=None):\n",
+ " eps = 1e-7\n",
+ " logit = F.softmax(input, dim=-1) # [bs, 2]\n",
+ " tp = logit[target == 1, 1].sum()\n",
+ " tn = logit[target == 0, 0].sum()\n",
+ " bs = target.shape[0]\n",
+ " return 1.0 - 2.0*tp / (tp - tn + bs +eps)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 179,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "learn.loss_func=f1_loss"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 190,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "LR Finder is complete, type {learner_name}.recorder.plot() to see the graph.\n"
+ ]
+ },
+ {
+ "data": {
+ "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYUAAAEKCAYAAAD9xUlFAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDMuMC4zLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvnQurowAAIABJREFUeJzt3Xl81NW9//HXZ2ayELYEExAJCLKoVFQgbkAVW61oe6si14q2rtW2Lq2ttre2v9t67eJWtVq1Fr1urdXrekXrFa37hiUgqCCbiALKIiBbZjKTmfP7Y74ZxpiEQPKd9f18POaR73LmO5+ZJN/PnHO+33PMOYeIiAhAINsBiIhI7lBSEBGRFCUFERFJUVIQEZEUJQUREUlRUhARkRQlBRERSfEtKZjZnWa21szebWP/Pmb2hpk1mtmlfsUhIiId52dN4W5gUjv7NwA/BP7gYwwiIrITQn4d2Dn3spkNbmf/WmCtmX19Z45bXV3tBg9u87AiItKK2bNnf+qcq9lROd+SQlcys/OA8wAGDRpEfX19liMSEckvZvZhR8rlRUezc26ac67OOVdXU7PDRCciIrsoL5KCiIhkhpKCiIik+NanYGb3AxOBajNbCfwaKAFwzt1mZrsD9UAvIGFmFwMjnXOb/YpJRETa5+fVR1N3sH81UOvX64uIyM5T85GIiKQoKYiISIqSgohIDvhw/Tbu/9dHxOKJrMaRFzeviYgUsmXrtnLKtJms3dLIfW9+yPUnH8iIfj2zEotqCiIiWbT8021MvX0m8YTj8n8bycefRfjGn17ljleWkUi4jMejpCAikiUfrk8mhFjccd+5h3Dm+CHMuPhwjhh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JONd6CeFIYE+v6BagZ9pTZwBne7UgzGyAmfXtovcgRUZJQQpFhZmtTHv8hOQJts7rfF1AcshzgGuAK83sLfytLV8M/MTM3iY5scqmHT3BOfcWyZFUp5Kcd6HOzN4BTifZF4Jzbj3wmncJ67XOuWdINk+94ZV9mM8nDZEO0yWpIj7xmoPCzjlnZqcAU51zx+/oeSLZpD4FEf+MBW72rhj6jAxMeyrSWaopiIhIivoUREQkRUlBRERSlBRERCRFSUFERFKUFEREJEVJQUREUv4/SCP/ptHyhvAAAAAASUVORK5CYII=\n",
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {
+ "needs_background": "light"
+ },
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "learn.lr_find();learn.recorder.plot()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 205,
+ "metadata": {
+ "scrolled": true
+ },
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144424 | \n",
+ " 0.393911 | \n",
+ " 0.873000 | \n",
+ " 0.320856 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130089 | \n",
+ " 0.365088 | \n",
+ " 0.872000 | \n",
+ " 0.311828 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126679 | \n",
+ " 0.314031 | \n",
+ " 0.861000 | \n",
+ " 0.177515 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112081 | \n",
+ " 0.320829 | \n",
+ " 0.860000 | \n",
+ " 0.135802 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109499 | \n",
+ " 0.317093 | \n",
+ " 0.859000 | \n",
+ " 0.134969 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.32085564732551575.\n",
+ "Run tensor(0.3209)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.157625 | \n",
+ " 0.357735 | \n",
+ " 0.874000 | \n",
+ " 0.376238 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129884 | \n",
+ " 0.388077 | \n",
+ " 0.865000 | \n",
+ " 0.201183 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.128798 | \n",
+ " 0.322999 | \n",
+ " 0.876000 | \n",
+ " 0.380000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112867 | \n",
+ " 0.314833 | \n",
+ " 0.866000 | \n",
+ " 0.192771 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111586 | \n",
+ " 0.320251 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3762376308441162.\n",
+ "Better model found at epoch 2 with f_beta value: 0.3799999952316284.\n",
+ "Run tensor(0.3800)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144829 | \n",
+ " 0.338693 | \n",
+ " 0.874000 | \n",
+ " 0.388350 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135630 | \n",
+ " 0.330970 | \n",
+ " 0.873000 | \n",
+ " 0.398104 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122907 | \n",
+ " 0.341523 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113183 | \n",
+ " 0.319664 | \n",
+ " 0.870000 | \n",
+ " 0.269663 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107122 | \n",
+ " 0.314753 | \n",
+ " 0.864000 | \n",
+ " 0.190476 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3883495032787323.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3981042802333832.\n",
+ "Run tensor(0.3981)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.148490 | \n",
+ " 0.366798 | \n",
+ " 0.864000 | \n",
+ " 0.418803 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134365 | \n",
+ " 0.334073 | \n",
+ " 0.875000 | \n",
+ " 0.390244 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122084 | \n",
+ " 0.315939 | \n",
+ " 0.864000 | \n",
+ " 0.200000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.110597 | \n",
+ " 0.309052 | \n",
+ " 0.867000 | \n",
+ " 0.231214 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105261 | \n",
+ " 0.314607 | \n",
+ " 0.867000 | \n",
+ " 0.231214 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4188034236431122.\n",
+ "Run tensor(0.4188)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145090 | \n",
+ " 0.351198 | \n",
+ " 0.876000 | \n",
+ " 0.373737 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130752 | \n",
+ " 0.377143 | \n",
+ " 0.872000 | \n",
+ " 0.238095 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.119445 | \n",
+ " 0.332086 | \n",
+ " 0.868000 | \n",
+ " 0.175000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116756 | \n",
+ " 0.317956 | \n",
+ " 0.871000 | \n",
+ " 0.198758 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107230 | \n",
+ " 0.314514 | \n",
+ " 0.869000 | \n",
+ " 0.206061 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3737373948097229.\n",
+ "Run tensor(0.3737)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138431 | \n",
+ " 0.353307 | \n",
+ " 0.873000 | \n",
+ " 0.409302 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.140777 | \n",
+ " 0.335083 | \n",
+ " 0.869000 | \n",
+ " 0.242775 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125057 | \n",
+ " 0.336535 | \n",
+ " 0.864000 | \n",
+ " 0.160494 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112864 | \n",
+ " 0.334763 | \n",
+ " 0.862000 | \n",
+ " 0.126582 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107490 | \n",
+ " 0.317754 | \n",
+ " 0.862000 | \n",
+ " 0.092105 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.409302294254303.\n",
+ "Run tensor(0.4093)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.149281 | \n",
+ " 0.337926 | \n",
+ " 0.871000 | \n",
+ " 0.400000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127489 | \n",
+ " 0.334585 | \n",
+ " 0.876000 | \n",
+ " 0.340426 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.115219 | \n",
+ " 0.329802 | \n",
+ " 0.871000 | \n",
+ " 0.279330 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.111856 | \n",
+ " 0.308317 | \n",
+ " 0.864000 | \n",
+ " 0.190476 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.117360 | \n",
+ " 0.311881 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4000000059604645.\n",
+ "Run tensor(0.4000)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138211 | \n",
+ " 0.361505 | \n",
+ " 0.875000 | \n",
+ " 0.407583 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135180 | \n",
+ " 0.322706 | \n",
+ " 0.859000 | \n",
+ " 0.134969 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122224 | \n",
+ " 0.326939 | \n",
+ " 0.856000 | \n",
+ " 0.111111 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116590 | \n",
+ " 0.331021 | \n",
+ " 0.862000 | \n",
+ " 0.067568 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108863 | \n",
+ " 0.323336 | \n",
+ " 0.862000 | \n",
+ " 0.080000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40758296847343445.\n",
+ "Run tensor(0.4076)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142181 | \n",
+ " 0.351633 | \n",
+ " 0.876000 | \n",
+ " 0.415094 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130618 | \n",
+ " 0.334738 | \n",
+ " 0.873000 | \n",
+ " 0.298343 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121078 | \n",
+ " 0.305277 | \n",
+ " 0.864000 | \n",
+ " 0.170732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.109572 | \n",
+ " 0.310349 | \n",
+ " 0.867000 | \n",
+ " 0.173913 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.102552 | \n",
+ " 0.309732 | \n",
+ " 0.868000 | \n",
+ " 0.185185 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4150943160057068.\n",
+ "Run tensor(0.4151)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146297 | \n",
+ " 0.347505 | \n",
+ " 0.861000 | \n",
+ " 0.398268 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132557 | \n",
+ " 0.329967 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120979 | \n",
+ " 0.320558 | \n",
+ " 0.866000 | \n",
+ " 0.151899 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112123 | \n",
+ " 0.312370 | \n",
+ " 0.864000 | \n",
+ " 0.180723 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110394 | \n",
+ " 0.313786 | \n",
+ " 0.862000 | \n",
+ " 0.126582 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3982684016227722.\n",
+ "Run tensor(0.3983)\n",
+ "lr=0.001,wd=0.0001 [0.41880342, 0.3921749, 0.027337264]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.135700 | \n",
+ " 0.357776 | \n",
+ " 0.872000 | \n",
+ " 0.353535 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127668 | \n",
+ " 0.340809 | \n",
+ " 0.878000 | \n",
+ " 0.371134 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.130062 | \n",
+ " 0.321151 | \n",
+ " 0.861000 | \n",
+ " 0.136646 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.110248 | \n",
+ " 0.310227 | \n",
+ " 0.868000 | \n",
+ " 0.241379 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108444 | \n",
+ " 0.312771 | \n",
+ " 0.865000 | \n",
+ " 0.181818 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.35353535413742065.\n",
+ "Better model found at epoch 1 with f_beta value: 0.37113404273986816.\n",
+ "Run tensor(0.3711)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143991 | \n",
+ " 0.355409 | \n",
+ " 0.857000 | \n",
+ " 0.447876 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.137916 | \n",
+ " 0.340732 | \n",
+ " 0.873000 | \n",
+ " 0.392345 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125938 | \n",
+ " 0.318636 | \n",
+ " 0.864000 | \n",
+ " 0.200000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113916 | \n",
+ " 0.306219 | \n",
+ " 0.871000 | \n",
+ " 0.262857 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106715 | \n",
+ " 0.320254 | \n",
+ " 0.869000 | \n",
+ " 0.215569 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4478764235973358.\n",
+ "Run tensor(0.4479)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.157729 | \n",
+ " 0.373645 | \n",
+ " 0.870000 | \n",
+ " 0.368932 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.139498 | \n",
+ " 0.340676 | \n",
+ " 0.875000 | \n",
+ " 0.309392 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.129636 | \n",
+ " 0.310810 | \n",
+ " 0.870000 | \n",
+ " 0.235294 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113636 | \n",
+ " 0.308912 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110711 | \n",
+ " 0.315987 | \n",
+ " 0.867000 | \n",
+ " 0.184049 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3689320683479309.\n",
+ "Run tensor(0.3689)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.136800 | \n",
+ " 0.372386 | \n",
+ " 0.874000 | \n",
+ " 0.336842 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130149 | \n",
+ " 0.316793 | \n",
+ " 0.862000 | \n",
+ " 0.126582 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122851 | \n",
+ " 0.324541 | \n",
+ " 0.861000 | \n",
+ " 0.114650 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.120306 | \n",
+ " 0.315041 | \n",
+ " 0.863000 | \n",
+ " 0.092715 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106954 | \n",
+ " 0.318484 | \n",
+ " 0.861000 | \n",
+ " 0.067114 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3368421196937561.\n",
+ "Run tensor(0.3368)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.156976 | \n",
+ " 0.349026 | \n",
+ " 0.871000 | \n",
+ " 0.295082 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132113 | \n",
+ " 0.328126 | \n",
+ " 0.875000 | \n",
+ " 0.384236 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125402 | \n",
+ " 0.331332 | \n",
+ " 0.864000 | \n",
+ " 0.093333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112446 | \n",
+ " 0.316068 | \n",
+ " 0.864000 | \n",
+ " 0.093333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105671 | \n",
+ " 0.310705 | \n",
+ " 0.863000 | \n",
+ " 0.116129 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.2950819730758667.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3842364251613617.\n",
+ "Run tensor(0.3842)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.151699 | \n",
+ " 0.324345 | \n",
+ " 0.869000 | \n",
+ " 0.299465 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.128246 | \n",
+ " 0.345100 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.118513 | \n",
+ " 0.330992 | \n",
+ " 0.860000 | \n",
+ " 0.135802 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113787 | \n",
+ " 0.318861 | \n",
+ " 0.860000 | \n",
+ " 0.125000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106069 | \n",
+ " 0.313428 | \n",
+ " 0.863000 | \n",
+ " 0.104575 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.29946523904800415.\n",
+ "Run tensor(0.2995)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143087 | \n",
+ " 0.389033 | \n",
+ " 0.873000 | \n",
+ " 0.282486 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129531 | \n",
+ " 0.341547 | \n",
+ " 0.877000 | \n",
+ " 0.405797 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121808 | \n",
+ " 0.350079 | \n",
+ " 0.874000 | \n",
+ " 0.300000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113007 | \n",
+ " 0.331424 | \n",
+ " 0.860000 | \n",
+ " 0.102564 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110058 | \n",
+ " 0.317786 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:06 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.28248587250709534.\n",
+ "Better model found at epoch 1 with f_beta value: 0.4057970941066742.\n",
+ "Run tensor(0.4058)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144997 | \n",
+ " 0.346963 | \n",
+ " 0.871000 | \n",
+ " 0.331606 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.137424 | \n",
+ " 0.315458 | \n",
+ " 0.876000 | \n",
+ " 0.392157 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122972 | \n",
+ " 0.325893 | \n",
+ " 0.863000 | \n",
+ " 0.179641 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117265 | \n",
+ " 0.316162 | \n",
+ " 0.861000 | \n",
+ " 0.136646 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109914 | \n",
+ " 0.315069 | \n",
+ " 0.863000 | \n",
+ " 0.116129 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3316062092781067.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3921568691730499.\n",
+ "Run tensor(0.3922)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.150242 | \n",
+ " 0.323328 | \n",
+ " 0.870000 | \n",
+ " 0.343434 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130365 | \n",
+ " 0.319072 | \n",
+ " 0.862000 | \n",
+ " 0.168675 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.130059 | \n",
+ " 0.345103 | \n",
+ " 0.862000 | \n",
+ " 0.137500 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118355 | \n",
+ " 0.309410 | \n",
+ " 0.860000 | \n",
+ " 0.102564 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111958 | \n",
+ " 0.315122 | \n",
+ " 0.861000 | \n",
+ " 0.114650 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.34343433380126953.\n",
+ "Run tensor(0.3434)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144114 | \n",
+ " 0.339540 | \n",
+ " 0.874000 | \n",
+ " 0.405660 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132040 | \n",
+ " 0.336931 | \n",
+ " 0.862000 | \n",
+ " 0.092105 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120007 | \n",
+ " 0.317441 | \n",
+ " 0.865000 | \n",
+ " 0.210526 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114967 | \n",
+ " 0.313192 | \n",
+ " 0.860000 | \n",
+ " 0.113924 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107996 | \n",
+ " 0.316730 | \n",
+ " 0.863000 | \n",
+ " 0.149068 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40566039085388184.\n",
+ "Run tensor(0.4057)\n",
+ "lr=0.001,wd=0.01009 [0.44787642, 0.3755535, 0.039731324]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142014 | \n",
+ " 0.358018 | \n",
+ " 0.877000 | \n",
+ " 0.388060 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132083 | \n",
+ " 0.324711 | \n",
+ " 0.861000 | \n",
+ " 0.114650 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121808 | \n",
+ " 0.351781 | \n",
+ " 0.864000 | \n",
+ " 0.160494 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115760 | \n",
+ " 0.317603 | \n",
+ " 0.864000 | \n",
+ " 0.139241 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106545 | \n",
+ " 0.322483 | \n",
+ " 0.865000 | \n",
+ " 0.105960 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.38805970549583435.\n",
+ "Run tensor(0.3881)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.147430 | \n",
+ " 0.353782 | \n",
+ " 0.872000 | \n",
+ " 0.407407 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135070 | \n",
+ " 0.338816 | \n",
+ " 0.875000 | \n",
+ " 0.358974 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.117463 | \n",
+ " 0.329511 | \n",
+ " 0.877000 | \n",
+ " 0.369231 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117167 | \n",
+ " 0.318437 | \n",
+ " 0.859000 | \n",
+ " 0.124224 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113987 | \n",
+ " 0.317735 | \n",
+ " 0.860000 | \n",
+ " 0.135802 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40740737318992615.\n",
+ "Run tensor(0.4074)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.148064 | \n",
+ " 0.347952 | \n",
+ " 0.871000 | \n",
+ " 0.405530 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129751 | \n",
+ " 0.327114 | \n",
+ " 0.875000 | \n",
+ " 0.345550 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122801 | \n",
+ " 0.337786 | \n",
+ " 0.871000 | \n",
+ " 0.271186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115983 | \n",
+ " 0.315398 | \n",
+ " 0.861000 | \n",
+ " 0.157576 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.112948 | \n",
+ " 0.316446 | \n",
+ " 0.861000 | \n",
+ " 0.136646 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4055299758911133.\n",
+ "Run tensor(0.4055)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146216 | \n",
+ " 0.361404 | \n",
+ " 0.868000 | \n",
+ " 0.421053 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.141068 | \n",
+ " 0.330736 | \n",
+ " 0.869000 | \n",
+ " 0.268156 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120826 | \n",
+ " 0.321070 | \n",
+ " 0.865000 | \n",
+ " 0.210526 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114533 | \n",
+ " 0.334852 | \n",
+ " 0.866000 | \n",
+ " 0.211765 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109959 | \n",
+ " 0.316821 | \n",
+ " 0.859000 | \n",
+ " 0.134969 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42105263471603394.\n",
+ "Run tensor(0.4211)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140122 | \n",
+ " 0.374905 | \n",
+ " 0.869000 | \n",
+ " 0.335025 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135837 | \n",
+ " 0.315225 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123070 | \n",
+ " 0.317630 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.109247 | \n",
+ " 0.309605 | \n",
+ " 0.875000 | \n",
+ " 0.316940 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106416 | \n",
+ " 0.311008 | \n",
+ " 0.872000 | \n",
+ " 0.255814 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3350253999233246.\n",
+ "Run tensor(0.3350)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140313 | \n",
+ " 0.339749 | \n",
+ " 0.874000 | \n",
+ " 0.400000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.126886 | \n",
+ " 0.331535 | \n",
+ " 0.878000 | \n",
+ " 0.383838 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126821 | \n",
+ " 0.308640 | \n",
+ " 0.878000 | \n",
+ " 0.336957 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112071 | \n",
+ " 0.315593 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109153 | \n",
+ " 0.312998 | \n",
+ " 0.867000 | \n",
+ " 0.203593 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4000000059604645.\n",
+ "Run tensor(0.4000)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138859 | \n",
+ " 0.350590 | \n",
+ " 0.870000 | \n",
+ " 0.403670 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134021 | \n",
+ " 0.331129 | \n",
+ " 0.865000 | \n",
+ " 0.210526 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124354 | \n",
+ " 0.317627 | \n",
+ " 0.871000 | \n",
+ " 0.287293 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114616 | \n",
+ " 0.316037 | \n",
+ " 0.859000 | \n",
+ " 0.101911 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104061 | \n",
+ " 0.317248 | \n",
+ " 0.858000 | \n",
+ " 0.089744 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4036697447299957.\n",
+ "Run tensor(0.4037)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143324 | \n",
+ " 0.416519 | \n",
+ " 0.875000 | \n",
+ " 0.345550 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135574 | \n",
+ " 0.327691 | \n",
+ " 0.875000 | \n",
+ " 0.301676 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126173 | \n",
+ " 0.358863 | \n",
+ " 0.866000 | \n",
+ " 0.106667 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116960 | \n",
+ " 0.311551 | \n",
+ " 0.877000 | \n",
+ " 0.335135 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104922 | \n",
+ " 0.311547 | \n",
+ " 0.871000 | \n",
+ " 0.254335 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.34554973244667053.\n",
+ "Run tensor(0.3455)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146675 | \n",
+ " 0.360957 | \n",
+ " 0.871000 | \n",
+ " 0.351759 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131960 | \n",
+ " 0.326756 | \n",
+ " 0.875000 | \n",
+ " 0.345550 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120959 | \n",
+ " 0.350932 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115947 | \n",
+ " 0.318538 | \n",
+ " 0.868000 | \n",
+ " 0.195122 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105920 | \n",
+ " 0.314365 | \n",
+ " 0.866000 | \n",
+ " 0.172840 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.35175880789756775.\n",
+ "Run tensor(0.3518)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144589 | \n",
+ " 0.328847 | \n",
+ " 0.876000 | \n",
+ " 0.398058 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.125656 | \n",
+ " 0.346023 | \n",
+ " 0.879000 | \n",
+ " 0.373057 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121312 | \n",
+ " 0.309668 | \n",
+ " 0.872000 | \n",
+ " 0.280899 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115767 | \n",
+ " 0.318787 | \n",
+ " 0.869000 | \n",
+ " 0.206061 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106962 | \n",
+ " 0.312206 | \n",
+ " 0.869000 | \n",
+ " 0.206061 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3980582654476166.\n",
+ "Run tensor(0.3981)\n",
+ "lr=0.001,wd=0.02008 [0.42105263, 0.38561115, 0.02851636]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.150153 | \n",
+ " 0.352522 | \n",
+ " 0.857000 | \n",
+ " 0.425703 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.138453 | \n",
+ " 0.362648 | \n",
+ " 0.860000 | \n",
+ " 0.125000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125370 | \n",
+ " 0.316530 | \n",
+ " 0.869000 | \n",
+ " 0.242775 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115512 | \n",
+ " 0.317566 | \n",
+ " 0.865000 | \n",
+ " 0.181818 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113209 | \n",
+ " 0.317156 | \n",
+ " 0.866000 | \n",
+ " 0.202381 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4257028102874756.\n",
+ "Run tensor(0.4257)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145442 | \n",
+ " 0.366328 | \n",
+ " 0.873000 | \n",
+ " 0.392345 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133006 | \n",
+ " 0.367970 | \n",
+ " 0.872000 | \n",
+ " 0.280899 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124822 | \n",
+ " 0.313327 | \n",
+ " 0.876000 | \n",
+ " 0.333333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114083 | \n",
+ " 0.305945 | \n",
+ " 0.870000 | \n",
+ " 0.261364 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108277 | \n",
+ " 0.313879 | \n",
+ " 0.863000 | \n",
+ " 0.179641 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.39234450459480286.\n",
+ "Run tensor(0.3923)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.152112 | \n",
+ " 0.382504 | \n",
+ " 0.876000 | \n",
+ " 0.403846 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.137202 | \n",
+ " 0.318586 | \n",
+ " 0.873000 | \n",
+ " 0.386473 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123876 | \n",
+ " 0.314468 | \n",
+ " 0.870000 | \n",
+ " 0.261364 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112822 | \n",
+ " 0.336522 | \n",
+ " 0.863000 | \n",
+ " 0.127389 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.103291 | \n",
+ " 0.315985 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4038461744785309.\n",
+ "Run tensor(0.4038)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141818 | \n",
+ " 0.360556 | \n",
+ " 0.876000 | \n",
+ " 0.367347 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127878 | \n",
+ " 0.366780 | \n",
+ " 0.870000 | \n",
+ " 0.207317 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.118829 | \n",
+ " 0.330378 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113890 | \n",
+ " 0.320093 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113165 | \n",
+ " 0.317072 | \n",
+ " 0.872000 | \n",
+ " 0.247059 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.36734694242477417.\n",
+ "Run tensor(0.3673)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.151503 | \n",
+ " 0.331460 | \n",
+ " 0.866000 | \n",
+ " 0.436975 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130207 | \n",
+ " 0.346635 | \n",
+ " 0.872000 | \n",
+ " 0.280899 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126962 | \n",
+ " 0.315991 | \n",
+ " 0.876000 | \n",
+ " 0.354167 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.120211 | \n",
+ " 0.319598 | \n",
+ " 0.876000 | \n",
+ " 0.340426 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104642 | \n",
+ " 0.314588 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.43697476387023926.\n",
+ "Run tensor(0.4370)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146825 | \n",
+ " 0.347546 | \n",
+ " 0.873000 | \n",
+ " 0.420091 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130645 | \n",
+ " 0.342491 | \n",
+ " 0.872000 | \n",
+ " 0.401869 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.129352 | \n",
+ " 0.330188 | \n",
+ " 0.865000 | \n",
+ " 0.191617 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118705 | \n",
+ " 0.313809 | \n",
+ " 0.866000 | \n",
+ " 0.238636 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111122 | \n",
+ " 0.318296 | \n",
+ " 0.866000 | \n",
+ " 0.211765 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42009133100509644.\n",
+ "Run tensor(0.4201)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.139795 | \n",
+ " 0.365667 | \n",
+ " 0.871000 | \n",
+ " 0.364532 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130162 | \n",
+ " 0.321385 | \n",
+ " 0.874000 | \n",
+ " 0.382353 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126724 | \n",
+ " 0.316057 | \n",
+ " 0.861000 | \n",
+ " 0.136646 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114694 | \n",
+ " 0.329916 | \n",
+ " 0.867000 | \n",
+ " 0.203593 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110465 | \n",
+ " 0.315632 | \n",
+ " 0.862000 | \n",
+ " 0.148148 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3645320236682892.\n",
+ "Better model found at epoch 1 with f_beta value: 0.38235291838645935.\n",
+ "Run tensor(0.3824)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.137702 | \n",
+ " 0.344110 | \n",
+ " 0.876000 | \n",
+ " 0.415094 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132309 | \n",
+ " 0.331012 | \n",
+ " 0.873000 | \n",
+ " 0.361809 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123851 | \n",
+ " 0.322342 | \n",
+ " 0.864000 | \n",
+ " 0.150000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.108037 | \n",
+ " 0.332985 | \n",
+ " 0.864000 | \n",
+ " 0.170732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106105 | \n",
+ " 0.317875 | \n",
+ " 0.866000 | \n",
+ " 0.202381 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4150943160057068.\n",
+ "Run tensor(0.4151)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.139226 | \n",
+ " 0.363077 | \n",
+ " 0.867000 | \n",
+ " 0.419214 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136241 | \n",
+ " 0.343005 | \n",
+ " 0.865000 | \n",
+ " 0.410480 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121078 | \n",
+ " 0.327121 | \n",
+ " 0.863000 | \n",
+ " 0.179641 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113203 | \n",
+ " 0.321935 | \n",
+ " 0.866000 | \n",
+ " 0.211765 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104016 | \n",
+ " 0.309338 | \n",
+ " 0.868000 | \n",
+ " 0.232558 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4192139804363251.\n",
+ "Run tensor(0.4192)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144939 | \n",
+ " 0.425183 | \n",
+ " 0.871000 | \n",
+ " 0.245614 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.138423 | \n",
+ " 0.333017 | \n",
+ " 0.870000 | \n",
+ " 0.392523 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127002 | \n",
+ " 0.321726 | \n",
+ " 0.862000 | \n",
+ " 0.137500 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115553 | \n",
+ " 0.315566 | \n",
+ " 0.866000 | \n",
+ " 0.229885 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108972 | \n",
+ " 0.323951 | \n",
+ " 0.864000 | \n",
+ " 0.150000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.24561405181884766.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3925234079360962.\n",
+ "Run tensor(0.3925)\n",
+ "lr=0.001,wd=0.03007 [0.43697476, 0.40554914, 0.020560784]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138057 | \n",
+ " 0.364867 | \n",
+ " 0.871000 | \n",
+ " 0.405530 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136703 | \n",
+ " 0.349501 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.119868 | \n",
+ " 0.317376 | \n",
+ " 0.877000 | \n",
+ " 0.375635 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114478 | \n",
+ " 0.321196 | \n",
+ " 0.863000 | \n",
+ " 0.179641 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.114315 | \n",
+ " 0.319416 | \n",
+ " 0.865000 | \n",
+ " 0.171779 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4055299758911133.\n",
+ "Run tensor(0.4055)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146424 | \n",
+ " 0.364162 | \n",
+ " 0.873000 | \n",
+ " 0.414747 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127543 | \n",
+ " 0.326961 | \n",
+ " 0.870000 | \n",
+ " 0.403670 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.114475 | \n",
+ " 0.356650 | \n",
+ " 0.864000 | \n",
+ " 0.170732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115309 | \n",
+ " 0.312740 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111212 | \n",
+ " 0.316512 | \n",
+ " 0.868000 | \n",
+ " 0.195122 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.41474655270576477.\n",
+ "Run tensor(0.4147)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.152895 | \n",
+ " 0.352926 | \n",
+ " 0.871000 | \n",
+ " 0.416290 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129863 | \n",
+ " 0.332154 | \n",
+ " 0.872000 | \n",
+ " 0.319149 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120685 | \n",
+ " 0.343497 | \n",
+ " 0.874000 | \n",
+ " 0.307692 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117462 | \n",
+ " 0.314537 | \n",
+ " 0.873000 | \n",
+ " 0.290503 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104352 | \n",
+ " 0.323837 | \n",
+ " 0.865000 | \n",
+ " 0.150943 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.41628962755203247.\n",
+ "Run tensor(0.4163)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141011 | \n",
+ " 0.355047 | \n",
+ " 0.875000 | \n",
+ " 0.413146 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132280 | \n",
+ " 0.329539 | \n",
+ " 0.873000 | \n",
+ " 0.313514 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123393 | \n",
+ " 0.327836 | \n",
+ " 0.869000 | \n",
+ " 0.276243 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114259 | \n",
+ " 0.300630 | \n",
+ " 0.869000 | \n",
+ " 0.242775 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.114028 | \n",
+ " 0.310652 | \n",
+ " 0.866000 | \n",
+ " 0.182927 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4131455421447754.\n",
+ "Run tensor(0.4131)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140003 | \n",
+ " 0.341209 | \n",
+ " 0.870000 | \n",
+ " 0.329897 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133142 | \n",
+ " 0.331258 | \n",
+ " 0.877000 | \n",
+ " 0.349206 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124465 | \n",
+ " 0.330560 | \n",
+ " 0.861000 | \n",
+ " 0.103226 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.110794 | \n",
+ " 0.321640 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106276 | \n",
+ " 0.315423 | \n",
+ " 0.870000 | \n",
+ " 0.235294 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3298969268798828.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3492063581943512.\n",
+ "Run tensor(0.3492)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.139014 | \n",
+ " 0.364934 | \n",
+ " 0.872000 | \n",
+ " 0.319149 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131369 | \n",
+ " 0.323329 | \n",
+ " 0.871000 | \n",
+ " 0.271186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124170 | \n",
+ " 0.340025 | \n",
+ " 0.871000 | \n",
+ " 0.262857 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114424 | \n",
+ " 0.313443 | \n",
+ " 0.872000 | \n",
+ " 0.264368 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109360 | \n",
+ " 0.318295 | \n",
+ " 0.872000 | \n",
+ " 0.238095 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3191489577293396.\n",
+ "Run tensor(0.3191)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145462 | \n",
+ " 0.350702 | \n",
+ " 0.865000 | \n",
+ " 0.410480 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130198 | \n",
+ " 0.330012 | \n",
+ " 0.873000 | \n",
+ " 0.320856 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.129741 | \n",
+ " 0.320591 | \n",
+ " 0.878000 | \n",
+ " 0.371134 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.111818 | \n",
+ " 0.306822 | \n",
+ " 0.868000 | \n",
+ " 0.250000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110675 | \n",
+ " 0.309869 | \n",
+ " 0.860000 | \n",
+ " 0.135802 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4104803502559662.\n",
+ "Run tensor(0.4105)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145807 | \n",
+ " 0.341348 | \n",
+ " 0.871000 | \n",
+ " 0.451064 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131858 | \n",
+ " 0.360870 | \n",
+ " 0.866000 | \n",
+ " 0.192771 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123726 | \n",
+ " 0.330841 | \n",
+ " 0.869000 | \n",
+ " 0.251429 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114903 | \n",
+ " 0.320449 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109943 | \n",
+ " 0.317559 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4510638415813446.\n",
+ "Run tensor(0.4511)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143970 | \n",
+ " 0.352688 | \n",
+ " 0.875000 | \n",
+ " 0.378109 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130884 | \n",
+ " 0.349077 | \n",
+ " 0.877000 | \n",
+ " 0.356021 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125659 | \n",
+ " 0.311065 | \n",
+ " 0.879000 | \n",
+ " 0.403941 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116305 | \n",
+ " 0.307228 | \n",
+ " 0.873000 | \n",
+ " 0.257310 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110227 | \n",
+ " 0.310298 | \n",
+ " 0.875000 | \n",
+ " 0.260355 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3781094551086426.\n",
+ "Better model found at epoch 2 with f_beta value: 0.403940886259079.\n",
+ "Run tensor(0.4039)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138954 | \n",
+ " 0.358542 | \n",
+ " 0.874000 | \n",
+ " 0.350515 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.126979 | \n",
+ " 0.321882 | \n",
+ " 0.874000 | \n",
+ " 0.370000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126101 | \n",
+ " 0.354403 | \n",
+ " 0.865000 | \n",
+ " 0.181818 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.111417 | \n",
+ " 0.326648 | \n",
+ " 0.867000 | \n",
+ " 0.213018 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111443 | \n",
+ " 0.320142 | \n",
+ " 0.873000 | \n",
+ " 0.282486 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3505154848098755.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3700000047683716.\n",
+ "Run tensor(0.3700)\n",
+ "lr=0.001,wd=0.040060000000000005 [0.45106384, 0.39535522, 0.03635963]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.136542 | \n",
+ " 0.359647 | \n",
+ " 0.876000 | \n",
+ " 0.367347 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129583 | \n",
+ " 0.320396 | \n",
+ " 0.874000 | \n",
+ " 0.329787 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127690 | \n",
+ " 0.329086 | \n",
+ " 0.870000 | \n",
+ " 0.244186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115413 | \n",
+ " 0.322962 | \n",
+ " 0.866000 | \n",
+ " 0.182927 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108484 | \n",
+ " 0.314111 | \n",
+ " 0.869000 | \n",
+ " 0.224852 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.36734694242477417.\n",
+ "Run tensor(0.3673)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146218 | \n",
+ " 0.354377 | \n",
+ " 0.876000 | \n",
+ " 0.403846 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127686 | \n",
+ " 0.335273 | \n",
+ " 0.867000 | \n",
+ " 0.203593 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.128303 | \n",
+ " 0.327379 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116229 | \n",
+ " 0.314555 | \n",
+ " 0.865000 | \n",
+ " 0.219653 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113320 | \n",
+ " 0.310443 | \n",
+ " 0.871000 | \n",
+ " 0.254335 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4038461744785309.\n",
+ "Run tensor(0.4038)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.149869 | \n",
+ " 0.359342 | \n",
+ " 0.863000 | \n",
+ " 0.426778 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.137230 | \n",
+ " 0.336724 | \n",
+ " 0.872000 | \n",
+ " 0.272727 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125492 | \n",
+ " 0.315541 | \n",
+ " 0.874000 | \n",
+ " 0.307692 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.111629 | \n",
+ " 0.314325 | \n",
+ " 0.872000 | \n",
+ " 0.288889 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106699 | \n",
+ " 0.309525 | \n",
+ " 0.869000 | \n",
+ " 0.215569 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42677822709083557.\n",
+ "Run tensor(0.4268)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.139676 | \n",
+ " 0.348293 | \n",
+ " 0.864000 | \n",
+ " 0.408696 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129612 | \n",
+ " 0.343472 | \n",
+ " 0.866000 | \n",
+ " 0.151899 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124574 | \n",
+ " 0.330621 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116305 | \n",
+ " 0.301193 | \n",
+ " 0.863000 | \n",
+ " 0.080537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109047 | \n",
+ " 0.315224 | \n",
+ " 0.865000 | \n",
+ " 0.081633 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40869563817977905.\n",
+ "Run tensor(0.4087)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144556 | \n",
+ " 0.352086 | \n",
+ " 0.873000 | \n",
+ " 0.392345 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134799 | \n",
+ " 0.349037 | \n",
+ " 0.871000 | \n",
+ " 0.279330 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122624 | \n",
+ " 0.336438 | \n",
+ " 0.865000 | \n",
+ " 0.210526 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118963 | \n",
+ " 0.333871 | \n",
+ " 0.859000 | \n",
+ " 0.124224 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109067 | \n",
+ " 0.325734 | \n",
+ " 0.859000 | \n",
+ " 0.145455 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.39234450459480286.\n",
+ "Run tensor(0.3923)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146754 | \n",
+ " 0.368069 | \n",
+ " 0.874000 | \n",
+ " 0.382353 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132624 | \n",
+ " 0.353937 | \n",
+ " 0.865000 | \n",
+ " 0.191617 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122163 | \n",
+ " 0.341939 | \n",
+ " 0.862000 | \n",
+ " 0.168675 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116593 | \n",
+ " 0.315166 | \n",
+ " 0.873000 | \n",
+ " 0.274286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113989 | \n",
+ " 0.318804 | \n",
+ " 0.867000 | \n",
+ " 0.193939 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.38235291838645935.\n",
+ "Run tensor(0.3824)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141089 | \n",
+ " 0.347881 | \n",
+ " 0.868000 | \n",
+ " 0.258427 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130731 | \n",
+ " 0.332625 | \n",
+ " 0.876000 | \n",
+ " 0.347368 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125359 | \n",
+ " 0.324069 | \n",
+ " 0.869000 | \n",
+ " 0.268156 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113603 | \n",
+ " 0.325876 | \n",
+ " 0.867000 | \n",
+ " 0.213018 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106193 | \n",
+ " 0.313026 | \n",
+ " 0.863000 | \n",
+ " 0.159509 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.2584269642829895.\n",
+ "Better model found at epoch 1 with f_beta value: 0.34736841917037964.\n",
+ "Run tensor(0.3474)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.153408 | \n",
+ " 0.336501 | \n",
+ " 0.872000 | \n",
+ " 0.255814 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133317 | \n",
+ " 0.331823 | \n",
+ " 0.878000 | \n",
+ " 0.336957 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126132 | \n",
+ " 0.346503 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118748 | \n",
+ " 0.319714 | \n",
+ " 0.867000 | \n",
+ " 0.203593 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109045 | \n",
+ " 0.317227 | \n",
+ " 0.867000 | \n",
+ " 0.193939 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.25581395626068115.\n",
+ "Better model found at epoch 1 with f_beta value: 0.33695653080940247.\n",
+ "Run tensor(0.3370)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146119 | \n",
+ " 0.340216 | \n",
+ " 0.874000 | \n",
+ " 0.416667 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133020 | \n",
+ " 0.328256 | \n",
+ " 0.875000 | \n",
+ " 0.324324 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120078 | \n",
+ " 0.317874 | \n",
+ " 0.862000 | \n",
+ " 0.188235 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116566 | \n",
+ " 0.318414 | \n",
+ " 0.861000 | \n",
+ " 0.125786 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106252 | \n",
+ " 0.312781 | \n",
+ " 0.860000 | \n",
+ " 0.113924 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4166666865348816.\n",
+ "Run tensor(0.4167)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146704 | \n",
+ " 0.348963 | \n",
+ " 0.868000 | \n",
+ " 0.274725 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131507 | \n",
+ " 0.314049 | \n",
+ " 0.871000 | \n",
+ " 0.279330 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.116975 | \n",
+ " 0.332720 | \n",
+ " 0.874000 | \n",
+ " 0.329787 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114764 | \n",
+ " 0.340396 | \n",
+ " 0.861000 | \n",
+ " 0.147239 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106232 | \n",
+ " 0.311253 | \n",
+ " 0.860000 | \n",
+ " 0.125000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.2747252881526947.\n",
+ "Better model found at epoch 1 with f_beta value: 0.2793295979499817.\n",
+ "Better model found at epoch 2 with f_beta value: 0.3297872245311737.\n",
+ "Run tensor(0.3298)\n",
+ "lr=0.001,wd=0.050050000000000004 [0.42677823, 0.38121435, 0.0326602]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140619 | \n",
+ " 0.343079 | \n",
+ " 0.873000 | \n",
+ " 0.403756 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134751 | \n",
+ " 0.326988 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124622 | \n",
+ " 0.329487 | \n",
+ " 0.870000 | \n",
+ " 0.277778 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.109049 | \n",
+ " 0.328823 | \n",
+ " 0.868000 | \n",
+ " 0.185185 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106268 | \n",
+ " 0.311130 | \n",
+ " 0.873000 | \n",
+ " 0.248521 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4037558436393738.\n",
+ "Run tensor(0.4038)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140293 | \n",
+ " 0.357851 | \n",
+ " 0.863000 | \n",
+ " 0.406926 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130833 | \n",
+ " 0.345349 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126837 | \n",
+ " 0.322423 | \n",
+ " 0.859000 | \n",
+ " 0.113208 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115825 | \n",
+ " 0.322966 | \n",
+ " 0.864000 | \n",
+ " 0.200000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105708 | \n",
+ " 0.306418 | \n",
+ " 0.869000 | \n",
+ " 0.242775 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4069264233112335.\n",
+ "Run tensor(0.4069)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.135466 | \n",
+ " 0.386050 | \n",
+ " 0.873000 | \n",
+ " 0.361809 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.125707 | \n",
+ " 0.353659 | \n",
+ " 0.865000 | \n",
+ " 0.171779 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122122 | \n",
+ " 0.350467 | \n",
+ " 0.870000 | \n",
+ " 0.277778 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.110001 | \n",
+ " 0.320494 | \n",
+ " 0.866000 | \n",
+ " 0.220930 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108917 | \n",
+ " 0.315244 | \n",
+ " 0.861000 | \n",
+ " 0.157576 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.36180904507637024.\n",
+ "Run tensor(0.3618)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142163 | \n",
+ " 0.356811 | \n",
+ " 0.872000 | \n",
+ " 0.384615 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.123348 | \n",
+ " 0.322731 | \n",
+ " 0.879000 | \n",
+ " 0.352941 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127488 | \n",
+ " 0.319409 | \n",
+ " 0.867000 | \n",
+ " 0.213018 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114999 | \n",
+ " 0.319683 | \n",
+ " 0.867000 | \n",
+ " 0.184049 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106356 | \n",
+ " 0.319976 | \n",
+ " 0.868000 | \n",
+ " 0.195122 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.38461539149284363.\n",
+ "Run tensor(0.3846)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146271 | \n",
+ " 0.362058 | \n",
+ " 0.874000 | \n",
+ " 0.382353 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.139761 | \n",
+ " 0.337682 | \n",
+ " 0.871000 | \n",
+ " 0.271186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120387 | \n",
+ " 0.326103 | \n",
+ " 0.870000 | \n",
+ " 0.285714 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116797 | \n",
+ " 0.317510 | \n",
+ " 0.872000 | \n",
+ " 0.264368 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108388 | \n",
+ " 0.308031 | \n",
+ " 0.869000 | \n",
+ " 0.206061 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.38235291838645935.\n",
+ "Run tensor(0.3824)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145396 | \n",
+ " 0.411295 | \n",
+ " 0.874000 | \n",
+ " 0.322581 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.139425 | \n",
+ " 0.322320 | \n",
+ " 0.879000 | \n",
+ " 0.373057 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127894 | \n",
+ " 0.320041 | \n",
+ " 0.875000 | \n",
+ " 0.338624 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116345 | \n",
+ " 0.317873 | \n",
+ " 0.874000 | \n",
+ " 0.307692 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109496 | \n",
+ " 0.320829 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.32258063554763794.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3730570077896118.\n",
+ "Run tensor(0.3731)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.134543 | \n",
+ " 0.364149 | \n",
+ " 0.868000 | \n",
+ " 0.421053 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.128796 | \n",
+ " 0.314666 | \n",
+ " 0.873000 | \n",
+ " 0.290503 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124025 | \n",
+ " 0.341381 | \n",
+ " 0.864000 | \n",
+ " 0.180723 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115995 | \n",
+ " 0.348372 | \n",
+ " 0.866000 | \n",
+ " 0.202381 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.114122 | \n",
+ " 0.320483 | \n",
+ " 0.864000 | \n",
+ " 0.180723 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42105263471603394.\n",
+ "Run tensor(0.4211)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138139 | \n",
+ " 0.338618 | \n",
+ " 0.870000 | \n",
+ " 0.414414 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135783 | \n",
+ " 0.330602 | \n",
+ " 0.873000 | \n",
+ " 0.320856 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126863 | \n",
+ " 0.318091 | \n",
+ " 0.871000 | \n",
+ " 0.271186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114671 | \n",
+ " 0.329788 | \n",
+ " 0.867000 | \n",
+ " 0.130719 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108216 | \n",
+ " 0.306902 | \n",
+ " 0.870000 | \n",
+ " 0.226190 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4144144058227539.\n",
+ "Run tensor(0.4144)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140363 | \n",
+ " 0.337384 | \n",
+ " 0.874000 | \n",
+ " 0.416667 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129974 | \n",
+ " 0.410394 | \n",
+ " 0.874000 | \n",
+ " 0.322581 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.128190 | \n",
+ " 0.309259 | \n",
+ " 0.862000 | \n",
+ " 0.188235 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117812 | \n",
+ " 0.331648 | \n",
+ " 0.860000 | \n",
+ " 0.135802 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.115310 | \n",
+ " 0.315776 | \n",
+ " 0.861000 | \n",
+ " 0.103226 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4166666865348816.\n",
+ "Run tensor(0.4167)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.137091 | \n",
+ " 0.392376 | \n",
+ " 0.873000 | \n",
+ " 0.380488 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.139737 | \n",
+ " 0.319793 | \n",
+ " 0.873000 | \n",
+ " 0.265896 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.117963 | \n",
+ " 0.331084 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117707 | \n",
+ " 0.310924 | \n",
+ " 0.874000 | \n",
+ " 0.292135 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107766 | \n",
+ " 0.317269 | \n",
+ " 0.869000 | \n",
+ " 0.242775 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3804878294467926.\n",
+ "Run tensor(0.3805)\n",
+ "lr=0.001,wd=0.06004 [0.42105263, 0.39451385, 0.01950172]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141563 | \n",
+ " 0.364375 | \n",
+ " 0.873000 | \n",
+ " 0.425339 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131183 | \n",
+ " 0.336398 | \n",
+ " 0.876000 | \n",
+ " 0.311111 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120860 | \n",
+ " 0.353211 | \n",
+ " 0.867000 | \n",
+ " 0.213018 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115083 | \n",
+ " 0.327832 | \n",
+ " 0.866000 | \n",
+ " 0.202381 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106040 | \n",
+ " 0.315952 | \n",
+ " 0.865000 | \n",
+ " 0.201183 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42533937096595764.\n",
+ "Run tensor(0.4253)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141778 | \n",
+ " 0.337167 | \n",
+ " 0.869000 | \n",
+ " 0.422907 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131755 | \n",
+ " 0.373674 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120271 | \n",
+ " 0.333718 | \n",
+ " 0.871000 | \n",
+ " 0.262857 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118048 | \n",
+ " 0.310795 | \n",
+ " 0.870000 | \n",
+ " 0.301075 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.101904 | \n",
+ " 0.316543 | \n",
+ " 0.870000 | \n",
+ " 0.226190 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4229074716567993.\n",
+ "Run tensor(0.4229)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143129 | \n",
+ " 0.364811 | \n",
+ " 0.868000 | \n",
+ " 0.305263 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.126305 | \n",
+ " 0.334646 | \n",
+ " 0.878000 | \n",
+ " 0.357895 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125015 | \n",
+ " 0.337926 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.109493 | \n",
+ " 0.326055 | \n",
+ " 0.871000 | \n",
+ " 0.245614 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113525 | \n",
+ " 0.321575 | \n",
+ " 0.862000 | \n",
+ " 0.137500 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3052631616592407.\n",
+ "Better model found at epoch 1 with f_beta value: 0.35789474844932556.\n",
+ "Run tensor(0.3579)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145698 | \n",
+ " 0.358754 | \n",
+ " 0.874000 | \n",
+ " 0.416667 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136255 | \n",
+ " 0.312955 | \n",
+ " 0.875000 | \n",
+ " 0.309392 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124469 | \n",
+ " 0.324872 | \n",
+ " 0.861000 | \n",
+ " 0.157576 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118640 | \n",
+ " 0.343113 | \n",
+ " 0.862000 | \n",
+ " 0.148148 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111184 | \n",
+ " 0.317338 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4166666865348816.\n",
+ "Run tensor(0.4167)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142386 | \n",
+ " 0.358342 | \n",
+ " 0.869000 | \n",
+ " 0.422907 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131359 | \n",
+ " 0.381421 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120111 | \n",
+ " 0.338803 | \n",
+ " 0.871000 | \n",
+ " 0.245614 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116278 | \n",
+ " 0.311067 | \n",
+ " 0.869000 | \n",
+ " 0.242775 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105438 | \n",
+ " 0.312593 | \n",
+ " 0.870000 | \n",
+ " 0.244186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4229074716567993.\n",
+ "Run tensor(0.4229)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.147846 | \n",
+ " 0.320850 | \n",
+ " 0.872000 | \n",
+ " 0.353535 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131259 | \n",
+ " 0.331812 | \n",
+ " 0.873000 | \n",
+ " 0.392345 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125802 | \n",
+ " 0.329314 | \n",
+ " 0.880000 | \n",
+ " 0.368421 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116233 | \n",
+ " 0.323847 | \n",
+ " 0.861000 | \n",
+ " 0.147239 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108634 | \n",
+ " 0.318791 | \n",
+ " 0.860000 | \n",
+ " 0.146341 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.35353535413742065.\n",
+ "Better model found at epoch 1 with f_beta value: 0.39234450459480286.\n",
+ "Run tensor(0.3923)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144435 | \n",
+ " 0.367558 | \n",
+ " 0.872000 | \n",
+ " 0.304348 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135557 | \n",
+ " 0.326963 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126909 | \n",
+ " 0.310561 | \n",
+ " 0.876000 | \n",
+ " 0.340426 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115129 | \n",
+ " 0.318567 | \n",
+ " 0.863000 | \n",
+ " 0.179641 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110100 | \n",
+ " 0.320419 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.30434784293174744.\n",
+ "Better model found at epoch 2 with f_beta value: 0.3404255211353302.\n",
+ "Run tensor(0.3404)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143632 | \n",
+ " 0.346657 | \n",
+ " 0.868000 | \n",
+ " 0.426087 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131099 | \n",
+ " 0.349973 | \n",
+ " 0.867000 | \n",
+ " 0.163522 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123062 | \n",
+ " 0.320103 | \n",
+ " 0.876000 | \n",
+ " 0.333333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115424 | \n",
+ " 0.292987 | \n",
+ " 0.878000 | \n",
+ " 0.344086 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104712 | \n",
+ " 0.304931 | \n",
+ " 0.873000 | \n",
+ " 0.274286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4260869324207306.\n",
+ "Run tensor(0.4261)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141638 | \n",
+ " 0.359331 | \n",
+ " 0.875000 | \n",
+ " 0.418605 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.137653 | \n",
+ " 0.323476 | \n",
+ " 0.870000 | \n",
+ " 0.244186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125367 | \n",
+ " 0.330940 | \n",
+ " 0.872000 | \n",
+ " 0.264368 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114557 | \n",
+ " 0.316114 | \n",
+ " 0.865000 | \n",
+ " 0.140127 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110865 | \n",
+ " 0.322161 | \n",
+ " 0.866000 | \n",
+ " 0.151899 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.41860464215278625.\n",
+ "Run tensor(0.4186)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138554 | \n",
+ " 0.366316 | \n",
+ " 0.874000 | \n",
+ " 0.370000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132561 | \n",
+ " 0.344655 | \n",
+ " 0.865000 | \n",
+ " 0.161491 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124532 | \n",
+ " 0.321207 | \n",
+ " 0.877000 | \n",
+ " 0.335135 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113052 | \n",
+ " 0.309720 | \n",
+ " 0.869000 | \n",
+ " 0.259887 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.103479 | \n",
+ " 0.317064 | \n",
+ " 0.860000 | \n",
+ " 0.135802 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3700000047683716.\n",
+ "Run tensor(0.3700)\n",
+ "lr=0.001,wd=0.07003 [0.42608693, 0.39931774, 0.030449877]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142864 | \n",
+ " 0.381483 | \n",
+ " 0.874000 | \n",
+ " 0.400000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133634 | \n",
+ " 0.326875 | \n",
+ " 0.876000 | \n",
+ " 0.326087 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126539 | \n",
+ " 0.326934 | \n",
+ " 0.869000 | \n",
+ " 0.206061 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.121882 | \n",
+ " 0.308556 | \n",
+ " 0.870000 | \n",
+ " 0.244186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107060 | \n",
+ " 0.321028 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4000000059604645.\n",
+ "Run tensor(0.4000)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138673 | \n",
+ " 0.345308 | \n",
+ " 0.872000 | \n",
+ " 0.412844 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131665 | \n",
+ " 0.336554 | \n",
+ " 0.874000 | \n",
+ " 0.343750 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.119295 | \n",
+ " 0.330645 | \n",
+ " 0.866000 | \n",
+ " 0.211765 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.119229 | \n",
+ " 0.309190 | \n",
+ " 0.865000 | \n",
+ " 0.129032 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108033 | \n",
+ " 0.314174 | \n",
+ " 0.867000 | \n",
+ " 0.193939 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4128440320491791.\n",
+ "Run tensor(0.4128)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.153182 | \n",
+ " 0.417751 | \n",
+ " 0.869000 | \n",
+ " 0.284153 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.138653 | \n",
+ " 0.316574 | \n",
+ " 0.879000 | \n",
+ " 0.345946 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123113 | \n",
+ " 0.334113 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115561 | \n",
+ " 0.319516 | \n",
+ " 0.873000 | \n",
+ " 0.298343 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105271 | \n",
+ " 0.313931 | \n",
+ " 0.870000 | \n",
+ " 0.235294 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.2841529846191406.\n",
+ "Better model found at epoch 1 with f_beta value: 0.34594595432281494.\n",
+ "Run tensor(0.3459)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140000 | \n",
+ " 0.346120 | \n",
+ " 0.873000 | \n",
+ " 0.320856 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132517 | \n",
+ " 0.349583 | \n",
+ " 0.861000 | \n",
+ " 0.398268 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121567 | \n",
+ " 0.324406 | \n",
+ " 0.874000 | \n",
+ " 0.322581 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115141 | \n",
+ " 0.325997 | \n",
+ " 0.861000 | \n",
+ " 0.167665 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109585 | \n",
+ " 0.318444 | \n",
+ " 0.859000 | \n",
+ " 0.124224 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.32085564732551575.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3982684016227722.\n",
+ "Run tensor(0.3983)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.147272 | \n",
+ " 0.397451 | \n",
+ " 0.872000 | \n",
+ " 0.333333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131276 | \n",
+ " 0.369702 | \n",
+ " 0.864000 | \n",
+ " 0.139241 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123368 | \n",
+ " 0.337161 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112682 | \n",
+ " 0.311006 | \n",
+ " 0.869000 | \n",
+ " 0.224852 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105909 | \n",
+ " 0.312659 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3333333134651184.\n",
+ "Run tensor(0.3333)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.151448 | \n",
+ " 0.394307 | \n",
+ " 0.874000 | \n",
+ " 0.250000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.128325 | \n",
+ " 0.307549 | \n",
+ " 0.873000 | \n",
+ " 0.298343 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126718 | \n",
+ " 0.312877 | \n",
+ " 0.875000 | \n",
+ " 0.301676 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112262 | \n",
+ " 0.309516 | \n",
+ " 0.865000 | \n",
+ " 0.191617 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106721 | \n",
+ " 0.310104 | \n",
+ " 0.862000 | \n",
+ " 0.126582 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.25.\n",
+ "Better model found at epoch 1 with f_beta value: 0.2983425259590149.\n",
+ "Better model found at epoch 2 with f_beta value: 0.3016759753227234.\n",
+ "Run tensor(0.3017)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140677 | \n",
+ " 0.352696 | \n",
+ " 0.874000 | \n",
+ " 0.400000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130837 | \n",
+ " 0.320803 | \n",
+ " 0.867000 | \n",
+ " 0.273224 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123900 | \n",
+ " 0.332707 | \n",
+ " 0.868000 | \n",
+ " 0.232558 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113181 | \n",
+ " 0.324853 | \n",
+ " 0.869000 | \n",
+ " 0.224852 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111778 | \n",
+ " 0.319707 | \n",
+ " 0.868000 | \n",
+ " 0.204819 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4000000059604645.\n",
+ "Run tensor(0.4000)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142061 | \n",
+ " 0.344983 | \n",
+ " 0.873000 | \n",
+ " 0.430493 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130830 | \n",
+ " 0.415260 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.119402 | \n",
+ " 0.333135 | \n",
+ " 0.861000 | \n",
+ " 0.147239 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115616 | \n",
+ " 0.317737 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.103362 | \n",
+ " 0.317721 | \n",
+ " 0.865000 | \n",
+ " 0.105960 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4304932951927185.\n",
+ "Run tensor(0.4305)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141993 | \n",
+ " 0.338774 | \n",
+ " 0.873000 | \n",
+ " 0.445415 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.139769 | \n",
+ " 0.327700 | \n",
+ " 0.873000 | \n",
+ " 0.290503 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122910 | \n",
+ " 0.320422 | \n",
+ " 0.873000 | \n",
+ " 0.313514 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115316 | \n",
+ " 0.321680 | \n",
+ " 0.863000 | \n",
+ " 0.116129 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111488 | \n",
+ " 0.311391 | \n",
+ " 0.868000 | \n",
+ " 0.232558 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.44541487097740173.\n",
+ "Run tensor(0.4454)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146332 | \n",
+ " 0.370467 | \n",
+ " 0.874000 | \n",
+ " 0.382353 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130609 | \n",
+ " 0.348736 | \n",
+ " 0.873000 | \n",
+ " 0.282486 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122180 | \n",
+ " 0.338016 | \n",
+ " 0.871000 | \n",
+ " 0.271186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.111797 | \n",
+ " 0.298002 | \n",
+ " 0.870000 | \n",
+ " 0.226190 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106587 | \n",
+ " 0.313577 | \n",
+ " 0.866000 | \n",
+ " 0.151899 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.38235291838645935.\n",
+ "Run tensor(0.3824)\n",
+ "lr=0.001,wd=0.08002000000000001 [0.44541487, 0.38503286, 0.042738147]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.137715 | \n",
+ " 0.369539 | \n",
+ " 0.872000 | \n",
+ " 0.360000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129458 | \n",
+ " 0.330164 | \n",
+ " 0.877000 | \n",
+ " 0.356021 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124109 | \n",
+ " 0.326274 | \n",
+ " 0.871000 | \n",
+ " 0.262857 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116093 | \n",
+ " 0.335789 | \n",
+ " 0.866000 | \n",
+ " 0.182927 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113267 | \n",
+ " 0.316214 | \n",
+ " 0.867000 | \n",
+ " 0.193939 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.36000004410743713.\n",
+ "Run tensor(0.3600)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.136675 | \n",
+ " 0.405064 | \n",
+ " 0.871000 | \n",
+ " 0.416290 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133621 | \n",
+ " 0.344484 | \n",
+ " 0.863000 | \n",
+ " 0.179641 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.128474 | \n",
+ " 0.316148 | \n",
+ " 0.863000 | \n",
+ " 0.159509 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116961 | \n",
+ " 0.313408 | \n",
+ " 0.860000 | \n",
+ " 0.125000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.112390 | \n",
+ " 0.310322 | \n",
+ " 0.862000 | \n",
+ " 0.137500 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.41628962755203247.\n",
+ "Run tensor(0.4163)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.157351 | \n",
+ " 0.353420 | \n",
+ " 0.873000 | \n",
+ " 0.239521 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127976 | \n",
+ " 0.343873 | \n",
+ " 0.876000 | \n",
+ " 0.354167 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126401 | \n",
+ " 0.314296 | \n",
+ " 0.876000 | \n",
+ " 0.392157 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116382 | \n",
+ " 0.310037 | \n",
+ " 0.875000 | \n",
+ " 0.301676 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104970 | \n",
+ " 0.316367 | \n",
+ " 0.867000 | \n",
+ " 0.213018 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.23952095210552216.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3541666567325592.\n",
+ "Better model found at epoch 2 with f_beta value: 0.3921568691730499.\n",
+ "Run tensor(0.3922)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.150238 | \n",
+ " 0.340454 | \n",
+ " 0.874000 | \n",
+ " 0.442478 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132985 | \n",
+ " 0.375091 | \n",
+ " 0.867000 | \n",
+ " 0.203593 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127649 | \n",
+ " 0.331208 | \n",
+ " 0.862000 | \n",
+ " 0.148148 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116100 | \n",
+ " 0.315887 | \n",
+ " 0.863000 | \n",
+ " 0.149068 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109201 | \n",
+ " 0.315513 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.44247785210609436.\n",
+ "Run tensor(0.4425)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.150581 | \n",
+ " 0.340508 | \n",
+ " 0.874000 | \n",
+ " 0.437500 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136865 | \n",
+ " 0.340468 | \n",
+ " 0.874000 | \n",
+ " 0.376238 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124501 | \n",
+ " 0.322952 | \n",
+ " 0.874000 | \n",
+ " 0.307692 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112723 | \n",
+ " 0.316631 | \n",
+ " 0.861000 | \n",
+ " 0.147239 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108860 | \n",
+ " 0.320652 | \n",
+ " 0.867000 | \n",
+ " 0.193939 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4375.\n",
+ "Run tensor(0.4375)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.137522 | \n",
+ " 0.340282 | \n",
+ " 0.873000 | \n",
+ " 0.348718 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130800 | \n",
+ " 0.354223 | \n",
+ " 0.874000 | \n",
+ " 0.357143 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.128819 | \n",
+ " 0.339768 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116137 | \n",
+ " 0.304766 | \n",
+ " 0.873000 | \n",
+ " 0.265896 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113761 | \n",
+ " 0.310945 | \n",
+ " 0.868000 | \n",
+ " 0.204819 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.34871798753738403.\n",
+ "Better model found at epoch 1 with f_beta value: 0.357142835855484.\n",
+ "Run tensor(0.3571)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145051 | \n",
+ " 0.375166 | \n",
+ " 0.872000 | \n",
+ " 0.304348 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.123237 | \n",
+ " 0.358535 | \n",
+ " 0.878000 | \n",
+ " 0.371134 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124950 | \n",
+ " 0.329962 | \n",
+ " 0.866000 | \n",
+ " 0.211765 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114408 | \n",
+ " 0.317606 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109627 | \n",
+ " 0.319574 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.30434784293174744.\n",
+ "Better model found at epoch 1 with f_beta value: 0.37113404273986816.\n",
+ "Run tensor(0.3711)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140644 | \n",
+ " 0.371052 | \n",
+ " 0.873000 | \n",
+ " 0.341969 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134449 | \n",
+ " 0.318916 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126410 | \n",
+ " 0.316861 | \n",
+ " 0.868000 | \n",
+ " 0.241379 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113057 | \n",
+ " 0.312990 | \n",
+ " 0.869000 | \n",
+ " 0.224852 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104501 | \n",
+ " 0.310328 | \n",
+ " 0.871000 | \n",
+ " 0.236686 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3419688940048218.\n",
+ "Run tensor(0.3420)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141900 | \n",
+ " 0.366752 | \n",
+ " 0.871000 | \n",
+ " 0.324607 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131462 | \n",
+ " 0.322599 | \n",
+ " 0.877000 | \n",
+ " 0.362694 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123091 | \n",
+ " 0.323511 | \n",
+ " 0.879000 | \n",
+ " 0.379487 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115036 | \n",
+ " 0.318529 | \n",
+ " 0.864000 | \n",
+ " 0.150000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107536 | \n",
+ " 0.319949 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.32460734248161316.\n",
+ "Better model found at epoch 1 with f_beta value: 0.36269432306289673.\n",
+ "Better model found at epoch 2 with f_beta value: 0.37948715686798096.\n",
+ "Run tensor(0.3795)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144719 | \n",
+ " 0.331192 | \n",
+ " 0.870000 | \n",
+ " 0.434783 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.125401 | \n",
+ " 0.325611 | \n",
+ " 0.877000 | \n",
+ " 0.375635 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.117936 | \n",
+ " 0.357220 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117180 | \n",
+ " 0.320806 | \n",
+ " 0.862000 | \n",
+ " 0.137500 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113440 | \n",
+ " 0.318357 | \n",
+ " 0.862000 | \n",
+ " 0.148148 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.43478259444236755.\n",
+ "Run tensor(0.4348)\n",
+ "lr=0.001,wd=0.09001 [0.44247785, 0.393294, 0.03515106]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144453 | \n",
+ " 0.380754 | \n",
+ " 0.875000 | \n",
+ " 0.407583 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129607 | \n",
+ " 0.378740 | \n",
+ " 0.877000 | \n",
+ " 0.405797 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123891 | \n",
+ " 0.335804 | \n",
+ " 0.871000 | \n",
+ " 0.279330 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.107304 | \n",
+ " 0.328680 | \n",
+ " 0.863000 | \n",
+ " 0.159509 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109225 | \n",
+ " 0.323316 | \n",
+ " 0.861000 | \n",
+ " 0.147239 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40758296847343445.\n",
+ "Run tensor(0.4076)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138477 | \n",
+ " 0.338752 | \n",
+ " 0.876000 | \n",
+ " 0.403846 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136716 | \n",
+ " 0.323525 | \n",
+ " 0.877000 | \n",
+ " 0.369231 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121961 | \n",
+ " 0.348366 | \n",
+ " 0.875000 | \n",
+ " 0.316940 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118643 | \n",
+ " 0.306804 | \n",
+ " 0.862000 | \n",
+ " 0.115385 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107259 | \n",
+ " 0.314326 | \n",
+ " 0.862000 | \n",
+ " 0.103896 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4038461744785309.\n",
+ "Run tensor(0.4038)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.159284 | \n",
+ " 0.368802 | \n",
+ " 0.866000 | \n",
+ " 0.436975 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130994 | \n",
+ " 0.338021 | \n",
+ " 0.866000 | \n",
+ " 0.192771 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122706 | \n",
+ " 0.314911 | \n",
+ " 0.861000 | \n",
+ " 0.125786 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113875 | \n",
+ " 0.316979 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107989 | \n",
+ " 0.313635 | \n",
+ " 0.863000 | \n",
+ " 0.149068 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.43697476387023926.\n",
+ "Run tensor(0.4370)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.149408 | \n",
+ " 0.365828 | \n",
+ " 0.871000 | \n",
+ " 0.317460 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.137847 | \n",
+ " 0.331459 | \n",
+ " 0.870000 | \n",
+ " 0.308511 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124516 | \n",
+ " 0.315421 | \n",
+ " 0.870000 | \n",
+ " 0.269663 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112096 | \n",
+ " 0.311278 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111611 | \n",
+ " 0.318144 | \n",
+ " 0.863000 | \n",
+ " 0.179641 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3174603283405304.\n",
+ "Run tensor(0.3175)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138325 | \n",
+ " 0.342476 | \n",
+ " 0.872000 | \n",
+ " 0.412844 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133437 | \n",
+ " 0.352685 | \n",
+ " 0.869000 | \n",
+ " 0.251429 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121213 | \n",
+ " 0.315239 | \n",
+ " 0.877000 | \n",
+ " 0.342246 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112443 | \n",
+ " 0.317784 | \n",
+ " 0.873000 | \n",
+ " 0.282486 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106918 | \n",
+ " 0.319178 | \n",
+ " 0.871000 | \n",
+ " 0.227545 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4128440320491791.\n",
+ "Run tensor(0.4128)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146494 | \n",
+ " 0.358226 | \n",
+ " 0.873000 | \n",
+ " 0.425339 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135955 | \n",
+ " 0.348914 | \n",
+ " 0.875000 | \n",
+ " 0.352332 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.119449 | \n",
+ " 0.367147 | \n",
+ " 0.863000 | \n",
+ " 0.149068 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115256 | \n",
+ " 0.318502 | \n",
+ " 0.864000 | \n",
+ " 0.180723 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107101 | \n",
+ " 0.314379 | \n",
+ " 0.867000 | \n",
+ " 0.193939 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42533937096595764.\n",
+ "Run tensor(0.4253)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.151345 | \n",
+ " 0.338911 | \n",
+ " 0.868000 | \n",
+ " 0.435897 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132786 | \n",
+ " 0.341400 | \n",
+ " 0.877000 | \n",
+ " 0.369231 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124674 | \n",
+ " 0.332813 | \n",
+ " 0.869000 | \n",
+ " 0.215569 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116514 | \n",
+ " 0.302961 | \n",
+ " 0.873000 | \n",
+ " 0.230303 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110495 | \n",
+ " 0.312652 | \n",
+ " 0.872000 | \n",
+ " 0.228916 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.43589743971824646.\n",
+ "Run tensor(0.4359)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.139232 | \n",
+ " 0.344131 | \n",
+ " 0.875000 | \n",
+ " 0.390244 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136163 | \n",
+ " 0.320812 | \n",
+ " 0.877000 | \n",
+ " 0.381910 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.119584 | \n",
+ " 0.382039 | \n",
+ " 0.862000 | \n",
+ " 0.137500 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115018 | \n",
+ " 0.315076 | \n",
+ " 0.866000 | \n",
+ " 0.192771 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107438 | \n",
+ " 0.318041 | \n",
+ " 0.863000 | \n",
+ " 0.159509 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.39024391770362854.\n",
+ "Run tensor(0.3902)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145574 | \n",
+ " 0.354804 | \n",
+ " 0.874000 | \n",
+ " 0.357143 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131234 | \n",
+ " 0.344778 | \n",
+ " 0.865000 | \n",
+ " 0.161491 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121741 | \n",
+ " 0.341694 | \n",
+ " 0.875000 | \n",
+ " 0.324324 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113382 | \n",
+ " 0.315471 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107832 | \n",
+ " 0.314772 | \n",
+ " 0.865000 | \n",
+ " 0.181818 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.357142835855484.\n",
+ "Run tensor(0.3571)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.136538 | \n",
+ " 0.365441 | \n",
+ " 0.874000 | \n",
+ " 0.382353 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134136 | \n",
+ " 0.350308 | \n",
+ " 0.875000 | \n",
+ " 0.352332 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122182 | \n",
+ " 0.347051 | \n",
+ " 0.865000 | \n",
+ " 0.210526 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112282 | \n",
+ " 0.305636 | \n",
+ " 0.872000 | \n",
+ " 0.272727 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105584 | \n",
+ " 0.314934 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.38235291838645935.\n",
+ "Run tensor(0.3824)\n",
+ "lr=0.0109,wd=0.0001 [0.43697476, 0.39696845, 0.035354402]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142584 | \n",
+ " 0.345867 | \n",
+ " 0.877000 | \n",
+ " 0.438356 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.139084 | \n",
+ " 0.324870 | \n",
+ " 0.877000 | \n",
+ " 0.394089 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123179 | \n",
+ " 0.324248 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112871 | \n",
+ " 0.315524 | \n",
+ " 0.869000 | \n",
+ " 0.259887 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105466 | \n",
+ " 0.317156 | \n",
+ " 0.867000 | \n",
+ " 0.184049 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4383561611175537.\n",
+ "Run tensor(0.4384)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.136939 | \n",
+ " 0.359578 | \n",
+ " 0.874000 | \n",
+ " 0.411215 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135588 | \n",
+ " 0.312470 | \n",
+ " 0.873000 | \n",
+ " 0.355330 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.117604 | \n",
+ " 0.312338 | \n",
+ " 0.879000 | \n",
+ " 0.359788 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113299 | \n",
+ " 0.317529 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106519 | \n",
+ " 0.309586 | \n",
+ " 0.864000 | \n",
+ " 0.170732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4112149477005005.\n",
+ "Run tensor(0.4112)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.150574 | \n",
+ " 0.337939 | \n",
+ " 0.874000 | \n",
+ " 0.376238 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132118 | \n",
+ " 0.323256 | \n",
+ " 0.879000 | \n",
+ " 0.385787 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120041 | \n",
+ " 0.334580 | \n",
+ " 0.869000 | \n",
+ " 0.215569 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113366 | \n",
+ " 0.312906 | \n",
+ " 0.871000 | \n",
+ " 0.271186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110051 | \n",
+ " 0.318164 | \n",
+ " 0.871000 | \n",
+ " 0.245614 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3762376308441162.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3857868015766144.\n",
+ "Run tensor(0.3858)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144851 | \n",
+ " 0.370260 | \n",
+ " 0.872000 | \n",
+ " 0.272727 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132154 | \n",
+ " 0.371470 | \n",
+ " 0.875000 | \n",
+ " 0.301676 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121872 | \n",
+ " 0.322709 | \n",
+ " 0.874000 | \n",
+ " 0.322581 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116905 | \n",
+ " 0.311932 | \n",
+ " 0.871000 | \n",
+ " 0.279330 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.102619 | \n",
+ " 0.316951 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.27272728085517883.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3016759753227234.\n",
+ "Better model found at epoch 2 with f_beta value: 0.32258063554763794.\n",
+ "Run tensor(0.3226)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.147786 | \n",
+ " 0.347835 | \n",
+ " 0.875000 | \n",
+ " 0.358974 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133480 | \n",
+ " 0.338046 | \n",
+ " 0.871000 | \n",
+ " 0.302703 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126970 | \n",
+ " 0.312587 | \n",
+ " 0.864000 | \n",
+ " 0.093333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.111348 | \n",
+ " 0.315736 | \n",
+ " 0.861000 | \n",
+ " 0.147239 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.102638 | \n",
+ " 0.319090 | \n",
+ " 0.866000 | \n",
+ " 0.172840 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3589743375778198.\n",
+ "Run tensor(0.3590)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.148350 | \n",
+ " 0.361282 | \n",
+ " 0.872000 | \n",
+ " 0.418182 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134558 | \n",
+ " 0.342007 | \n",
+ " 0.879000 | \n",
+ " 0.352941 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122027 | \n",
+ " 0.311649 | \n",
+ " 0.864000 | \n",
+ " 0.190476 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.119018 | \n",
+ " 0.316874 | \n",
+ " 0.861000 | \n",
+ " 0.136646 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107707 | \n",
+ " 0.314874 | \n",
+ " 0.859000 | \n",
+ " 0.113208 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.418181836605072.\n",
+ "Run tensor(0.4182)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145992 | \n",
+ " 0.348614 | \n",
+ " 0.864000 | \n",
+ " 0.438017 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131705 | \n",
+ " 0.362821 | \n",
+ " 0.877000 | \n",
+ " 0.335135 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121042 | \n",
+ " 0.315724 | \n",
+ " 0.880000 | \n",
+ " 0.381443 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114973 | \n",
+ " 0.305072 | \n",
+ " 0.867000 | \n",
+ " 0.213018 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104007 | \n",
+ " 0.312215 | \n",
+ " 0.865000 | \n",
+ " 0.191617 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.43801653385162354.\n",
+ "Run tensor(0.4380)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144521 | \n",
+ " 0.354127 | \n",
+ " 0.872000 | \n",
+ " 0.401869 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130804 | \n",
+ " 0.345633 | \n",
+ " 0.871000 | \n",
+ " 0.295082 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120722 | \n",
+ " 0.313395 | \n",
+ " 0.862000 | \n",
+ " 0.188235 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114050 | \n",
+ " 0.320015 | \n",
+ " 0.863000 | \n",
+ " 0.116129 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111948 | \n",
+ " 0.314620 | \n",
+ " 0.863000 | \n",
+ " 0.116129 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40186917781829834.\n",
+ "Run tensor(0.4019)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.158296 | \n",
+ " 0.386702 | \n",
+ " 0.876000 | \n",
+ " 0.270588 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135052 | \n",
+ " 0.356891 | \n",
+ " 0.871000 | \n",
+ " 0.271186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.130244 | \n",
+ " 0.317029 | \n",
+ " 0.878000 | \n",
+ " 0.344086 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114880 | \n",
+ " 0.318521 | \n",
+ " 0.863000 | \n",
+ " 0.179641 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107138 | \n",
+ " 0.318773 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.2705882489681244.\n",
+ "Better model found at epoch 1 with f_beta value: 0.2711864709854126.\n",
+ "Better model found at epoch 2 with f_beta value: 0.34408602118492126.\n",
+ "Run tensor(0.3441)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.152506 | \n",
+ " 0.355331 | \n",
+ " 0.861000 | \n",
+ " 0.459144 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131177 | \n",
+ " 0.330131 | \n",
+ " 0.863000 | \n",
+ " 0.189349 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.117828 | \n",
+ " 0.345217 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117529 | \n",
+ " 0.305475 | \n",
+ " 0.874000 | \n",
+ " 0.284091 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105009 | \n",
+ " 0.316265 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4591439664363861.\n",
+ "Run tensor(0.4591)\n",
+ "lr=0.0109,wd=0.01009 [0.45914397, 0.397821, 0.042228047]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.151708 | \n",
+ " 0.333932 | \n",
+ " 0.866000 | \n",
+ " 0.390909 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132106 | \n",
+ " 0.354558 | \n",
+ " 0.875000 | \n",
+ " 0.390244 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123895 | \n",
+ " 0.309359 | \n",
+ " 0.874000 | \n",
+ " 0.258824 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116740 | \n",
+ " 0.320025 | \n",
+ " 0.874000 | \n",
+ " 0.267442 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.117024 | \n",
+ " 0.312166 | \n",
+ " 0.873000 | \n",
+ " 0.265896 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3909090757369995.\n",
+ "Run tensor(0.3909)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140000 | \n",
+ " 0.400917 | \n",
+ " 0.875000 | \n",
+ " 0.390244 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131962 | \n",
+ " 0.345813 | \n",
+ " 0.872000 | \n",
+ " 0.280899 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121694 | \n",
+ " 0.331279 | \n",
+ " 0.864000 | \n",
+ " 0.139241 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115593 | \n",
+ " 0.313479 | \n",
+ " 0.868000 | \n",
+ " 0.232558 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109655 | \n",
+ " 0.315845 | \n",
+ " 0.866000 | \n",
+ " 0.172840 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.39024391770362854.\n",
+ "Run tensor(0.3902)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146649 | \n",
+ " 0.354177 | \n",
+ " 0.866000 | \n",
+ " 0.401786 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134253 | \n",
+ " 0.329786 | \n",
+ " 0.859000 | \n",
+ " 0.155689 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.116831 | \n",
+ " 0.325383 | \n",
+ " 0.873000 | \n",
+ " 0.341969 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115535 | \n",
+ " 0.322248 | \n",
+ " 0.861000 | \n",
+ " 0.114650 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106330 | \n",
+ " 0.321113 | \n",
+ " 0.865000 | \n",
+ " 0.117647 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4017857015132904.\n",
+ "Run tensor(0.4018)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.154016 | \n",
+ " 0.319132 | \n",
+ " 0.876000 | \n",
+ " 0.347368 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136235 | \n",
+ " 0.334632 | \n",
+ " 0.880000 | \n",
+ " 0.387755 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121733 | \n",
+ " 0.340919 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117228 | \n",
+ " 0.315428 | \n",
+ " 0.865000 | \n",
+ " 0.181818 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107666 | \n",
+ " 0.325928 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.34736841917037964.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3877550959587097.\n",
+ "Run tensor(0.3878)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.149694 | \n",
+ " 0.399851 | \n",
+ " 0.870000 | \n",
+ " 0.308511 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131215 | \n",
+ " 0.356573 | \n",
+ " 0.871000 | \n",
+ " 0.271186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127016 | \n",
+ " 0.322807 | \n",
+ " 0.878000 | \n",
+ " 0.396040 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114678 | \n",
+ " 0.332024 | \n",
+ " 0.870000 | \n",
+ " 0.226190 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110957 | \n",
+ " 0.314456 | \n",
+ " 0.871000 | \n",
+ " 0.236686 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3085106313228607.\n",
+ "Better model found at epoch 2 with f_beta value: 0.39603960514068604.\n",
+ "Run tensor(0.3960)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.137683 | \n",
+ " 0.382685 | \n",
+ " 0.871000 | \n",
+ " 0.287293 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136301 | \n",
+ " 0.324871 | \n",
+ " 0.878000 | \n",
+ " 0.351064 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125739 | \n",
+ " 0.365199 | \n",
+ " 0.860000 | \n",
+ " 0.090909 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112120 | \n",
+ " 0.305065 | \n",
+ " 0.862000 | \n",
+ " 0.148148 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107186 | \n",
+ " 0.309940 | \n",
+ " 0.859000 | \n",
+ " 0.090323 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.28729280829429626.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3510638177394867.\n",
+ "Run tensor(0.3511)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142073 | \n",
+ " 0.346525 | \n",
+ " 0.873000 | \n",
+ " 0.386473 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129986 | \n",
+ " 0.349234 | \n",
+ " 0.876000 | \n",
+ " 0.398058 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121190 | \n",
+ " 0.315466 | \n",
+ " 0.861000 | \n",
+ " 0.205714 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.106648 | \n",
+ " 0.314644 | \n",
+ " 0.863000 | \n",
+ " 0.116129 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104241 | \n",
+ " 0.310130 | \n",
+ " 0.863000 | \n",
+ " 0.116129 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3864734172821045.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3980582654476166.\n",
+ "Run tensor(0.3981)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.137912 | \n",
+ " 0.334791 | \n",
+ " 0.871000 | \n",
+ " 0.405530 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130739 | \n",
+ " 0.328097 | \n",
+ " 0.864000 | \n",
+ " 0.170732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120195 | \n",
+ " 0.311122 | \n",
+ " 0.861000 | \n",
+ " 0.157576 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114452 | \n",
+ " 0.318887 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113427 | \n",
+ " 0.314666 | \n",
+ " 0.860000 | \n",
+ " 0.125000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4055299758911133.\n",
+ "Run tensor(0.4055)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143407 | \n",
+ " 0.356628 | \n",
+ " 0.868000 | \n",
+ " 0.415929 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127685 | \n",
+ " 0.335468 | \n",
+ " 0.873000 | \n",
+ " 0.282486 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124820 | \n",
+ " 0.333374 | \n",
+ " 0.870000 | \n",
+ " 0.261364 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116605 | \n",
+ " 0.316420 | \n",
+ " 0.871000 | \n",
+ " 0.271186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108595 | \n",
+ " 0.315616 | \n",
+ " 0.865000 | \n",
+ " 0.191617 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.41592922806739807.\n",
+ "Run tensor(0.4159)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146571 | \n",
+ " 0.338236 | \n",
+ " 0.874000 | \n",
+ " 0.432432 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133310 | \n",
+ " 0.329427 | \n",
+ " 0.879000 | \n",
+ " 0.345946 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127421 | \n",
+ " 0.312902 | \n",
+ " 0.868000 | \n",
+ " 0.250000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116304 | \n",
+ " 0.318947 | \n",
+ " 0.864000 | \n",
+ " 0.160494 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108504 | \n",
+ " 0.315687 | \n",
+ " 0.861000 | \n",
+ " 0.125786 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4324324429035187.\n",
+ "Run tensor(0.4324)\n",
+ "lr=0.0109,wd=0.02008 [0.43243244, 0.39697474, 0.01997453]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.136741 | \n",
+ " 0.378773 | \n",
+ " 0.871000 | \n",
+ " 0.331606 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132596 | \n",
+ " 0.341813 | \n",
+ " 0.878000 | \n",
+ " 0.357895 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122657 | \n",
+ " 0.358283 | \n",
+ " 0.870000 | \n",
+ " 0.244186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113837 | \n",
+ " 0.311010 | \n",
+ " 0.871000 | \n",
+ " 0.262857 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109367 | \n",
+ " 0.316056 | \n",
+ " 0.873000 | \n",
+ " 0.265896 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3316062092781067.\n",
+ "Better model found at epoch 1 with f_beta value: 0.35789474844932556.\n",
+ "Run tensor(0.3579)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141813 | \n",
+ " 0.361694 | \n",
+ " 0.860000 | \n",
+ " 0.421488 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132948 | \n",
+ " 0.333203 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124742 | \n",
+ " 0.317974 | \n",
+ " 0.865000 | \n",
+ " 0.068966 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117685 | \n",
+ " 0.320589 | \n",
+ " 0.860000 | \n",
+ " 0.090909 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104457 | \n",
+ " 0.318655 | \n",
+ " 0.863000 | \n",
+ " 0.104575 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42148759961128235.\n",
+ "Run tensor(0.4215)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143339 | \n",
+ " 0.356435 | \n",
+ " 0.875000 | \n",
+ " 0.378109 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.122756 | \n",
+ " 0.335117 | \n",
+ " 0.877000 | \n",
+ " 0.335135 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125874 | \n",
+ " 0.330973 | \n",
+ " 0.865000 | \n",
+ " 0.161491 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112304 | \n",
+ " 0.320476 | \n",
+ " 0.874000 | \n",
+ " 0.300000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109005 | \n",
+ " 0.316928 | \n",
+ " 0.868000 | \n",
+ " 0.232558 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3781094551086426.\n",
+ "Run tensor(0.3781)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146784 | \n",
+ " 0.367801 | \n",
+ " 0.874000 | \n",
+ " 0.411215 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133401 | \n",
+ " 0.332159 | \n",
+ " 0.876000 | \n",
+ " 0.340426 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122770 | \n",
+ " 0.320231 | \n",
+ " 0.870000 | \n",
+ " 0.285714 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.107420 | \n",
+ " 0.312466 | \n",
+ " 0.880000 | \n",
+ " 0.381443 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109544 | \n",
+ " 0.315390 | \n",
+ " 0.871000 | \n",
+ " 0.254335 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4112149477005005.\n",
+ "Run tensor(0.4112)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.153245 | \n",
+ " 0.365064 | \n",
+ " 0.865000 | \n",
+ " 0.415584 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131316 | \n",
+ " 0.322893 | \n",
+ " 0.874000 | \n",
+ " 0.300000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121380 | \n",
+ " 0.332947 | \n",
+ " 0.861000 | \n",
+ " 0.114650 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115930 | \n",
+ " 0.306271 | \n",
+ " 0.875000 | \n",
+ " 0.331551 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106491 | \n",
+ " 0.317201 | \n",
+ " 0.871000 | \n",
+ " 0.227545 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4155844449996948.\n",
+ "Run tensor(0.4156)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.152062 | \n",
+ " 0.350313 | \n",
+ " 0.871000 | \n",
+ " 0.317460 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127745 | \n",
+ " 0.384353 | \n",
+ " 0.864000 | \n",
+ " 0.170732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124056 | \n",
+ " 0.351972 | \n",
+ " 0.864000 | \n",
+ " 0.209302 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118820 | \n",
+ " 0.307507 | \n",
+ " 0.874000 | \n",
+ " 0.300000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107842 | \n",
+ " 0.312841 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3174603283405304.\n",
+ "Run tensor(0.3175)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.137248 | \n",
+ " 0.421630 | \n",
+ " 0.872000 | \n",
+ " 0.340206 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.137567 | \n",
+ " 0.350182 | \n",
+ " 0.878000 | \n",
+ " 0.390000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125457 | \n",
+ " 0.314097 | \n",
+ " 0.873000 | \n",
+ " 0.265896 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114762 | \n",
+ " 0.319622 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113333 | \n",
+ " 0.311567 | \n",
+ " 0.871000 | \n",
+ " 0.262857 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.34020617604255676.\n",
+ "Better model found at epoch 1 with f_beta value: 0.38999998569488525.\n",
+ "Run tensor(0.3900)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141588 | \n",
+ " 0.350179 | \n",
+ " 0.863000 | \n",
+ " 0.431535 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.123909 | \n",
+ " 0.372699 | \n",
+ " 0.878000 | \n",
+ " 0.357895 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124528 | \n",
+ " 0.320803 | \n",
+ " 0.868000 | \n",
+ " 0.241379 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116992 | \n",
+ " 0.331699 | \n",
+ " 0.867000 | \n",
+ " 0.240000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104380 | \n",
+ " 0.319048 | \n",
+ " 0.869000 | \n",
+ " 0.242775 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4315352737903595.\n",
+ "Run tensor(0.4315)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146073 | \n",
+ " 0.335003 | \n",
+ " 0.860000 | \n",
+ " 0.430894 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135000 | \n",
+ " 0.360545 | \n",
+ " 0.873000 | \n",
+ " 0.282486 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125354 | \n",
+ " 0.310059 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117740 | \n",
+ " 0.314200 | \n",
+ " 0.865000 | \n",
+ " 0.191617 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108771 | \n",
+ " 0.326419 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.43089431524276733.\n",
+ "Run tensor(0.4309)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.147562 | \n",
+ " 0.341579 | \n",
+ " 0.870000 | \n",
+ " 0.429825 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135192 | \n",
+ " 0.328993 | \n",
+ " 0.877000 | \n",
+ " 0.394089 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124489 | \n",
+ " 0.311815 | \n",
+ " 0.868000 | \n",
+ " 0.241379 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112862 | \n",
+ " 0.324173 | \n",
+ " 0.865000 | \n",
+ " 0.219653 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104391 | \n",
+ " 0.318057 | \n",
+ " 0.860000 | \n",
+ " 0.156627 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.429824560880661.\n",
+ "Run tensor(0.4298)\n",
+ "lr=0.0109,wd=0.03007 [0.43153527, 0.39840057, 0.03578836]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140438 | \n",
+ " 0.335247 | \n",
+ " 0.872000 | \n",
+ " 0.396226 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135457 | \n",
+ " 0.334013 | \n",
+ " 0.877000 | \n",
+ " 0.394089 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.128399 | \n",
+ " 0.347072 | \n",
+ " 0.865000 | \n",
+ " 0.191617 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116381 | \n",
+ " 0.323486 | \n",
+ " 0.864000 | \n",
+ " 0.209302 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108865 | \n",
+ " 0.315132 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3962264358997345.\n",
+ "Run tensor(0.3962)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143204 | \n",
+ " 0.347812 | \n",
+ " 0.877000 | \n",
+ " 0.438356 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132013 | \n",
+ " 0.360295 | \n",
+ " 0.846000 | \n",
+ " 0.393701 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122461 | \n",
+ " 0.337090 | \n",
+ " 0.878000 | \n",
+ " 0.390000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.111878 | \n",
+ " 0.308256 | \n",
+ " 0.871000 | \n",
+ " 0.310160 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107092 | \n",
+ " 0.314906 | \n",
+ " 0.871000 | \n",
+ " 0.287293 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4383561611175537.\n",
+ "Run tensor(0.4384)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138210 | \n",
+ " 0.360130 | \n",
+ " 0.876000 | \n",
+ " 0.420561 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130032 | \n",
+ " 0.326627 | \n",
+ " 0.874000 | \n",
+ " 0.315217 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.129007 | \n",
+ " 0.340911 | \n",
+ " 0.870000 | \n",
+ " 0.226190 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115341 | \n",
+ " 0.328184 | \n",
+ " 0.862000 | \n",
+ " 0.126582 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106808 | \n",
+ " 0.320078 | \n",
+ " 0.866000 | \n",
+ " 0.182927 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42056071758270264.\n",
+ "Run tensor(0.4206)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140032 | \n",
+ " 0.338708 | \n",
+ " 0.871000 | \n",
+ " 0.400000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.125400 | \n",
+ " 0.340690 | \n",
+ " 0.875000 | \n",
+ " 0.371859 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.116884 | \n",
+ " 0.316880 | \n",
+ " 0.874000 | \n",
+ " 0.388350 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.109343 | \n",
+ " 0.312929 | \n",
+ " 0.877000 | \n",
+ " 0.342246 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110531 | \n",
+ " 0.313869 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4000000059604645.\n",
+ "Run tensor(0.4000)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146473 | \n",
+ " 0.385971 | \n",
+ " 0.872000 | \n",
+ " 0.366337 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.142062 | \n",
+ " 0.342898 | \n",
+ " 0.876000 | \n",
+ " 0.386139 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122800 | \n",
+ " 0.360669 | \n",
+ " 0.872000 | \n",
+ " 0.255814 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.107858 | \n",
+ " 0.335020 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109039 | \n",
+ " 0.320424 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3663366138935089.\n",
+ "Better model found at epoch 1 with f_beta value: 0.38613858819007874.\n",
+ "Run tensor(0.3861)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.147914 | \n",
+ " 0.338664 | \n",
+ " 0.874000 | \n",
+ " 0.394231 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135487 | \n",
+ " 0.322624 | \n",
+ " 0.869000 | \n",
+ " 0.268156 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.129292 | \n",
+ " 0.342914 | \n",
+ " 0.860000 | \n",
+ " 0.125000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115681 | \n",
+ " 0.320362 | \n",
+ " 0.859000 | \n",
+ " 0.101911 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.103485 | \n",
+ " 0.313076 | \n",
+ " 0.860000 | \n",
+ " 0.102564 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.39423078298568726.\n",
+ "Run tensor(0.3942)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144839 | \n",
+ " 0.336456 | \n",
+ " 0.869000 | \n",
+ " 0.427948 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.125840 | \n",
+ " 0.357248 | \n",
+ " 0.869000 | \n",
+ " 0.224852 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123835 | \n",
+ " 0.343669 | \n",
+ " 0.863000 | \n",
+ " 0.127389 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114890 | \n",
+ " 0.322079 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107778 | \n",
+ " 0.314165 | \n",
+ " 0.864000 | \n",
+ " 0.139241 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4279475808143616.\n",
+ "Run tensor(0.4279)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143409 | \n",
+ " 0.347892 | \n",
+ " 0.872000 | \n",
+ " 0.407407 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132524 | \n",
+ " 0.320211 | \n",
+ " 0.875000 | \n",
+ " 0.309392 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123406 | \n",
+ " 0.351880 | \n",
+ " 0.868000 | \n",
+ " 0.232558 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117306 | \n",
+ " 0.314805 | \n",
+ " 0.866000 | \n",
+ " 0.192771 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.103566 | \n",
+ " 0.317370 | \n",
+ " 0.867000 | \n",
+ " 0.213018 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40740737318992615.\n",
+ "Run tensor(0.4074)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141003 | \n",
+ " 0.374472 | \n",
+ " 0.871000 | \n",
+ " 0.345178 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130279 | \n",
+ " 0.318100 | \n",
+ " 0.874000 | \n",
+ " 0.343750 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.117626 | \n",
+ " 0.320965 | \n",
+ " 0.879000 | \n",
+ " 0.359788 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112633 | \n",
+ " 0.321039 | \n",
+ " 0.867000 | \n",
+ " 0.173913 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108727 | \n",
+ " 0.313603 | \n",
+ " 0.872000 | \n",
+ " 0.264368 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.34517768025398254.\n",
+ "Better model found at epoch 2 with f_beta value: 0.35978832840919495.\n",
+ "Run tensor(0.3598)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140454 | \n",
+ " 0.333518 | \n",
+ " 0.876000 | \n",
+ " 0.409524 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130930 | \n",
+ " 0.326000 | \n",
+ " 0.877000 | \n",
+ " 0.381910 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121206 | \n",
+ " 0.312831 | \n",
+ " 0.867000 | \n",
+ " 0.240000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118642 | \n",
+ " 0.317334 | \n",
+ " 0.868000 | \n",
+ " 0.195122 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107159 | \n",
+ " 0.316618 | \n",
+ " 0.868000 | \n",
+ " 0.185185 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4095238149166107.\n",
+ "Run tensor(0.4095)\n",
+ "lr=0.0109,wd=0.040060000000000005 [0.43835616, 0.40401798, 0.021250358]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.147853 | \n",
+ " 0.336322 | \n",
+ " 0.871000 | \n",
+ " 0.370732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.125940 | \n",
+ " 0.371142 | \n",
+ " 0.868000 | \n",
+ " 0.232558 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125635 | \n",
+ " 0.332034 | \n",
+ " 0.872000 | \n",
+ " 0.288889 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112220 | \n",
+ " 0.332635 | \n",
+ " 0.862000 | \n",
+ " 0.168675 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110849 | \n",
+ " 0.318295 | \n",
+ " 0.867000 | \n",
+ " 0.203593 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3707317113876343.\n",
+ "Run tensor(0.3707)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.148485 | \n",
+ " 0.341944 | \n",
+ " 0.871000 | \n",
+ " 0.338462 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.122055 | \n",
+ " 0.346081 | \n",
+ " 0.876000 | \n",
+ " 0.373737 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.118916 | \n",
+ " 0.336098 | \n",
+ " 0.866000 | \n",
+ " 0.182927 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115774 | \n",
+ " 0.318352 | \n",
+ " 0.872000 | \n",
+ " 0.280899 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104818 | \n",
+ " 0.311544 | \n",
+ " 0.865000 | \n",
+ " 0.201183 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3384615182876587.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3737373948097229.\n",
+ "Run tensor(0.3737)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141279 | \n",
+ " 0.334466 | \n",
+ " 0.874000 | \n",
+ " 0.363636 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131788 | \n",
+ " 0.318058 | \n",
+ " 0.870000 | \n",
+ " 0.269663 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120625 | \n",
+ " 0.353531 | \n",
+ " 0.860000 | \n",
+ " 0.135802 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112526 | \n",
+ " 0.303057 | \n",
+ " 0.871000 | \n",
+ " 0.271186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.102652 | \n",
+ " 0.308754 | \n",
+ " 0.868000 | \n",
+ " 0.204819 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3636363744735718.\n",
+ "Run tensor(0.3636)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.137535 | \n",
+ " 0.355519 | \n",
+ " 0.873000 | \n",
+ " 0.341969 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129457 | \n",
+ " 0.319092 | \n",
+ " 0.877000 | \n",
+ " 0.381910 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120558 | \n",
+ " 0.363472 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.119574 | \n",
+ " 0.307972 | \n",
+ " 0.866000 | \n",
+ " 0.220930 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107764 | \n",
+ " 0.323146 | \n",
+ " 0.866000 | \n",
+ " 0.202381 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3419688940048218.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3819095492362976.\n",
+ "Run tensor(0.3819)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145714 | \n",
+ " 0.341017 | \n",
+ " 0.859000 | \n",
+ " 0.410042 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130939 | \n",
+ " 0.345070 | \n",
+ " 0.875000 | \n",
+ " 0.365482 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.118596 | \n",
+ " 0.323849 | \n",
+ " 0.867000 | \n",
+ " 0.231214 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112259 | \n",
+ " 0.325850 | \n",
+ " 0.874000 | \n",
+ " 0.307692 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108070 | \n",
+ " 0.317798 | \n",
+ " 0.865000 | \n",
+ " 0.201183 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.41004180908203125.\n",
+ "Run tensor(0.4100)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142874 | \n",
+ " 0.354305 | \n",
+ " 0.873000 | \n",
+ " 0.361809 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132110 | \n",
+ " 0.351125 | \n",
+ " 0.872000 | \n",
+ " 0.272727 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125552 | \n",
+ " 0.338351 | \n",
+ " 0.873000 | \n",
+ " 0.239521 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113450 | \n",
+ " 0.317413 | \n",
+ " 0.876000 | \n",
+ " 0.333333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.112880 | \n",
+ " 0.324902 | \n",
+ " 0.871000 | \n",
+ " 0.245614 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.36180904507637024.\n",
+ "Run tensor(0.3618)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140617 | \n",
+ " 0.353944 | \n",
+ " 0.865000 | \n",
+ " 0.400000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131923 | \n",
+ " 0.344896 | \n",
+ " 0.872000 | \n",
+ " 0.326316 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124974 | \n",
+ " 0.316882 | \n",
+ " 0.863000 | \n",
+ " 0.159509 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114731 | \n",
+ " 0.314761 | \n",
+ " 0.874000 | \n",
+ " 0.315217 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106660 | \n",
+ " 0.310403 | \n",
+ " 0.864000 | \n",
+ " 0.200000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4000000059604645.\n",
+ "Run tensor(0.4000)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.151137 | \n",
+ " 0.344924 | \n",
+ " 0.873000 | \n",
+ " 0.403756 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.126638 | \n",
+ " 0.346631 | \n",
+ " 0.872000 | \n",
+ " 0.304348 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122057 | \n",
+ " 0.335570 | \n",
+ " 0.863000 | \n",
+ " 0.159509 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114816 | \n",
+ " 0.307880 | \n",
+ " 0.872000 | \n",
+ " 0.288889 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104773 | \n",
+ " 0.317059 | \n",
+ " 0.866000 | \n",
+ " 0.202381 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4037558436393738.\n",
+ "Run tensor(0.4038)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.159706 | \n",
+ " 0.351193 | \n",
+ " 0.867000 | \n",
+ " 0.424242 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134412 | \n",
+ " 0.329446 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121018 | \n",
+ " 0.332806 | \n",
+ " 0.879000 | \n",
+ " 0.359788 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114573 | \n",
+ " 0.325141 | \n",
+ " 0.868000 | \n",
+ " 0.175000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110916 | \n",
+ " 0.314514 | \n",
+ " 0.869000 | \n",
+ " 0.196319 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42424240708351135.\n",
+ "Run tensor(0.4242)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.139177 | \n",
+ " 0.393290 | \n",
+ " 0.871000 | \n",
+ " 0.364532 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132634 | \n",
+ " 0.317326 | \n",
+ " 0.876000 | \n",
+ " 0.326087 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123247 | \n",
+ " 0.345326 | \n",
+ " 0.873000 | \n",
+ " 0.282486 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114107 | \n",
+ " 0.321170 | \n",
+ " 0.864000 | \n",
+ " 0.170732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106539 | \n",
+ " 0.322170 | \n",
+ " 0.864000 | \n",
+ " 0.170732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3645320236682892.\n",
+ "Run tensor(0.3645)\n",
+ "lr=0.0109,wd=0.050050000000000004 [0.4242424, 0.38543963, 0.021201538]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144228 | \n",
+ " 0.431977 | \n",
+ " 0.871000 | \n",
+ " 0.279330 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134935 | \n",
+ " 0.336989 | \n",
+ " 0.868000 | \n",
+ " 0.241379 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126806 | \n",
+ " 0.324393 | \n",
+ " 0.872000 | \n",
+ " 0.296703 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113238 | \n",
+ " 0.311156 | \n",
+ " 0.876000 | \n",
+ " 0.326087 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109686 | \n",
+ " 0.311994 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.2793295979499817.\n",
+ "Better model found at epoch 2 with f_beta value: 0.2967032790184021.\n",
+ "Better model found at epoch 3 with f_beta value: 0.32608696818351746.\n",
+ "Run tensor(0.3261)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.137603 | \n",
+ " 0.364935 | \n",
+ " 0.862000 | \n",
+ " 0.425000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131115 | \n",
+ " 0.372448 | \n",
+ " 0.864000 | \n",
+ " 0.180723 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123330 | \n",
+ " 0.321149 | \n",
+ " 0.865000 | \n",
+ " 0.210526 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112848 | \n",
+ " 0.308822 | \n",
+ " 0.872000 | \n",
+ " 0.272727 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110082 | \n",
+ " 0.317175 | \n",
+ " 0.868000 | \n",
+ " 0.204819 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42500001192092896.\n",
+ "Run tensor(0.4250)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143245 | \n",
+ " 0.356632 | \n",
+ " 0.875000 | \n",
+ " 0.407583 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133928 | \n",
+ " 0.323153 | \n",
+ " 0.872000 | \n",
+ " 0.288889 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125871 | \n",
+ " 0.319436 | \n",
+ " 0.873000 | \n",
+ " 0.298343 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115161 | \n",
+ " 0.310229 | \n",
+ " 0.869000 | \n",
+ " 0.242775 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106640 | \n",
+ " 0.319824 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40758296847343445.\n",
+ "Run tensor(0.4076)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146799 | \n",
+ " 0.361061 | \n",
+ " 0.873000 | \n",
+ " 0.348718 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132483 | \n",
+ " 0.343901 | \n",
+ " 0.866000 | \n",
+ " 0.211765 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125431 | \n",
+ " 0.358275 | \n",
+ " 0.872000 | \n",
+ " 0.272727 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117958 | \n",
+ " 0.308913 | \n",
+ " 0.864000 | \n",
+ " 0.200000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107159 | \n",
+ " 0.316661 | \n",
+ " 0.869000 | \n",
+ " 0.259887 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.34871798753738403.\n",
+ "Run tensor(0.3487)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140130 | \n",
+ " 0.338238 | \n",
+ " 0.873000 | \n",
+ " 0.403756 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129083 | \n",
+ " 0.343984 | \n",
+ " 0.874000 | \n",
+ " 0.394231 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.116456 | \n",
+ " 0.315201 | \n",
+ " 0.876000 | \n",
+ " 0.373737 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112829 | \n",
+ " 0.319962 | \n",
+ " 0.869000 | \n",
+ " 0.259887 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108731 | \n",
+ " 0.315881 | \n",
+ " 0.872000 | \n",
+ " 0.264368 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4037558436393738.\n",
+ "Run tensor(0.4038)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142800 | \n",
+ " 0.363993 | \n",
+ " 0.874000 | \n",
+ " 0.363636 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133944 | \n",
+ " 0.372522 | \n",
+ " 0.866000 | \n",
+ " 0.436975 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120379 | \n",
+ " 0.350224 | \n",
+ " 0.867000 | \n",
+ " 0.130719 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.119311 | \n",
+ " 0.316759 | \n",
+ " 0.866000 | \n",
+ " 0.172840 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110743 | \n",
+ " 0.317800 | \n",
+ " 0.867000 | \n",
+ " 0.203593 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3636363744735718.\n",
+ "Better model found at epoch 1 with f_beta value: 0.43697476387023926.\n",
+ "Run tensor(0.4370)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138196 | \n",
+ " 0.352284 | \n",
+ " 0.872000 | \n",
+ " 0.396226 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134007 | \n",
+ " 0.344571 | \n",
+ " 0.869000 | \n",
+ " 0.215569 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.117748 | \n",
+ " 0.321965 | \n",
+ " 0.875000 | \n",
+ " 0.338624 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.109509 | \n",
+ " 0.313873 | \n",
+ " 0.868000 | \n",
+ " 0.204819 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107374 | \n",
+ " 0.306051 | \n",
+ " 0.871000 | \n",
+ " 0.236686 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3962264358997345.\n",
+ "Run tensor(0.3962)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143174 | \n",
+ " 0.401337 | \n",
+ " 0.872000 | \n",
+ " 0.326316 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.138254 | \n",
+ " 0.325971 | \n",
+ " 0.869000 | \n",
+ " 0.291892 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.128093 | \n",
+ " 0.313535 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117104 | \n",
+ " 0.322126 | \n",
+ " 0.864000 | \n",
+ " 0.139241 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107139 | \n",
+ " 0.320759 | \n",
+ " 0.864000 | \n",
+ " 0.170732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3263157606124878.\n",
+ "Run tensor(0.3263)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145417 | \n",
+ " 0.365595 | \n",
+ " 0.874000 | \n",
+ " 0.370000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130214 | \n",
+ " 0.347872 | \n",
+ " 0.876000 | \n",
+ " 0.373737 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.129607 | \n",
+ " 0.309233 | \n",
+ " 0.876000 | \n",
+ " 0.340426 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.119288 | \n",
+ " 0.302546 | \n",
+ " 0.872000 | \n",
+ " 0.311828 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107244 | \n",
+ " 0.310468 | \n",
+ " 0.867000 | \n",
+ " 0.240000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3700000047683716.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3737373948097229.\n",
+ "Run tensor(0.3737)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146135 | \n",
+ " 0.348600 | \n",
+ " 0.872000 | \n",
+ " 0.396226 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133976 | \n",
+ " 0.354778 | \n",
+ " 0.861000 | \n",
+ " 0.157576 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123345 | \n",
+ " 0.333167 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116365 | \n",
+ " 0.312415 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.103168 | \n",
+ " 0.316221 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3962264358997345.\n",
+ "Run tensor(0.3962)\n",
+ "lr=0.0109,wd=0.06004 [0.43697476, 0.38406244, 0.037100192]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138921 | \n",
+ " 0.375908 | \n",
+ " 0.874000 | \n",
+ " 0.411215 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132809 | \n",
+ " 0.328149 | \n",
+ " 0.872000 | \n",
+ " 0.272727 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.129488 | \n",
+ " 0.309802 | \n",
+ " 0.876000 | \n",
+ " 0.403846 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117222 | \n",
+ " 0.313212 | \n",
+ " 0.870000 | \n",
+ " 0.261364 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107865 | \n",
+ " 0.319642 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4112149477005005.\n",
+ "Run tensor(0.4112)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.152982 | \n",
+ " 0.364588 | \n",
+ " 0.872000 | \n",
+ " 0.407407 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132208 | \n",
+ " 0.342562 | \n",
+ " 0.872000 | \n",
+ " 0.272727 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123667 | \n",
+ " 0.353903 | \n",
+ " 0.861000 | \n",
+ " 0.103226 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.120584 | \n",
+ " 0.315160 | \n",
+ " 0.865000 | \n",
+ " 0.161491 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110841 | \n",
+ " 0.324514 | \n",
+ " 0.866000 | \n",
+ " 0.182927 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40740737318992615.\n",
+ "Run tensor(0.4074)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.150638 | \n",
+ " 0.344587 | \n",
+ " 0.876000 | \n",
+ " 0.425926 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132249 | \n",
+ " 0.316604 | \n",
+ " 0.866000 | \n",
+ " 0.192771 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.129131 | \n",
+ " 0.325726 | \n",
+ " 0.875000 | \n",
+ " 0.324324 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.109543 | \n",
+ " 0.327563 | \n",
+ " 0.865000 | \n",
+ " 0.210526 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111332 | \n",
+ " 0.321521 | \n",
+ " 0.865000 | \n",
+ " 0.210526 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42592594027519226.\n",
+ "Run tensor(0.4259)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140696 | \n",
+ " 0.345725 | \n",
+ " 0.872000 | \n",
+ " 0.407407 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133303 | \n",
+ " 0.369584 | \n",
+ " 0.866000 | \n",
+ " 0.192771 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.117188 | \n",
+ " 0.336659 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.120231 | \n",
+ " 0.313288 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110568 | \n",
+ " 0.315804 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40740737318992615.\n",
+ "Run tensor(0.4074)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144369 | \n",
+ " 0.391547 | \n",
+ " 0.871000 | \n",
+ " 0.262857 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133141 | \n",
+ " 0.328714 | \n",
+ " 0.866000 | \n",
+ " 0.220930 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122035 | \n",
+ " 0.329625 | \n",
+ " 0.861000 | \n",
+ " 0.114650 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.119840 | \n",
+ " 0.318217 | \n",
+ " 0.860000 | \n",
+ " 0.066667 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108250 | \n",
+ " 0.320753 | \n",
+ " 0.860000 | \n",
+ " 0.066667 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.2628571689128876.\n",
+ "Run tensor(0.2629)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138854 | \n",
+ " 0.385077 | \n",
+ " 0.873000 | \n",
+ " 0.355330 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135634 | \n",
+ " 0.325689 | \n",
+ " 0.876000 | \n",
+ " 0.326087 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124488 | \n",
+ " 0.326582 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114813 | \n",
+ " 0.309631 | \n",
+ " 0.876000 | \n",
+ " 0.333333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108678 | \n",
+ " 0.312562 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3553299605846405.\n",
+ "Run tensor(0.3553)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.149173 | \n",
+ " 0.351772 | \n",
+ " 0.868000 | \n",
+ " 0.400000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136623 | \n",
+ " 0.352006 | \n",
+ " 0.871000 | \n",
+ " 0.271186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122080 | \n",
+ " 0.312937 | \n",
+ " 0.863000 | \n",
+ " 0.189349 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113184 | \n",
+ " 0.314234 | \n",
+ " 0.862000 | \n",
+ " 0.148148 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111026 | \n",
+ " 0.321621 | \n",
+ " 0.861000 | \n",
+ " 0.125786 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40000003576278687.\n",
+ "Run tensor(0.4000)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145966 | \n",
+ " 0.350071 | \n",
+ " 0.867000 | \n",
+ " 0.331658 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129093 | \n",
+ " 0.319007 | \n",
+ " 0.874000 | \n",
+ " 0.370000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.129975 | \n",
+ " 0.311740 | \n",
+ " 0.866000 | \n",
+ " 0.220930 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112683 | \n",
+ " 0.305381 | \n",
+ " 0.862000 | \n",
+ " 0.188235 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106840 | \n",
+ " 0.312205 | \n",
+ " 0.864000 | \n",
+ " 0.200000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.33165833353996277.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3700000047683716.\n",
+ "Run tensor(0.3700)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145165 | \n",
+ " 0.337314 | \n",
+ " 0.865000 | \n",
+ " 0.425532 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131996 | \n",
+ " 0.346251 | \n",
+ " 0.867000 | \n",
+ " 0.231214 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125007 | \n",
+ " 0.326547 | \n",
+ " 0.870000 | \n",
+ " 0.277778 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115917 | \n",
+ " 0.318191 | \n",
+ " 0.863000 | \n",
+ " 0.127389 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.112442 | \n",
+ " 0.320720 | \n",
+ " 0.861000 | \n",
+ " 0.103226 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42553189396858215.\n",
+ "Run tensor(0.4255)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146425 | \n",
+ " 0.336034 | \n",
+ " 0.871000 | \n",
+ " 0.295082 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127029 | \n",
+ " 0.314894 | \n",
+ " 0.866000 | \n",
+ " 0.202381 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126409 | \n",
+ " 0.322942 | \n",
+ " 0.860000 | \n",
+ " 0.125000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116253 | \n",
+ " 0.315076 | \n",
+ " 0.861000 | \n",
+ " 0.136646 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110327 | \n",
+ " 0.317619 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.2950819730758667.\n",
+ "Run tensor(0.2951)\n",
+ "lr=0.0109,wd=0.07003 [0.42592594, 0.37607566, 0.053429548]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142641 | \n",
+ " 0.395245 | \n",
+ " 0.873000 | \n",
+ " 0.392345 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133734 | \n",
+ " 0.367179 | \n",
+ " 0.867000 | \n",
+ " 0.203593 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123897 | \n",
+ " 0.311852 | \n",
+ " 0.863000 | \n",
+ " 0.179641 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114462 | \n",
+ " 0.314364 | \n",
+ " 0.867000 | \n",
+ " 0.184049 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109202 | \n",
+ " 0.314122 | \n",
+ " 0.865000 | \n",
+ " 0.161491 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.39234450459480286.\n",
+ "Run tensor(0.3923)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.135467 | \n",
+ " 0.398830 | \n",
+ " 0.868000 | \n",
+ " 0.326531 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136305 | \n",
+ " 0.333800 | \n",
+ " 0.877000 | \n",
+ " 0.411483 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121637 | \n",
+ " 0.344328 | \n",
+ " 0.874000 | \n",
+ " 0.315217 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118836 | \n",
+ " 0.299546 | \n",
+ " 0.876000 | \n",
+ " 0.367347 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.102655 | \n",
+ " 0.307418 | \n",
+ " 0.874000 | \n",
+ " 0.275862 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3265306055545807.\n",
+ "Better model found at epoch 1 with f_beta value: 0.4114832580089569.\n",
+ "Run tensor(0.4115)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141773 | \n",
+ " 0.349284 | \n",
+ " 0.865000 | \n",
+ " 0.420601 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134576 | \n",
+ " 0.328510 | \n",
+ " 0.875000 | \n",
+ " 0.384236 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123396 | \n",
+ " 0.321077 | \n",
+ " 0.874000 | \n",
+ " 0.315217 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114772 | \n",
+ " 0.308693 | \n",
+ " 0.863000 | \n",
+ " 0.169697 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111157 | \n",
+ " 0.320663 | \n",
+ " 0.866000 | \n",
+ " 0.211765 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42060086131095886.\n",
+ "Run tensor(0.4206)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.138060 | \n",
+ " 0.339832 | \n",
+ " 0.873000 | \n",
+ " 0.414747 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.138759 | \n",
+ " 0.317447 | \n",
+ " 0.871000 | \n",
+ " 0.364532 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.119093 | \n",
+ " 0.329729 | \n",
+ " 0.876000 | \n",
+ " 0.367347 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.119706 | \n",
+ " 0.313212 | \n",
+ " 0.871000 | \n",
+ " 0.279330 | \n",
+ " 00:06 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108250 | \n",
+ " 0.318007 | \n",
+ " 0.866000 | \n",
+ " 0.211765 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.41474655270576477.\n",
+ "Run tensor(0.4147)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140341 | \n",
+ " 0.320941 | \n",
+ " 0.876000 | \n",
+ " 0.354167 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131196 | \n",
+ " 0.333601 | \n",
+ " 0.875000 | \n",
+ " 0.396135 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127232 | \n",
+ " 0.325292 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113359 | \n",
+ " 0.314812 | \n",
+ " 0.868000 | \n",
+ " 0.204819 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109956 | \n",
+ " 0.311339 | \n",
+ " 0.868000 | \n",
+ " 0.195122 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3541666567325592.\n",
+ "Better model found at epoch 1 with f_beta value: 0.39613527059555054.\n",
+ "Run tensor(0.3961)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146487 | \n",
+ " 0.335039 | \n",
+ " 0.874000 | \n",
+ " 0.411215 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.141632 | \n",
+ " 0.331427 | \n",
+ " 0.874000 | \n",
+ " 0.394231 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122605 | \n",
+ " 0.324584 | \n",
+ " 0.869000 | \n",
+ " 0.251429 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114009 | \n",
+ " 0.313043 | \n",
+ " 0.867000 | \n",
+ " 0.184049 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105301 | \n",
+ " 0.314280 | \n",
+ " 0.866000 | \n",
+ " 0.172840 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4112149477005005.\n",
+ "Run tensor(0.4112)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140009 | \n",
+ " 0.383835 | \n",
+ " 0.876000 | \n",
+ " 0.360825 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.139371 | \n",
+ " 0.339672 | \n",
+ " 0.873000 | \n",
+ " 0.355330 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120328 | \n",
+ " 0.335381 | \n",
+ " 0.875000 | \n",
+ " 0.324324 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114568 | \n",
+ " 0.326072 | \n",
+ " 0.868000 | \n",
+ " 0.185185 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106989 | \n",
+ " 0.314458 | \n",
+ " 0.864000 | \n",
+ " 0.160494 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.36082470417022705.\n",
+ "Run tensor(0.3608)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140217 | \n",
+ " 0.367938 | \n",
+ " 0.872000 | \n",
+ " 0.333333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.126561 | \n",
+ " 0.422348 | \n",
+ " 0.872000 | \n",
+ " 0.272727 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124895 | \n",
+ " 0.330534 | \n",
+ " 0.872000 | \n",
+ " 0.264368 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114552 | \n",
+ " 0.313296 | \n",
+ " 0.872000 | \n",
+ " 0.264368 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108050 | \n",
+ " 0.317676 | \n",
+ " 0.872000 | \n",
+ " 0.247059 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3333333134651184.\n",
+ "Run tensor(0.3333)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143817 | \n",
+ " 0.356411 | \n",
+ " 0.861000 | \n",
+ " 0.437247 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134384 | \n",
+ " 0.335743 | \n",
+ " 0.876000 | \n",
+ " 0.318681 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124463 | \n",
+ " 0.317289 | \n",
+ " 0.871000 | \n",
+ " 0.279330 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114828 | \n",
+ " 0.329124 | \n",
+ " 0.862000 | \n",
+ " 0.168675 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110045 | \n",
+ " 0.316136 | \n",
+ " 0.865000 | \n",
+ " 0.210526 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4372469484806061.\n",
+ "Run tensor(0.4372)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142736 | \n",
+ " 0.341195 | \n",
+ " 0.871000 | \n",
+ " 0.405530 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.138706 | \n",
+ " 0.319618 | \n",
+ " 0.865000 | \n",
+ " 0.210526 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124410 | \n",
+ " 0.332051 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117312 | \n",
+ " 0.324644 | \n",
+ " 0.862000 | \n",
+ " 0.054795 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104934 | \n",
+ " 0.316822 | \n",
+ " 0.861000 | \n",
+ " 0.067114 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4055299758911133.\n",
+ "Run tensor(0.4055)\n",
+ "lr=0.0109,wd=0.08002000000000001 [0.43724695, 0.39834604, 0.02888382]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.135168 | \n",
+ " 0.365452 | \n",
+ " 0.873000 | \n",
+ " 0.392345 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131995 | \n",
+ " 0.325521 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125518 | \n",
+ " 0.330145 | \n",
+ " 0.873000 | \n",
+ " 0.313514 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.108646 | \n",
+ " 0.321083 | \n",
+ " 0.870000 | \n",
+ " 0.244186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106646 | \n",
+ " 0.317137 | \n",
+ " 0.871000 | \n",
+ " 0.245614 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.39234450459480286.\n",
+ "Run tensor(0.3923)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.148864 | \n",
+ " 0.337277 | \n",
+ " 0.872000 | \n",
+ " 0.418182 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127098 | \n",
+ " 0.342464 | \n",
+ " 0.872000 | \n",
+ " 0.296703 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123998 | \n",
+ " 0.328554 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117228 | \n",
+ " 0.314373 | \n",
+ " 0.865000 | \n",
+ " 0.171779 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107488 | \n",
+ " 0.308366 | \n",
+ " 0.862000 | \n",
+ " 0.126582 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.418181836605072.\n",
+ "Run tensor(0.4182)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143339 | \n",
+ " 0.355847 | \n",
+ " 0.872000 | \n",
+ " 0.366337 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.123980 | \n",
+ " 0.376883 | \n",
+ " 0.880000 | \n",
+ " 0.361702 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.128078 | \n",
+ " 0.315527 | \n",
+ " 0.874000 | \n",
+ " 0.315217 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118484 | \n",
+ " 0.312088 | \n",
+ " 0.869000 | \n",
+ " 0.259887 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106740 | \n",
+ " 0.320939 | \n",
+ " 0.866000 | \n",
+ " 0.192771 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3663366138935089.\n",
+ "Run tensor(0.3663)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142204 | \n",
+ " 0.389469 | \n",
+ " 0.873000 | \n",
+ " 0.380488 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133262 | \n",
+ " 0.332346 | \n",
+ " 0.872000 | \n",
+ " 0.396226 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127251 | \n",
+ " 0.323009 | \n",
+ " 0.862000 | \n",
+ " 0.168675 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118489 | \n",
+ " 0.317299 | \n",
+ " 0.872000 | \n",
+ " 0.280899 | \n",
+ " 00:06 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111282 | \n",
+ " 0.319550 | \n",
+ " 0.860000 | \n",
+ " 0.135802 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3804878294467926.\n",
+ "Better model found at epoch 1 with f_beta value: 0.3962264358997345.\n",
+ "Run tensor(0.3962)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142167 | \n",
+ " 0.374826 | \n",
+ " 0.873000 | \n",
+ " 0.386473 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133048 | \n",
+ " 0.344175 | \n",
+ " 0.870000 | \n",
+ " 0.403670 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122366 | \n",
+ " 0.319421 | \n",
+ " 0.858000 | \n",
+ " 0.134146 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115136 | \n",
+ " 0.315104 | \n",
+ " 0.858000 | \n",
+ " 0.112500 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105213 | \n",
+ " 0.319401 | \n",
+ " 0.860000 | \n",
+ " 0.113924 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3864734172821045.\n",
+ "Better model found at epoch 1 with f_beta value: 0.4036697447299957.\n",
+ "Run tensor(0.4037)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.139002 | \n",
+ " 0.357474 | \n",
+ " 0.864000 | \n",
+ " 0.442623 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127637 | \n",
+ " 0.362998 | \n",
+ " 0.872000 | \n",
+ " 0.255814 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124369 | \n",
+ " 0.315921 | \n",
+ " 0.877000 | \n",
+ " 0.362694 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113178 | \n",
+ " 0.329207 | \n",
+ " 0.866000 | \n",
+ " 0.162500 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106508 | \n",
+ " 0.306810 | \n",
+ " 0.868000 | \n",
+ " 0.175000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.44262292981147766.\n",
+ "Run tensor(0.4426)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145986 | \n",
+ " 0.348625 | \n",
+ " 0.864000 | \n",
+ " 0.451613 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130825 | \n",
+ " 0.324203 | \n",
+ " 0.874000 | \n",
+ " 0.363636 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126114 | \n",
+ " 0.319340 | \n",
+ " 0.869000 | \n",
+ " 0.259887 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113885 | \n",
+ " 0.307243 | \n",
+ " 0.876000 | \n",
+ " 0.333333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108147 | \n",
+ " 0.313220 | \n",
+ " 0.873000 | \n",
+ " 0.282486 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4516128897666931.\n",
+ "Run tensor(0.4516)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.134089 | \n",
+ " 0.357099 | \n",
+ " 0.873000 | \n",
+ " 0.403756 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.128428 | \n",
+ " 0.325686 | \n",
+ " 0.867000 | \n",
+ " 0.240000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120848 | \n",
+ " 0.314464 | \n",
+ " 0.870000 | \n",
+ " 0.216867 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.109222 | \n",
+ " 0.321115 | \n",
+ " 0.866000 | \n",
+ " 0.141026 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108061 | \n",
+ " 0.317175 | \n",
+ " 0.868000 | \n",
+ " 0.175000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4037558436393738.\n",
+ "Run tensor(0.4038)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143882 | \n",
+ " 0.337092 | \n",
+ " 0.866000 | \n",
+ " 0.412281 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.137633 | \n",
+ " 0.326073 | \n",
+ " 0.877000 | \n",
+ " 0.400000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127776 | \n",
+ " 0.320770 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118473 | \n",
+ " 0.318208 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108104 | \n",
+ " 0.316526 | \n",
+ " 0.865000 | \n",
+ " 0.201183 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.41228070855140686.\n",
+ "Run tensor(0.4123)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143419 | \n",
+ " 0.343522 | \n",
+ " 0.862000 | \n",
+ " 0.439024 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131654 | \n",
+ " 0.315183 | \n",
+ " 0.874000 | \n",
+ " 0.300000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127695 | \n",
+ " 0.323107 | \n",
+ " 0.863000 | \n",
+ " 0.127389 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114646 | \n",
+ " 0.317700 | \n",
+ " 0.866000 | \n",
+ " 0.162500 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110379 | \n",
+ " 0.315440 | \n",
+ " 0.868000 | \n",
+ " 0.153846 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.439024418592453.\n",
+ "Run tensor(0.4390)\n",
+ "lr=0.0109,wd=0.09001 [0.4516129, 0.41260558, 0.024757905]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145721 | \n",
+ " 0.359453 | \n",
+ " 0.874000 | \n",
+ " 0.267442 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130774 | \n",
+ " 0.333521 | \n",
+ " 0.877000 | \n",
+ " 0.405797 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124782 | \n",
+ " 0.331243 | \n",
+ " 0.877000 | \n",
+ " 0.335135 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117809 | \n",
+ " 0.311656 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113471 | \n",
+ " 0.319635 | \n",
+ " 0.864000 | \n",
+ " 0.190476 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.26744186878204346.\n",
+ "Better model found at epoch 1 with f_beta value: 0.4057970941066742.\n",
+ "Run tensor(0.4058)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141479 | \n",
+ " 0.393753 | \n",
+ " 0.873000 | \n",
+ " 0.361809 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127320 | \n",
+ " 0.321930 | \n",
+ " 0.869000 | \n",
+ " 0.259887 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125341 | \n",
+ " 0.321816 | \n",
+ " 0.872000 | \n",
+ " 0.264368 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.119397 | \n",
+ " 0.315044 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113062 | \n",
+ " 0.316319 | \n",
+ " 0.867000 | \n",
+ " 0.213018 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.36180904507637024.\n",
+ "Run tensor(0.3618)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.149109 | \n",
+ " 0.370715 | \n",
+ " 0.875000 | \n",
+ " 0.407583 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133473 | \n",
+ " 0.337453 | \n",
+ " 0.869000 | \n",
+ " 0.224852 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123758 | \n",
+ " 0.355462 | \n",
+ " 0.863000 | \n",
+ " 0.149068 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114998 | \n",
+ " 0.328872 | \n",
+ " 0.862000 | \n",
+ " 0.137500 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107837 | \n",
+ " 0.317634 | \n",
+ " 0.859000 | \n",
+ " 0.124224 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40758296847343445.\n",
+ "Run tensor(0.4076)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143971 | \n",
+ " 0.359319 | \n",
+ " 0.869000 | \n",
+ " 0.427948 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135554 | \n",
+ " 0.345265 | \n",
+ " 0.866000 | \n",
+ " 0.202381 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124189 | \n",
+ " 0.313891 | \n",
+ " 0.875000 | \n",
+ " 0.345550 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118250 | \n",
+ " 0.314512 | \n",
+ " 0.869000 | \n",
+ " 0.251429 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.113347 | \n",
+ " 0.314109 | \n",
+ " 0.867000 | \n",
+ " 0.203593 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4279475808143616.\n",
+ "Run tensor(0.4279)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143596 | \n",
+ " 0.338667 | \n",
+ " 0.869000 | \n",
+ " 0.396313 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130399 | \n",
+ " 0.316502 | \n",
+ " 0.868000 | \n",
+ " 0.195122 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123516 | \n",
+ " 0.314541 | \n",
+ " 0.868000 | \n",
+ " 0.258427 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112263 | \n",
+ " 0.324191 | \n",
+ " 0.864000 | \n",
+ " 0.160494 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110949 | \n",
+ " 0.314237 | \n",
+ " 0.866000 | \n",
+ " 0.182927 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3963133990764618.\n",
+ "Run tensor(0.3963)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140855 | \n",
+ " 0.359731 | \n",
+ " 0.870000 | \n",
+ " 0.409091 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.140598 | \n",
+ " 0.335962 | \n",
+ " 0.878000 | \n",
+ " 0.371134 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.119220 | \n",
+ " 0.399940 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.121778 | \n",
+ " 0.310046 | \n",
+ " 0.865000 | \n",
+ " 0.201183 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110455 | \n",
+ " 0.316603 | \n",
+ " 0.861000 | \n",
+ " 0.167665 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40909087657928467.\n",
+ "Run tensor(0.4091)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.139588 | \n",
+ " 0.339224 | \n",
+ " 0.874000 | \n",
+ " 0.479339 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.138891 | \n",
+ " 0.316460 | \n",
+ " 0.869000 | \n",
+ " 0.242775 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124864 | \n",
+ " 0.354898 | \n",
+ " 0.866000 | \n",
+ " 0.182927 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114864 | \n",
+ " 0.309641 | \n",
+ " 0.865000 | \n",
+ " 0.201183 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109161 | \n",
+ " 0.313362 | \n",
+ " 0.865000 | \n",
+ " 0.201183 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4793388545513153.\n",
+ "Run tensor(0.4793)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146131 | \n",
+ " 0.340017 | \n",
+ " 0.868000 | \n",
+ " 0.421053 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.140370 | \n",
+ " 0.350228 | \n",
+ " 0.877000 | \n",
+ " 0.381910 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126897 | \n",
+ " 0.313438 | \n",
+ " 0.864000 | \n",
+ " 0.190476 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112393 | \n",
+ " 0.329281 | \n",
+ " 0.859000 | \n",
+ " 0.066225 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105819 | \n",
+ " 0.319255 | \n",
+ " 0.859000 | \n",
+ " 0.134969 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42105263471603394.\n",
+ "Run tensor(0.4211)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.136399 | \n",
+ " 0.342276 | \n",
+ " 0.869000 | \n",
+ " 0.401826 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.126776 | \n",
+ " 0.337948 | \n",
+ " 0.874000 | \n",
+ " 0.322581 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.130946 | \n",
+ " 0.326328 | \n",
+ " 0.875000 | \n",
+ " 0.316940 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117497 | \n",
+ " 0.313295 | \n",
+ " 0.872000 | \n",
+ " 0.280899 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108857 | \n",
+ " 0.316690 | \n",
+ " 0.871000 | \n",
+ " 0.262857 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4018264710903168.\n",
+ "Run tensor(0.4018)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.147974 | \n",
+ " 0.376288 | \n",
+ " 0.875000 | \n",
+ " 0.378109 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.138500 | \n",
+ " 0.319685 | \n",
+ " 0.876000 | \n",
+ " 0.354167 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125394 | \n",
+ " 0.317933 | \n",
+ " 0.864000 | \n",
+ " 0.209302 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113153 | \n",
+ " 0.306215 | \n",
+ " 0.869000 | \n",
+ " 0.206061 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.104252 | \n",
+ " 0.315245 | \n",
+ " 0.867000 | \n",
+ " 0.152866 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3781094551086426.\n",
+ "Run tensor(0.3781)\n",
+ "lr=0.020800000000000003,wd=0.0001 [0.47933885, 0.40888682, 0.029761719]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142269 | \n",
+ " 0.382956 | \n",
+ " 0.873000 | \n",
+ " 0.414747 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.128640 | \n",
+ " 0.324771 | \n",
+ " 0.880000 | \n",
+ " 0.411765 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.128466 | \n",
+ " 0.313642 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116603 | \n",
+ " 0.317544 | \n",
+ " 0.873000 | \n",
+ " 0.274286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109949 | \n",
+ " 0.316493 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.41474655270576477.\n",
+ "Run tensor(0.4147)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145340 | \n",
+ " 0.344491 | \n",
+ " 0.875000 | \n",
+ " 0.413146 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.139650 | \n",
+ " 0.351148 | \n",
+ " 0.868000 | \n",
+ " 0.232558 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120598 | \n",
+ " 0.331910 | \n",
+ " 0.874000 | \n",
+ " 0.322581 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118802 | \n",
+ " 0.316012 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.116348 | \n",
+ " 0.316266 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4131455421447754.\n",
+ "Run tensor(0.4131)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141440 | \n",
+ " 0.357386 | \n",
+ " 0.875000 | \n",
+ " 0.365482 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130604 | \n",
+ " 0.325612 | \n",
+ " 0.863000 | \n",
+ " 0.179641 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124324 | \n",
+ " 0.323380 | \n",
+ " 0.872000 | \n",
+ " 0.296703 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114022 | \n",
+ " 0.330729 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108035 | \n",
+ " 0.317056 | \n",
+ " 0.862000 | \n",
+ " 0.126582 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.36548227071762085.\n",
+ "Run tensor(0.3655)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142953 | \n",
+ " 0.359430 | \n",
+ " 0.872000 | \n",
+ " 0.346939 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134706 | \n",
+ " 0.331724 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.122054 | \n",
+ " 0.322961 | \n",
+ " 0.871000 | \n",
+ " 0.262857 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.111746 | \n",
+ " 0.333641 | \n",
+ " 0.866000 | \n",
+ " 0.192771 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110565 | \n",
+ " 0.316220 | \n",
+ " 0.871000 | \n",
+ " 0.254335 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.34693875908851624.\n",
+ "Run tensor(0.3469)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145348 | \n",
+ " 0.356411 | \n",
+ " 0.871000 | \n",
+ " 0.431718 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132415 | \n",
+ " 0.369625 | \n",
+ " 0.867000 | \n",
+ " 0.213018 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123848 | \n",
+ " 0.327421 | \n",
+ " 0.876000 | \n",
+ " 0.326087 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114010 | \n",
+ " 0.318701 | \n",
+ " 0.869000 | \n",
+ " 0.284153 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.105956 | \n",
+ " 0.313956 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.43171805143356323.\n",
+ "Run tensor(0.4317)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141822 | \n",
+ " 0.389995 | \n",
+ " 0.873000 | \n",
+ " 0.320856 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130773 | \n",
+ " 0.339926 | \n",
+ " 0.862000 | \n",
+ " 0.389381 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125993 | \n",
+ " 0.331503 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112530 | \n",
+ " 0.307142 | \n",
+ " 0.864000 | \n",
+ " 0.180723 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106373 | \n",
+ " 0.312807 | \n",
+ " 0.865000 | \n",
+ " 0.181818 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.32085564732551575.\n",
+ "Better model found at epoch 1 with f_beta value: 0.389380544424057.\n",
+ "Run tensor(0.3894)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142086 | \n",
+ " 0.338700 | \n",
+ " 0.875000 | \n",
+ " 0.401914 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133715 | \n",
+ " 0.328482 | \n",
+ " 0.867000 | \n",
+ " 0.248588 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125603 | \n",
+ " 0.327541 | \n",
+ " 0.869000 | \n",
+ " 0.276243 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117249 | \n",
+ " 0.312384 | \n",
+ " 0.868000 | \n",
+ " 0.250000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108723 | \n",
+ " 0.317352 | \n",
+ " 0.864000 | \n",
+ " 0.139241 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4019138514995575.\n",
+ "Run tensor(0.4019)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142249 | \n",
+ " 0.360323 | \n",
+ " 0.874000 | \n",
+ " 0.411215 | \n",
+ " 00:06 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.126369 | \n",
+ " 0.355331 | \n",
+ " 0.877000 | \n",
+ " 0.342246 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125284 | \n",
+ " 0.315886 | \n",
+ " 0.860000 | \n",
+ " 0.146341 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117220 | \n",
+ " 0.311902 | \n",
+ " 0.863000 | \n",
+ " 0.159509 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106980 | \n",
+ " 0.316964 | \n",
+ " 0.864000 | \n",
+ " 0.170732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4112149477005005.\n",
+ "Run tensor(0.4112)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140868 | \n",
+ " 0.415154 | \n",
+ " 0.873000 | \n",
+ " 0.403756 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.137880 | \n",
+ " 0.331841 | \n",
+ " 0.868000 | \n",
+ " 0.305263 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.118684 | \n",
+ " 0.329688 | \n",
+ " 0.869000 | \n",
+ " 0.224852 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117925 | \n",
+ " 0.311177 | \n",
+ " 0.868000 | \n",
+ " 0.232558 | \n",
+ " 00:06 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107793 | \n",
+ " 0.319563 | \n",
+ " 0.863000 | \n",
+ " 0.159509 | \n",
+ " 00:06 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4037558436393738.\n",
+ "Run tensor(0.4038)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.139658 | \n",
+ " 0.346791 | \n",
+ " 0.870000 | \n",
+ " 0.434783 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134931 | \n",
+ " 0.345220 | \n",
+ " 0.875000 | \n",
+ " 0.401914 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.128788 | \n",
+ " 0.327279 | \n",
+ " 0.864000 | \n",
+ " 0.150000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113709 | \n",
+ " 0.313985 | \n",
+ " 0.861000 | \n",
+ " 0.147239 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110512 | \n",
+ " 0.312331 | \n",
+ " 0.859000 | \n",
+ " 0.101911 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.43478259444236755.\n",
+ "Run tensor(0.4348)\n",
+ "lr=0.020800000000000003,wd=0.01009 [0.4347826, 0.4013079, 0.026176916]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140704 | \n",
+ " 0.387468 | \n",
+ " 0.874000 | \n",
+ " 0.357143 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.148729 | \n",
+ " 0.336618 | \n",
+ " 0.872000 | \n",
+ " 0.401869 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125312 | \n",
+ " 0.315331 | \n",
+ " 0.869000 | \n",
+ " 0.259887 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118788 | \n",
+ " 0.310519 | \n",
+ " 0.870000 | \n",
+ " 0.244186 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109230 | \n",
+ " 0.321492 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.357142835855484.\n",
+ "Better model found at epoch 1 with f_beta value: 0.40186917781829834.\n",
+ "Run tensor(0.4019)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145942 | \n",
+ " 0.355546 | \n",
+ " 0.873000 | \n",
+ " 0.403756 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.137347 | \n",
+ " 0.324600 | \n",
+ " 0.874000 | \n",
+ " 0.300000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126119 | \n",
+ " 0.316808 | \n",
+ " 0.879000 | \n",
+ " 0.338798 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115337 | \n",
+ " 0.328418 | \n",
+ " 0.872000 | \n",
+ " 0.228916 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110377 | \n",
+ " 0.318099 | \n",
+ " 0.871000 | \n",
+ " 0.227545 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4037558436393738.\n",
+ "Run tensor(0.4038)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145727 | \n",
+ " 0.362921 | \n",
+ " 0.875000 | \n",
+ " 0.384236 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129094 | \n",
+ " 0.330946 | \n",
+ " 0.876000 | \n",
+ " 0.333333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.128080 | \n",
+ " 0.345629 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114381 | \n",
+ " 0.318463 | \n",
+ " 0.878000 | \n",
+ " 0.401961 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108470 | \n",
+ " 0.316186 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3842364251613617.\n",
+ "Better model found at epoch 3 with f_beta value: 0.4019608199596405.\n",
+ "Run tensor(0.4020)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.137460 | \n",
+ " 0.338222 | \n",
+ " 0.876000 | \n",
+ " 0.373737 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134063 | \n",
+ " 0.335074 | \n",
+ " 0.876000 | \n",
+ " 0.326087 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127374 | \n",
+ " 0.320801 | \n",
+ " 0.876000 | \n",
+ " 0.333333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115234 | \n",
+ " 0.335732 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107756 | \n",
+ " 0.309152 | \n",
+ " 0.865000 | \n",
+ " 0.201183 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3737373948097229.\n",
+ "Run tensor(0.3737)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143412 | \n",
+ " 0.348359 | \n",
+ " 0.876000 | \n",
+ " 0.392157 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130332 | \n",
+ " 0.320529 | \n",
+ " 0.866000 | \n",
+ " 0.202381 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.120212 | \n",
+ " 0.330477 | \n",
+ " 0.859000 | \n",
+ " 0.113208 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116091 | \n",
+ " 0.312074 | \n",
+ " 0.864000 | \n",
+ " 0.128205 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108782 | \n",
+ " 0.322466 | \n",
+ " 0.864000 | \n",
+ " 0.105263 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3921568691730499.\n",
+ "Run tensor(0.3922)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146144 | \n",
+ " 0.333048 | \n",
+ " 0.871000 | \n",
+ " 0.421525 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133685 | \n",
+ " 0.357318 | \n",
+ " 0.871000 | \n",
+ " 0.236686 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.119713 | \n",
+ " 0.338385 | \n",
+ " 0.864000 | \n",
+ " 0.150000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113609 | \n",
+ " 0.323909 | \n",
+ " 0.868000 | \n",
+ " 0.175000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109795 | \n",
+ " 0.317273 | \n",
+ " 0.866000 | \n",
+ " 0.182927 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42152467370033264.\n",
+ "Run tensor(0.4215)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143314 | \n",
+ " 0.409198 | \n",
+ " 0.870000 | \n",
+ " 0.322917 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.139132 | \n",
+ " 0.355315 | \n",
+ " 0.865000 | \n",
+ " 0.105960 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127618 | \n",
+ " 0.331387 | \n",
+ " 0.865000 | \n",
+ " 0.191617 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.110965 | \n",
+ " 0.322973 | \n",
+ " 0.865000 | \n",
+ " 0.181818 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108295 | \n",
+ " 0.318736 | \n",
+ " 0.868000 | \n",
+ " 0.195122 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3229166865348816.\n",
+ "Run tensor(0.3229)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142699 | \n",
+ " 0.329844 | \n",
+ " 0.871000 | \n",
+ " 0.421525 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133887 | \n",
+ " 0.326038 | \n",
+ " 0.881000 | \n",
+ " 0.407960 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121173 | \n",
+ " 0.348318 | \n",
+ " 0.876000 | \n",
+ " 0.333333 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.111772 | \n",
+ " 0.318269 | \n",
+ " 0.874000 | \n",
+ " 0.315217 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106387 | \n",
+ " 0.313546 | \n",
+ " 0.870000 | \n",
+ " 0.261364 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42152467370033264.\n",
+ "Run tensor(0.4215)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.156244 | \n",
+ " 0.342388 | \n",
+ " 0.869000 | \n",
+ " 0.407240 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.126338 | \n",
+ " 0.338170 | \n",
+ " 0.876000 | \n",
+ " 0.398058 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124025 | \n",
+ " 0.326907 | \n",
+ " 0.865000 | \n",
+ " 0.191617 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.120615 | \n",
+ " 0.303982 | \n",
+ " 0.872000 | \n",
+ " 0.280899 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.102988 | \n",
+ " 0.316863 | \n",
+ " 0.867000 | \n",
+ " 0.203593 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40723979473114014.\n",
+ "Run tensor(0.4072)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.147362 | \n",
+ " 0.344215 | \n",
+ " 0.875000 | \n",
+ " 0.413146 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134487 | \n",
+ " 0.321075 | \n",
+ " 0.872000 | \n",
+ " 0.372549 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124813 | \n",
+ " 0.336430 | \n",
+ " 0.867000 | \n",
+ " 0.231214 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.122024 | \n",
+ " 0.312393 | \n",
+ " 0.871000 | \n",
+ " 0.279330 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108244 | \n",
+ " 0.312773 | \n",
+ " 0.863000 | \n",
+ " 0.189349 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4131455421447754.\n",
+ "Run tensor(0.4131)\n",
+ "lr=0.020800000000000003,wd=0.02008 [0.42152467, 0.39598313, 0.027757907]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140009 | \n",
+ " 0.340416 | \n",
+ " 0.878000 | \n",
+ " 0.419048 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.131306 | \n",
+ " 0.332814 | \n",
+ " 0.871000 | \n",
+ " 0.358209 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125801 | \n",
+ " 0.322903 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.113261 | \n",
+ " 0.344930 | \n",
+ " 0.867000 | \n",
+ " 0.222222 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107127 | \n",
+ " 0.320748 | \n",
+ " 0.862000 | \n",
+ " 0.158537 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.41904759407043457.\n",
+ "Run tensor(0.4190)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.149873 | \n",
+ " 0.375626 | \n",
+ " 0.871000 | \n",
+ " 0.351759 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.134482 | \n",
+ " 0.339305 | \n",
+ " 0.870000 | \n",
+ " 0.252874 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125115 | \n",
+ " 0.321570 | \n",
+ " 0.875000 | \n",
+ " 0.316940 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118165 | \n",
+ " 0.338930 | \n",
+ " 0.865000 | \n",
+ " 0.171779 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106771 | \n",
+ " 0.314689 | \n",
+ " 0.868000 | \n",
+ " 0.214286 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.35175880789756775.\n",
+ "Run tensor(0.3518)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.137700 | \n",
+ " 0.347082 | \n",
+ " 0.869000 | \n",
+ " 0.401826 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136621 | \n",
+ " 0.375938 | \n",
+ " 0.864000 | \n",
+ " 0.180723 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123419 | \n",
+ " 0.323163 | \n",
+ " 0.877000 | \n",
+ " 0.356021 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.116144 | \n",
+ " 0.310118 | \n",
+ " 0.873000 | \n",
+ " 0.239521 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108109 | \n",
+ " 0.310616 | \n",
+ " 0.870000 | \n",
+ " 0.235294 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4018264710903168.\n",
+ "Run tensor(0.4018)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140624 | \n",
+ " 0.409356 | \n",
+ " 0.876000 | \n",
+ " 0.373737 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.128628 | \n",
+ " 0.320481 | \n",
+ " 0.869000 | \n",
+ " 0.259887 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123306 | \n",
+ " 0.316411 | \n",
+ " 0.862000 | \n",
+ " 0.148148 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.112145 | \n",
+ " 0.323005 | \n",
+ " 0.868000 | \n",
+ " 0.223529 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106496 | \n",
+ " 0.314129 | \n",
+ " 0.865000 | \n",
+ " 0.191617 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3737373948097229.\n",
+ "Run tensor(0.3737)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.142592 | \n",
+ " 0.352630 | \n",
+ " 0.875000 | \n",
+ " 0.345550 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.136335 | \n",
+ " 0.320821 | \n",
+ " 0.874000 | \n",
+ " 0.284091 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125018 | \n",
+ " 0.315500 | \n",
+ " 0.869000 | \n",
+ " 0.276243 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.117838 | \n",
+ " 0.305515 | \n",
+ " 0.872000 | \n",
+ " 0.296703 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.103719 | \n",
+ " 0.317878 | \n",
+ " 0.862000 | \n",
+ " 0.168675 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.34554973244667053.\n",
+ "Run tensor(0.3455)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.146448 | \n",
+ " 0.354408 | \n",
+ " 0.873000 | \n",
+ " 0.420091 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.143317 | \n",
+ " 0.349028 | \n",
+ " 0.878000 | \n",
+ " 0.383838 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.118788 | \n",
+ " 0.333142 | \n",
+ " 0.868000 | \n",
+ " 0.250000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114196 | \n",
+ " 0.310026 | \n",
+ " 0.861000 | \n",
+ " 0.136646 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107983 | \n",
+ " 0.318436 | \n",
+ " 0.864000 | \n",
+ " 0.128205 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.42009133100509644.\n",
+ "Run tensor(0.4201)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.140969 | \n",
+ " 0.350608 | \n",
+ " 0.872000 | \n",
+ " 0.401869 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.127289 | \n",
+ " 0.330086 | \n",
+ " 0.874000 | \n",
+ " 0.370000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.125202 | \n",
+ " 0.318988 | \n",
+ " 0.860000 | \n",
+ " 0.135802 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115071 | \n",
+ " 0.312977 | \n",
+ " 0.864000 | \n",
+ " 0.150000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.108234 | \n",
+ " 0.319387 | \n",
+ " 0.863000 | \n",
+ " 0.138365 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40186917781829834.\n",
+ "Run tensor(0.4019)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.152800 | \n",
+ " 0.334658 | \n",
+ " 0.872000 | \n",
+ " 0.401869 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.140571 | \n",
+ " 0.344219 | \n",
+ " 0.873000 | \n",
+ " 0.282486 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.129501 | \n",
+ " 0.324402 | \n",
+ " 0.867000 | \n",
+ " 0.213018 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.109472 | \n",
+ " 0.321540 | \n",
+ " 0.866000 | \n",
+ " 0.202381 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107984 | \n",
+ " 0.314195 | \n",
+ " 0.865000 | \n",
+ " 0.191617 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40186917781829834.\n",
+ "Run tensor(0.4019)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:35 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.139674 | \n",
+ " 0.348106 | \n",
+ " 0.879000 | \n",
+ " 0.426540 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132456 | \n",
+ " 0.360901 | \n",
+ " 0.873000 | \n",
+ " 0.290503 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124783 | \n",
+ " 0.325948 | \n",
+ " 0.877000 | \n",
+ " 0.349206 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.110044 | \n",
+ " 0.346319 | \n",
+ " 0.864000 | \n",
+ " 0.200000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.110039 | \n",
+ " 0.322173 | \n",
+ " 0.863000 | \n",
+ " 0.179641 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4265402555465698.\n",
+ "Run tensor(0.4265)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.144642 | \n",
+ " 0.320013 | \n",
+ " 0.872000 | \n",
+ " 0.366337 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.126878 | \n",
+ " 0.326197 | \n",
+ " 0.876000 | \n",
+ " 0.367347 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124135 | \n",
+ " 0.312630 | \n",
+ " 0.877000 | \n",
+ " 0.312849 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.120528 | \n",
+ " 0.323153 | \n",
+ " 0.865000 | \n",
+ " 0.140127 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.103337 | \n",
+ " 0.311347 | \n",
+ " 0.866000 | \n",
+ " 0.182927 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3663366138935089.\n",
+ "Better model found at epoch 1 with f_beta value: 0.36734694242477417.\n",
+ "Run tensor(0.3673)\n",
+ "lr=0.020800000000000003,wd=0.03007 [0.42654026, 0.39096373, 0.027771609]\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145066 | \n",
+ " 0.346395 | \n",
+ " 0.877000 | \n",
+ " 0.417062 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.128651 | \n",
+ " 0.356259 | \n",
+ " 0.864000 | \n",
+ " 0.170732 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124008 | \n",
+ " 0.324948 | \n",
+ " 0.872000 | \n",
+ " 0.288889 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114917 | \n",
+ " 0.312747 | \n",
+ " 0.873000 | \n",
+ " 0.306011 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.106432 | \n",
+ " 0.314889 | \n",
+ " 0.867000 | \n",
+ " 0.240000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.41706159710884094.\n",
+ "Run tensor(0.4171)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.143480 | \n",
+ " 0.333276 | \n",
+ " 0.864000 | \n",
+ " 0.428571 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.133835 | \n",
+ " 0.358963 | \n",
+ " 0.878000 | \n",
+ " 0.336957 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.121322 | \n",
+ " 0.324157 | \n",
+ " 0.878000 | \n",
+ " 0.351064 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.114085 | \n",
+ " 0.311289 | \n",
+ " 0.876000 | \n",
+ " 0.318681 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107505 | \n",
+ " 0.315884 | \n",
+ " 0.866000 | \n",
+ " 0.192771 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4285714328289032.\n",
+ "Run tensor(0.4286)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.147015 | \n",
+ " 0.331531 | \n",
+ " 0.872000 | \n",
+ " 0.401869 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.135714 | \n",
+ " 0.330797 | \n",
+ " 0.877000 | \n",
+ " 0.362694 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.126837 | \n",
+ " 0.310844 | \n",
+ " 0.860000 | \n",
+ " 0.135802 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.110585 | \n",
+ " 0.326358 | \n",
+ " 0.860000 | \n",
+ " 0.156627 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107118 | \n",
+ " 0.320054 | \n",
+ " 0.861000 | \n",
+ " 0.136646 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.40186917781829834.\n",
+ "Run tensor(0.4019)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.139498 | \n",
+ " 0.367643 | \n",
+ " 0.867000 | \n",
+ " 0.448133 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.132625 | \n",
+ " 0.324401 | \n",
+ " 0.869000 | \n",
+ " 0.242775 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.127332 | \n",
+ " 0.361941 | \n",
+ " 0.865000 | \n",
+ " 0.171779 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.118909 | \n",
+ " 0.308253 | \n",
+ " 0.869000 | \n",
+ " 0.242775 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.109191 | \n",
+ " 0.312887 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4481327533721924.\n",
+ "Run tensor(0.4481)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.141879 | \n",
+ " 0.339972 | \n",
+ " 0.868000 | \n",
+ " 0.440678 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.129919 | \n",
+ " 0.328550 | \n",
+ " 0.874000 | \n",
+ " 0.300000 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.124867 | \n",
+ " 0.346759 | \n",
+ " 0.862000 | \n",
+ " 0.126582 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115747 | \n",
+ " 0.318034 | \n",
+ " 0.860000 | \n",
+ " 0.146341 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.111958 | \n",
+ " 0.312857 | \n",
+ " 0.862000 | \n",
+ " 0.148148 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.4406780004501343.\n",
+ "Run tensor(0.4407)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:37 \n",
+ " \n",
+ " \n",
+ " | epoch | \n",
+ " train_loss | \n",
+ " valid_loss | \n",
+ " accuracy | \n",
+ " f_beta | \n",
+ " time | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " | 0 | \n",
+ " 0.145545 | \n",
+ " 0.402241 | \n",
+ " 0.873000 | \n",
+ " 0.386473 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 1 | \n",
+ " 0.130585 | \n",
+ " 0.343236 | \n",
+ " 0.878000 | \n",
+ " 0.357895 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 2 | \n",
+ " 0.123807 | \n",
+ " 0.324513 | \n",
+ " 0.862000 | \n",
+ " 0.178571 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 3 | \n",
+ " 0.115133 | \n",
+ " 0.311609 | \n",
+ " 0.877000 | \n",
+ " 0.335135 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ " | 4 | \n",
+ " 0.107717 | \n",
+ " 0.319172 | \n",
+ " 0.869000 | \n",
+ " 0.233918 | \n",
+ " 00:07 | \n",
+ "
\n",
+ " \n",
+ "
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Better model found at epoch 0 with f_beta value: 0.3864734172821045.\n",
+ "Run tensor(0.3865)\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "Total time: 00:36 \n",
+ " \n",
+ " \n",
+ "