You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
535 lines
35 KiB
JSON
535 lines
35 KiB
JSON
{
|
|
"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": "<marimo-plotly data-figure='{"data": [{"customdata": [["I had an absolutely wonderful time on vacation!", 4, "Travel", 1, 4], ["This is the best pizza I've ever tasted, truly amazing.", 4, "Food", 2, 4], ["The new software update significantly improved performance.", 4, "Tech", 3, 4], ["She was overjoyed to receive the award.", 4, "Emotion", 4, 4], ["What a beautiful, sunny day for a picnic!", 4, "Weather", 5, 4], ["The airline lost my luggage, ruining the start of my trip.", 2, "Travel", 6, 2], ["I found the meal to be bland and overpriced.", 2, "Food", 7, 2], ["Debugging this legacy code is incredibly frustrating.", 2, "Tech", 8, 2], ["He felt heartbroken and betrayed after the argument.", 3, "Emotion", 9, 3], ["The constant rain made the whole weekend gloomy.", 3, "Weather", 10, 3], ["The train is scheduled to depart at 3:00 PM.", 3, "Weather", 11, 3], ["The ingredients listed include flour, water, and salt.", 3, "Food", 12, 3], ["The system requires 8GB of RAM to operate.", 3, "Tech", 13, 3], ["Please file the report by the end of the day.", 3, "Work", 14, 3], ["The weather report indicates a chance of showers tomorrow.", 3, "Weather", 15, 3]], "hovertemplate": "<b>%{hovertext}</b><br><br>sentence=%{customdata[0]}<br>sentiment_score=%{customdata[1]}<br>topic=%{customdata[2]}<extra></extra>", "hovertext": {"dtype": "f8", "bdata": "AAAAAAAA8D8AAAAAAAAAQAAAAAAAAAhAAAAAAAAAEEAAAAAAAAAUQAAAAAAAABhAAAAAAAAAHEAAAAAAAAAgQAAAAAAAACJAAAAAAAAAJEAAAAAAAAAmQAAAAAAAAChAAAAAAAAAKkAAAAAAAAAsQAAAAAAAAC5A"}, "legendgroup": "", "marker": {"color": {"dtype": "i1", "bdata": "BAQEBAQCAgIDAwMDAwMD"}, "coloraxis": "coloraxis", "symbol": "circle", "line": {"color": "DarkSlateGrey", "width": 1}, "size": 8}, "mode": "markers+text", "name": "", "orientation": "v", "showlegend": false, "text": {"dtype": "f8", "bdata": "AAAAAAAA8D8AAAAAAAAAQAAAAAAAAAhAAAAAAAAAEEAAAAAAAAAUQAAAAAAAABhAAAAAAAAAHEAAAAAAAAAgQAAAAAAAACJAAAAAAAAAJEAAAAAAAAAmQAAAAAAAAChAAAAAAAAAKkAAAAAAAAAsQAAAAAAAAC5A"}, "x": {"dtype": "f4", "bdata": "xQMZPVMVJb+gb5U/oHGHvkK/RT/qtAA/GnWCvjOZ3T8k6KI+xmBuPzZz0D+yeVS73jeHP3WxCEDdGdA/"}, "xaxis": "x", "y": {"dtype": "f4", "bdata": "3erAQCRPykAueeVAcJiwQMz0rUBzc95A4HvlQHB78kDnfc1AJqfAQMzy1EDwzvdAxLD+QBscx0Bnl7ZA"}, "yaxis": "y", "type": "scatter", "textfont": {"size": 10}, "textposition": "top center"}], "layout": {"template": {"data": {"histogram2dcontour": [{"type": "histogram2dcontour", "colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}], "choropleth": [{"type": "choropleth", "colorbar": {"outlinewidth": 0, "ticks": ""}}], "histogram2d": [{"type": "histogram2d", "colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}], "heatmap": [{"type": "heatmap", "colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}], "contourcarpet": [{"type": "contourcarpet", "colorbar": {"outlinewidth": 0, "ticks": ""}}], "contour": [{"type": "contour", "colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}], "surface": [{"type": "surface", "colorbar": {"outlinewidth": 0, "ticks": ""}, "colorscale": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]]}], "mesh3d": [{"type": "mesh3d", "colorbar": {"outlinewidth": 0, "ticks": ""}}], "scatter": [{"fillpattern": {"fillmode": "overlay", "size": 10, "solidity": 0.2}, "type": "scatter"}], "parcoords": [{"type": "parcoords", "line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}}], "scatterpolargl": [{"type": "scatterpolargl", "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}}], "bar": [{"error_x": {"color": "#2a3f5f"}, "error_y": {"color": "#2a3f5f"}, "marker": {"line": {"color": "#E5ECF6", "width": 0.5}, "pattern": {"fillmode": "overlay", "size": 10, "solidity": 0.2}}, "type": "bar"}], "scattergeo": [{"type": "scattergeo", "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}}], "scatterpolar": [{"type": "scatterpolar", "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}}], "histogram": [{"marker": {"pattern": {"fillmode": "overlay", "size": 10, "solidity": 0.2}}, "type": "histogram"}], "scattergl": [{"type": "scattergl", "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}}], "scatter3d": [{"type": "scatter3d", "line": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}}], "scattermap": [{"type": "scattermap", "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}}], "scattermapbox": [{"type": "scattermapbox", "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}}], "scatterternary": [{"type": "scatterternary", "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}}], "scattercarpet": [{"type": "scattercarpet", "marker": {"colorbar": {"outlinewidth": 0, "ticks": ""}}}], "carpet": [{"aaxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "baxis": {"endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f"}, "type": "carpet"}], "table": [{"cells": {"fill": {"color": "#EBF0F8"}, "line": {"color": "white"}}, "header": {"fill": {"color": "#C8D4E3"}, "line": {"color": "white"}}, "type": "table"}], "barpolar": [{"marker": {"line": {"color": "#E5ECF6", "width": 0.5}, "pattern": {"fillmode": "overlay", "size": 10, "solidity": 0.2}}, "type": "barpolar"}], "pie": [{"automargin": true, "type": "pie"}]}, "layout": {"autotypenumbers": "strict", "colorway": ["#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52"], "font": {"color": "#2a3f5f"}, "hovermode": "closest", "hoverlabel": {"align": "left"}, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": {"bgcolor": "#E5ECF6", "angularaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "radialaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "ternary": {"bgcolor": "#E5ECF6", "aaxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "baxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}, "caxis": {"gridcolor": "white", "linecolor": "white", "ticks": ""}}, "coloraxis": {"colorbar": {"outlinewidth": 0, "ticks": ""}}, "colorscale": {"sequential": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "sequentialminus": [[0.0, "#0d0887"], [0.1111111111111111, "#46039f"], [0.2222222222222222, "#7201a8"], [0.3333333333333333, "#9c179e"], [0.4444444444444444, "#bd3786"], [0.5555555555555556, "#d8576b"], [0.6666666666666666, "#ed7953"], [0.7777777777777778, "#fb9f3a"], [0.8888888888888888, "#fdca26"], [1.0, "#f0f921"]], "diverging": [[0, "#8e0152"], [0.1, "#c51b7d"], [0.2, "#de77ae"], [0.3, "#f1b6da"], [0.4, "#fde0ef"], [0.5, "#f7f7f7"], [0.6, "#e6f5d0"], [0.7, "#b8e186"], [0.8, "#7fbc41"], [0.9, "#4d9221"], [1, "#276419"]]}, "xaxis": {"gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "automargin": true, "zerolinewidth": 2}, "yaxis": {"gridcolor": "white", "linecolor": "white", "ticks": "", "title": {"standoff": 15}, "zerolinecolor": "white", "automargin": true, "zerolinewidth": 2}, "scene": {"xaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white", "gridwidth": 2}, "yaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white", "gridwidth": 2}, "zaxis": {"backgroundcolor": "#E5ECF6", "gridcolor": "white", "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white", "gridwidth": 2}}, "shapedefaults": {"line": {"color": "#2a3f5f"}}, "annotationdefaults": {"arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1}, "geo": {"bgcolor": "white", "landcolor": "#E5ECF6", "subunitcolor": "white", "showland": true, "showlakes": true, "lakecolor": "white"}, "title": {"x": 0.05}, "mapbox": {"style": "light"}}}, "xaxis": {"anchor": "y", "domain": [0.0, 1.0], "title": {"text": "UMAP Component 1"}}, "yaxis": {"anchor": "x", "domain": [0.0, 1.0], "title": {"text": "UMAP Component 2"}}, "coloraxis": {"colorbar": {"title": {"text": "Sentiment Score"}, "tickvals": [1, 2, 3, 4, 5], "ticktext": ["1 (Neg)", "2", "3 (Neu)", "4", "5 (Pos)"]}, "colorscale": [[0.0, "rgb(165,0,38)"], [0.1, "rgb(215,48,39)"], [0.2, "rgb(244,109,67)"], [0.3, "rgb(253,174,97)"], [0.4, "rgb(254,224,139)"], [0.5, "rgb(255,255,191)"], [0.6, "rgb(217,239,139)"], [0.7, "rgb(166,217,106)"], [0.8, "rgb(102,189,99)"], [0.9, "rgb(26,152,80)"], [1.0, "rgb(0,104,55)"]], "cmid": 3, "cmin": 1, "cmax": 5}, "legend": {"tracegroupgap": 0}, "title": {"text": "Interactive 2D UMAP of Sentence Embeddings (nomic-embed-text)<br>Colored by Sentiment (1-5), Analyzed by gemma3:1b", "x": 0.5}, "hovermode": "closest", "dragmode": "zoom"}}' data-config='{}'></marimo-plotly>"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |