From 9409eeea86b7d139c7bd08c9cd2f2cefdb2b2881 Mon Sep 17 00:00:00 2001 From: Goekdeniz-Guelmez Date: Fri, 4 Oct 2024 23:45:47 +0200 Subject: [PATCH] clean up the notebook --- example-fineweb.ipynb | 68 +++++-------------------------------------- 1 file changed, 8 insertions(+), 60 deletions(-) diff --git a/example-fineweb.ipynb b/example-fineweb.ipynb index 97beb72..b3834cb 100644 --- a/example-fineweb.ipynb +++ b/example-fineweb.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 3, "id": "5a1b6d40-c917-4f30-adf3-c79a50cbc1be", "metadata": {}, "outputs": [], @@ -14,7 +14,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "id": "4552c1ab-b20f-48fc-aa4d-3bf1576261ec", "metadata": {}, "outputs": [], @@ -30,7 +30,7 @@ "\n", "from trainer.SFTTrainer import train\n", "from model.args import MOEModelArgs\n", - "from model.KANamav5 import KANamav5\n", + "from model.KANaMoEv1 import KANaMoEv1\n", "\n", "from utils import load_model, quick_inference\n", "\n", @@ -39,7 +39,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 6, "id": "77e0b467-149e-4247-bcf6-792ee89fba9f", "metadata": {}, "outputs": [], @@ -65,18 +65,10 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "2a900a88-b089-4089-beaa-474641957678", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "[LOADING TOKENIZER]\n" - ] - } - ], + "outputs": [], "source": [ "tokenizer = AutoTokenizer.from_pretrained(\"Qwen/Qwen2.5-7B\")\n", "print(\"[TOKENIZER LOADED]\")\n", @@ -103,51 +95,7 @@ "execution_count": null, "id": "8d4fab82-866a-426e-91dc-5d424e5dc491", "metadata": {}, - "outputs": [ - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "e09ca08e820741309f9c0792a4a7c96b", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Resolving data files: 0%| | 0/23781 [00:00