{ "version": "1", "metadata": { "marimo_version": "0.13.7" }, "cells": [ { "id": "Hbol", "code_hash": "3d7b6d3217b5d847d8775a662beb4743", "outputs": [ { "type": "data", "data": { "text/plain": "" } } ], "console": [] }, { "id": "MvVh", "code_hash": "b84dd3721ef258f1024d9b43eb16917f", "outputs": [ { "type": "data", "data": { "text/plain": "" } } ], "console": [] }, { "id": "BOHa", "code_hash": "624ac119ab5135b8ce8cffa955ed89d6", "outputs": [ { "type": "data", "data": { "text/plain": "" } } ], "console": [] }, { "id": "LtOp", "code_hash": "eb95d62405643f993c52e224ae01bfa0", "outputs": [ { "type": "data", "data": { "text/plain": "" } } ], "console": [ { "type": "stream", "name": "stdout", "text": "\n--- Getting Embeddings (nomic-embed-text) ---\nProcessing sentence 1/15: 'I had an absolutely wonderful time on va...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 2/15: 'This is the best pizza I've ever tasted,...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 3/15: 'The new software update significantly im...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 4/15: 'She was overjoyed to receive the award....'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 5/15: 'What a beautiful, sunny day for a picnic...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 6/15: 'The airline lost my luggage, ruining the...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 7/15: 'I found the meal to be bland and overpri...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 8/15: 'Debugging this legacy code is incredibly...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 9/15: 'He felt heartbroken and betrayed after t...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 10/15: 'The constant rain made the whole weekend...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 11/15: 'The train is scheduled to depart at 3:00...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 12/15: 'The ingredients listed include flour, wa...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 13/15: 'The system requires 8GB of RAM to operat...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 14/15: 'Please file the report by the end of the...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "Processing sentence 15/15: 'The weather report indicates a chance of...'\n Sending request to http://localhost:11434/api/embeddings for model nomic-embed-text...\n" }, { "type": "stream", "name": "stdout", "text": "\nSuccessfully got 15 embeddings with dimension 768.\n" } ] }, { "id": "uUTw", "code_hash": "5848aff2f67e66c3b2e1fcf4dcff74f1", "outputs": [ { "type": "data", "data": { "text/plain": "" } } ], "console": [ { "type": "stream", "name": "stdout", "text": "\n--- Reducing Dimensionality (UMAP) ---\n Using UMAP with n_neighbors=14\n" }, { "type": "stream", "name": "stderr", "text": "/home/aziis98/Develop/Ai/embedding-lab/.venv/lib/python3.13/site-packages/sklearn/utils/deprecation.py:151: FutureWarning: 'force_all_finite' was renamed to 'ensure_all_finite' in 1.6 and will be removed in 1.8.\n warnings.warn(\n/home/aziis98/Develop/Ai/embedding-lab/.venv/lib/python3.13/site-packages/umap/umap_.py:1952: UserWarning: n_jobs value 1 overridden to 1 by setting random_state. Use no seed for parallelism.\n warn(\n" }, { "type": "stream", "name": "stdout", "text": "Dimensionality reduction complete.\n" } ] }, { "id": "SZnD", "code_hash": "f77df43cd7ccb028c2dad576be0941e2", "outputs": [ { "type": "data", "data": { "text/plain": "" } } ], "console": [ { "type": "stream", "name": "stdout", "text": "\n--- Performing LLM Analysis (gemma3:1b) ---\nAnalyzing sentence 1/15: 'I had an absolutely wonderful time on va...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 4\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Travel (LLM Output: 'Travel')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 2/15: 'This is the best pizza I've ever tasted,...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 4\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Food (LLM Output: 'Food')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 3/15: 'The new software update significantly im...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 4\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Tech (LLM Output: 'Tech')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 4/15: 'She was overjoyed to receive the award....'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 4\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Emotion (LLM Output: 'Emotion')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 5/15: 'What a beautiful, sunny day for a picnic...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 4\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Weather (LLM Output: 'Weather')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 6/15: 'The airline lost my luggage, ruining the...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 2\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Travel (LLM Output: 'Travel')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 7/15: 'I found the meal to be bland and overpri...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 2\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Food (LLM Output: 'Food')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 8/15: 'Debugging this legacy code is incredibly...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 2\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Tech (LLM Output: 'Tech')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 9/15: 'He felt heartbroken and betrayed after t...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 3\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Emotion (LLM Output: 'Emotion')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 10/15: 'The constant rain made the whole weekend...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 3\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Weather (LLM Output: 'Weather')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 11/15: 'The train is scheduled to depart at 3:00...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 3\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Weather (LLM Output: 'Weather')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 12/15: 'The ingredients listed include flour, wa...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 3\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Food (LLM Output: 'Food')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 13/15: 'The system requires 8GB of RAM to operat...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 3\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Tech (LLM Output: 'Tech')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 14/15: 'Please file the report by the end of the...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 3\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Work (LLM Output: 'Work')\n" }, { "type": "stream", "name": "stdout", "text": "Analyzing sentence 15/15: 'The weather report indicates a chance of...'\n Analyzing sentiment...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Sentiment score: 3\n" }, { "type": "stream", "name": "stdout", "text": " Analyzing topic...\n Sending request to http://localhost:11434/api/generate for model gemma3:1b...\n" }, { "type": "stream", "name": "stdout", "text": " Topic detected: Weather (LLM Output: 'Weather')\n" } ] }, { "id": "bOCx", "code_hash": "49f5730823dcd550765149958f4bd5f2", "outputs": [ { "type": "error", "ename": "multiple-defs", "evalue": "The variable 'df' was defined by another cell", "traceback": [] } ], "console": [] }, { "id": "uTak", "code_hash": "49f5730823dcd550765149958f4bd5f2", "outputs": [ { "type": "data", "data": { "text/plain": "" } } ], "console": [ { "type": "stream", "name": "stdout", "text": "\n--- Preparing Data for Plotting ---\nAnalysis and data preparation complete.\n" } ] }, { "id": "rmfd", "code_hash": "2c08f4f067de57ef32bafed8a452b739", "outputs": [ { "type": "data", "data": { "text/plain": "" } } ], "console": [ { "type": "stream", "name": "stdout", "text": "" } ] } ] }