Dataset Viewer
Duplicate
Search is not available for this dataset
source
string
task
string
prompt
string
completion
string
synthetic-pil
pil_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nfrom PIL import Image, ImageDraw\nimg = Image.new(\"RGB\", (680, 320), \"#f0f0f0\")\nd = ImageDraw.Draw(img)\nfor i in range(5):\n lw = (i % 3) * 4 + 2\n d.rectangle([20 + i * 40, 30 + i * 25, 120 + i * 40, 130 + i * 25],\n outline=\"#333333\", width=lw...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"100\" width=\"22\" height=\"80\" fill=\"#2ECC71\" /><rect x=\"53\" y=\"100\" width=\"22\" height=\"80\" fill=\"#2ECC71\" /><rect x=\"81\" y=\"90\" width=\"22\" height=\"90\" fill=\"#2ECC71\" /><rect x...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\nimport seaborn as sns\nimport matplotlib.pyplot as plt\n\n# Mock data creation\ndata = {\n 'label': ['spam', 'ham', 'spam', 'ham', 'spam'],\n 'title': ['Free money!', 'Meeting at 10 AM', 'Win a lottery!', 'Lunch tomorrow?', 'Free tickets!']\n}\ndf = pd.DataF...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import numpy as np\nimport matplotlib.pyplot as plt\nfrom io import BytesIO\nfrom PIL import Image\n\nimport pandas as pd\n\n# Example data format (first two lines):\n# Player,Average Exit Velocity (mph)\n# Ronald Acuna Jr.,92.4\ndata = pd.read_csv(\"data.csv\") # Replace with actual...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import numpy as np\nimport matplotlib.pyplot as plt\n\n# Mock data for demonstration\nnum_images = 10\npositions = np.random.rand(num_images, 2) * 100 # Random positions in a 100x100 area\ncategories = np.random.randint(0, 5, size=num_images) # Random categories (0-4)\n\n# Function ...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import matplotlib.pyplot as plt\nimport seaborn as sns\nimport pandas as pd\nimport numpy as np\n\n# Mock data\nnp.random.seed(0)\ndata = pd.DataFrame({\n 'param_values': ['param1', 'param2', 'param3'],\n 'r2': np.random.rand(3),\n 'mse': np.random.rand(3),\n 'mape': np.ra...
TIGER-Lab/VisCode-Multi-679K
plot_debug
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import json\nimport io\nwith open('data.json', 'r') as f:\n data = json.loads(f.read())\nimport graphviz\nfrom PIL import Image\nfrom io import BytesIO\n\ndef generate_diagram(data):\n # Create a new directed graph\n dot = graphviz.Digraph(comment='Roswell UFO Tour Flow', for...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"150\" width=\"22\" height=\"30\" fill=\"#9B59B6\" /><rect x=\"53\" y=\"100\" width=\"22\" height=\"80\" fill=\"#9B59B6\" /><rect x=\"81\" y=\"90\" width=\"22\" height=\"90\" fill=\"#9B59B6\" /><rect x...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(4)\nt.pencolor('hotpink')\nt.speed(0)\nt.fillcolor('hotpink')\nt.begin_fill()\nfor _ in range(6):\n t.forward(180)\n t.left(60)\nt.end_fill()\nt.hideturtle()\nscreen.mainloop()\n```"}]
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\nimport matplotlib.pyplot as plt\n\n# Creating a mock DataFrame similar to what might be in 'gapminder.tsv'\ndata = {\n 'country': ['A', 'B', 'C', 'D', 'E'],\n 'year': [2000, 2001, 2002, 2003, 2004],\n 'pop': [1000, 1500, 2000, 2500, 3000],\n 'gdpPercap...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(2)\nt.pencolor('cyan')\nt.speed(0)\nt.fillcolor('cyan')\nt.begin_fill()\nfor _ in range(4):\n t.forward(130)\n t.left(90)\nt.end_fill()\nt.hideturtle()\nscreen.mainloop()\n```"}]
wexhi/text-to-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg width=\"216\" height=\"216\" fill=\"none\"><circle cx=\"108\" cy=\"108\" r=\"107.5\" stroke=\"#212121\" /></svg>\n```"}]
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import json\nimport io\nwith open('data.json', 'r') as f:\n data = json.loads(f.read())\nimport graphviz\nfrom io import BytesIO\nfrom PIL import Image\n\ndef generate_diagram(data):\n # Create a new directed graph\n dot = graphviz.Digraph(comment=data['title'])\n dot.attr...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\nimport math\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(2)\nt.speed(0)\nR = 110 / (2 * math.sin(math.pi / 4))\nverts = [(R * math.cos(math.radians(90 + i * 90)),\n R * math.sin(math.radians(90 + i * 90))) for i in range(4)]\nt.penup(...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(3)\nt.pencolor('yellow')\nt.speed(0)\nfor _ in range(6):\n t.forward(60)\n t.left(60)\nt.hideturtle()\nscreen.mainloop()\n```"}]
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"130\" width=\"22\" height=\"50\" fill=\"#2ECC71\" /><rect x=\"53\" y=\"140\" width=\"22\" height=\"40\" fill=\"#2ECC71\" /><rect x=\"81\" y=\"80\" width=\"22\" height=\"100\" fill=\"#2ECC71\" /><rect ...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import numpy as np\nimport matplotlib.pyplot as plt\nfrom io import BytesIO\nfrom PIL import Image\n\nimport pandas as pd\n\n# Example data format (first two lines):\n# Supplement,Usage Percentage\n# Joint Health Supplements,85\ndata = pd.read_csv(\"data.csv\") # Replace with actual ...
prashantss1404/Matplotlib_Seaborn_merged_prompt_completion_10k
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\ndf = pd.read_csv(\"data.csv\") # input dataset, columns: month_number, facewash\nimport matplotlib.pyplot as plt\n\nmonthList = df['month_number'].tolist()\nsalesData = df['facewash'].tolist()\nplt.scatter(monthList, salesData, label='facewash Sales data')\nplt.x...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(4)\nt.pencolor('blue')\nt.speed(0)\nfor _ in range(6):\n t.forward(180)\n t.left(60)\nt.hideturtle()\nscreen.mainloop()\n```"}]
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import numpy as np\nimport matplotlib.pyplot as plt\n\n# Create a mock image (3-channel RGB)\nimage = np.random.randint(0, 256, (100, 100, 3), dtype=np.uint8)\n\n# Function to display image histogram\ndef show_histogram(image):\n calc_hist = lambda channel: np.histogram(image[..., ...
prashantss1404/Matplotlib_Seaborn_merged_prompt_completion_10k
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\ndf = pd.read_csv(\"data.csv\") # input dataset, columns: month_number, facewash\nimport matplotlib.pyplot as plt\n\nmonthList = df['month_number'].tolist()\nsalesData = df['facewash'].tolist()\nplt.bar(monthList, salesData, label='facewash Sales data')\nplt.xlabe...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"140\" width=\"22\" height=\"40\" fill=\"#3498DB\" /><rect x=\"53\" y=\"60\" width=\"22\" height=\"120\" fill=\"#3498DB\" /><rect x=\"81\" y=\"70\" width=\"22\" height=\"110\" fill=\"#3498DB\" /><rect ...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"60\" width=\"29\" height=\"120\" fill=\"#9B59B6\" /><rect x=\"60\" y=\"90\" width=\"29\" height=\"90\" fill=\"#9B59B6\" /><rect x=\"95\" y=\"90\" width=\"29\" height=\"90\" fill=\"#9B59B6\" /><rect x=...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import plotly.graph_objects as go\n\n# Mock data for testing\nimport pandas as pd\nimport numpy as np\n\ndf = pd.DataFrame({'screen_name': ['user1', 'user2', 'user1', 'user3', 'user2']})\npersonas = df.screen_name.value_counts().index.tolist()\n\n# Sample data for the pie chart\nlabel...
prashantss1404/Matplotlib_Seaborn_merged_prompt_completion_10k
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\ndf = pd.read_csv(\"data.csv\") # input dataset, columns: toothpaste, month_number\nimport matplotlib.pyplot as plt\n\nsalesData = df['toothpaste'].tolist()\nmonthList = df['month_number'].tolist()\nplt.pie(salesData, labels=monthList, autopct='%1.1f%%')\nplt.titl...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(5)\nt.pencolor('cyan')\nt.speed(0)\nt.fillcolor('cyan')\nt.begin_fill()\nfor _ in range(4):\n t.forward(110)\n t.left(90)\nt.end_fill()\nt.hideturtle()\nscreen.mainloop()\n```"}]
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"140\" width=\"22\" height=\"40\" fill=\"#2ECC71\" /><rect x=\"53\" y=\"130\" width=\"22\" height=\"50\" fill=\"#2ECC71\" /><rect x=\"81\" y=\"150\" width=\"22\" height=\"30\" fill=\"#2ECC71\" /><rect ...
TIGER-Lab/VisCode-Multi-679K
svg_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"500\" height=\"420\" version=\"1.0\" id=\"ezcGraph\"><defs/><g id=\"ezcGraphChart\" color-rendering=\"optimizeQuality\" shape-rendering=\"geometricPrecision\" text-rendering=\"optimizeLegibility\"><path d=\" M 0.0000,420.0000 L 0.0000,...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(2)\nt.pencolor('black')\nt.speed(0)\nfor i in range(110):\n t.forward(4 + i * 3)\n t.left(144)\nt.hideturtle()\nscreen.mainloop()\n```"}]
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "from bokeh.plotting import figure, show\n\n# Mock data: percentage learning progress over iterations\nhistoric_pct = [10, 25, 40, 55, 65, 75, 85, 90, 95, 97, 98, 99, 100]\nx = list(range(len(historic_pct)))\ny = historic_pct\n\np = figure(\n title=\"Porcentaje de aprendizaje en cad...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import matplotlib.pyplot as plt\nimport numpy as np\n\n# Mock data\nX = np.array([[1], [2], [3], [4], [5]])\ny = np.array([1, 2, 3, 4, 5])\n\n# Create a plot\nplt.scatter(X, y, color='red')\nplt.plot(X, y, color='blue')\nplt.title('Sample Plot')\nplt.xlabel('Feature')\nplt.ylabel('Out...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import numpy as np\nimport matplotlib.pyplot as plt\n\n# Define some simulation parameters\nnpix = 256\noversample = 4\ndu = 5e-6\nwave = 550e-9\nfocal_length = 5\ndiameter = 1\n\n# Set up the spatial frequencies we'll evaluate the MTF at\npsf_sampling = du / oversample\npsf_sampling_...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import plotly.graph_objs as go\nimport pandas as pd\n\n# Create mock data\nindex = ['2yr', '7yr', '30yr']\ndata = pd.DataFrame({\n '2yr': [0.01, 0.02, 0.03],\n '7yr': [0.02, 0.03, 0.04],\n '30yr': [0.03, 0.04, 0.05]\n}, index=index)\n\n# Function to create eigen line plot\nco...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(2)\nt.pencolor('cyan')\nt.speed(0)\nfor i in range(90):\n t.forward(3 + i * 2)\n t.left(88)\nt.hideturtle()\nscreen.mainloop()\n```"}]
synthetic-pil
pil_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nfrom PIL import Image, ImageDraw\nimg = Image.new(\"RGB\", (640, 400), \"white\")\nd = ImageDraw.Draw(img)\nfor i in range(9):\n height = 30 + i * 30\n x0 = 40 + i * 55\n d.rectangle([x0, 360 - height, x0 + 40, 360],\n fill=(i * 25, i * 10, 255 - i *...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import numpy as np\nimport plotly.graph_objects as go\nfrom plotly.subplots import make_subplots\nimport io\nfrom PIL import Image\n\nimport pandas as pd\n\n# Example data format (first two lines):\n# menu_item,log2_fold_change,p_value\n# Loaded Nachos Fries,2.3,0.001\ndata = pd.read_...
wexhi/text-to-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg width=\"256px\" height=\"256px\" viewBox=\"0 0 2560 2560\"><rect x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" fill=\"#d3d800\" /><g fill=\"#fff\" stroke=\"none\"><path d=\"M909 1556 l-35 -61 107 -105 c156 -154 244 -283 269 -396 20 -89 -13 -135 -158 -218 -107 -62 -156 -1...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"150\" width=\"17\" height=\"30\" fill=\"#2ECC71\" /><rect x=\"48\" y=\"60\" width=\"17\" height=\"120\" fill=\"#2ECC71\" /><rect x=\"71\" y=\"140\" width=\"17\" height=\"40\" fill=\"#2ECC71\" /><rect ...
synthetic-pil
pil_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nfrom PIL import Image, ImageDraw\nimg = Image.new(\"RGB\", (640, 400), \"white\")\nd = ImageDraw.Draw(img)\nfor i in range(6):\n height = 30 + i * 30\n x0 = 40 + i * 55\n d.rectangle([x0, 360 - height, x0 + 40, 360],\n fill=(i * 25, i * 10, 255 - i *...
wexhi/text-to-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 24.00 24.00\"><path d=\"M13 12.998h-2v-6h2m0 10h-2v-2h2m-1-13c-5.524 0-10 4.477-10 10s4.476 10 10 10c5.522 0 10-4.477 10-10s-4.478-10-10-10z\" /></svg>\n```"}]
TIGER-Lab/VisCode-Multi-679K
svg_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "<svg\n xmlns:dc=\"http://purl.org/dc/elements/1.1/\"\n xmlns:cc=\"http://creativecommons.org/ns#\"\n xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"\n xmlns:svg=\"http://www.w3.org/2000/svg\"\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.or...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import csv\nimport numpy as np\nimport plotly.express as px\n\n# Mock data for demonstration\nmock_data = \"\"\"Coffee in ml,sleep in hours\n200,6\n300,5\n400,4\n500,3\n600,2\n\"\"\"\n\n# Simulating reading from a CSV file by using StringIO\nfrom io import StringIO\n\ndef getDataSourc...
synthetic-pil
pil_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nfrom PIL import Image, ImageDraw\nimg = Image.new(\"RGB\", (480, 660), \"#f0f0f0\")\nd = ImageDraw.Draw(img)\nfor i in range(3):\n lw = (i % 3) * 4 + 2\n d.rectangle([20 + i * 40, 30 + i * 25, 120 + i * 40, 130 + i * 25],\n outline=\"#333333\", width=lw...
TIGER-Lab/VisCode-Multi-679K
svg_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "<svg width=\"600\" height=\"300\" xmlns=\"http://www.w3.org/2000/svg\">\n <g transform=\"translate(10,10)\">\n <!-- First-Past-The-Post System -->\n <circle cx=\"140\" cy=\"140\" r=\"120\" fill=\"none\" stroke=\"black\" stroke-width=\"2\"/>\n <path d=\"M140,140 L140,20 A120,...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\nimport math\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(2)\nt.speed(0)\nR = 70 / (2 * math.sin(math.pi / 3))\nverts = [(R * math.cos(math.radians(90 + i * 120)),\n R * math.sin(math.radians(90 + i * 120))) for i in range(3)]\nt.penup...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\nimport seaborn as sns\nimport matplotlib.pyplot as plt\n\n# Mock data\nmock_data = {'age': [30, 40, 50, 60, 70], 'avg_glucose_level': [80, 150, 120, 90, 130], 'smoking_status': ['formerly smoked', 'smokes', 'never smoked', 'formerly smoked', 'smokes']}\ndf = pd.Da...
prashantss1404/Matplotlib_Seaborn_merged_prompt_completion_10k
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\ndf = pd.read_csv(\"data.csv\") # input dataset, columns: toothpaste, month_number\nimport matplotlib.pyplot as plt\n\nsalesData = df['toothpaste'].tolist()\nmonthList = df['month_number'].tolist()\nplt.pie(salesData, labels=monthList, autopct='%1.1f%%')\nplt.titl...
TIGER-Lab/VisCode-Multi-679K
svg_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "<svg width=\"249pt\" height=\"95pt\"\n viewBox=\"0.00 0.00 249.00 95.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 91)\">\n<title>src/immer/heap/malloc_heap.hpp</ti...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(4)\nt.pencolor('green')\nt.speed(0)\nfor _ in range(3):\n t.forward(150)\n t.left(120)\nt.hideturtle()\nscreen.mainloop()\n```"}]
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(3)\nt.pencolor('blue')\nt.speed(0)\nfor _ in range(6):\n t.forward(100)\n t.left(60)\nt.hideturtle()\nscreen.mainloop()\n```"}]
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import plotly.figure_factory as ff;\nimport pandas as pd;\n\ndf = pd.DataFrame({'Avg Rating': [3.5, 4.0, 4.5, 5.0, 2.0]});\nfig = ff.create_distplot([df['Avg Rating']], ['Rating plotting']);\nfig.show()"}]
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"90\" width=\"17\" height=\"90\" fill=\"#3498DB\" /><rect x=\"48\" y=\"140\" width=\"17\" height=\"40\" fill=\"#3498DB\" /><rect x=\"71\" y=\"70\" width=\"17\" height=\"110\" fill=\"#3498DB\" /><rect x...
synthetic-pil
pil_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nfrom PIL import Image, ImageDraw\nimg = Image.new(\"RGB\", (640, 400), \"white\")\nd = ImageDraw.Draw(img)\nfor i in range(7):\n height = 30 + i * 30\n x0 = 40 + i * 55\n d.rectangle([x0, 360 - height, x0 + 40, 360],\n fill=(i * 25, i * 10, 255 - i *...
wexhi/text-to-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg width=\"36\" height=\"18\" viewBox=\"0 0 36 18\" fill=\"none\"><path d=\"M18 0L0 18H36L18 0Z\" fill=\"#85A32A\" /></svg>\n```"}]
synthetic-pil
pil_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nfrom PIL import Image, ImageDraw\nimg = Image.new(\"RGB\", (600, 600), \"#101018\")\nd = ImageDraw.Draw(img)\ncolors = ['#00FF7F', '#00BFFF']\nfor i in range(11):\n pad = (20 + i * 14) // 2\n d.ellipse([300 - pad, 300 - pad, 300 + pad, 300 + pad],\n outli...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"120\" width=\"17\" height=\"60\" fill=\"#3498DB\" /><rect x=\"48\" y=\"110\" width=\"17\" height=\"70\" fill=\"#3498DB\" /><rect x=\"71\" y=\"80\" width=\"17\" height=\"100\" fill=\"#3498DB\" /><rect ...
synthetic-pil
pil_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nfrom PIL import Image, ImageDraw\nimg = Image.new(\"RGB\", (420, 340), \"#f0f0f0\")\nd = ImageDraw.Draw(img)\nfor i in range(4):\n lw = (i % 3) * 4 + 2\n d.rectangle([20 + i * 40, 30 + i * 25, 120 + i * 40, 130 + i * 25],\n outline=\"#333333\", width=lw...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import matplotlib.pyplot as plt\nimport seaborn as sns\nimport pandas as pd\n\n# Create mock data\ntitanic = pd.DataFrame({\n 'sex': ['male', 'female', 'male', 'female'],\n 'survived': [0, 1, 0, 1],\n 'class': ['1st', '1st', '3rd', '3rd']\n})\nsns.set_style('whitegrid')\n\n# ...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"130\" width=\"22\" height=\"50\" fill=\"#2ECC71\" /><rect x=\"53\" y=\"90\" width=\"22\" height=\"90\" fill=\"#2ECC71\" /><rect x=\"81\" y=\"130\" width=\"22\" height=\"50\" fill=\"#2ECC71\" /><rect x...
prashantss1404/Matplotlib_Seaborn_merged_prompt_completion_10k
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\ndf = pd.read_csv(\"data.csv\") # input dataset, columns: month_number, soap\nimport matplotlib.pyplot as plt\n\nmonthList = df['month_number'].tolist()\nsalesData = df['soap'].tolist()\nplt.scatter(monthList, salesData, label='soap Sales data')\nplt.xlabel('Month...
wexhi/text-to-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 32 32\"><path d=\"M.08 16A15.92 15.92 0 1016 .08 15.92 15.92 0 00.08 16zM23 11.62a.43.43 0 01.55 0l2.11 2.11a.42.42 0 01.09.36l-9.41 9.41a.43.43 0 01-.55 0l-9.47-9.21a.43.43 0 010-.55l2.12-2.12a.43.43 0 01.55 0l7 7 7-7z\" /></svg>\n```"}]
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"140\" width=\"22\" height=\"40\" fill=\"#3498DB\" /><rect x=\"53\" y=\"130\" width=\"22\" height=\"50\" fill=\"#3498DB\" /><rect x=\"81\" y=\"130\" width=\"22\" height=\"50\" fill=\"#3498DB\" /><rect ...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(4)\nt.pencolor('black')\nt.speed(0)\nt.fillcolor('black')\nt.begin_fill()\nfor _ in range(4):\n t.forward(70)\n t.left(90)\nt.end_fill()\nt.hideturtle()\nscreen.mainloop()\n```"}]
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"100\" width=\"22\" height=\"80\" fill=\"#3498DB\" /><rect x=\"53\" y=\"110\" width=\"22\" height=\"70\" fill=\"#3498DB\" /><rect x=\"81\" y=\"120\" width=\"22\" height=\"60\" fill=\"#3498DB\" /><rect ...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"140\" width=\"22\" height=\"40\" fill=\"#9B59B6\" /><rect x=\"53\" y=\"90\" width=\"22\" height=\"90\" fill=\"#9B59B6\" /><rect x=\"81\" y=\"130\" width=\"22\" height=\"50\" fill=\"#9B59B6\" /><rect x...
prashantss1404/Matplotlib_Seaborn_merged_prompt_completion_10k
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\ndf = pd.read_csv(\"data.csv\") # input dataset, columns: month_number, soap\nimport matplotlib.pyplot as plt\n\nmonthList = df['month_number'].tolist()\nsalesData = df['soap'].tolist()\nplt.plot(monthList, salesData, label='soap Sales data', marker='o')\nplt.xlab...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import numpy as np\nimport plotly.graph_objects as go\n\n# Create random data with numpy\nnp.random.seed(1)\nN = 100\nx_start = 2021\nx_end = 2050\nx = np.linspace(x_start, x_end, N)\nmu, sigma = 0, 1\ny_0 = np.linspace(0,8,N)\ny = np.random.normal(mu,sigma,N)\ny_inc = y + y_0\ndeg = ...
TIGER-Lab/VisCode-Multi-679K
svg_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"500\" height=\"420\" version=\"1.0\" id=\"ezcGraph\"><defs/><g id=\"ezcGraphChart\" color-rendering=\"optimizeQuality\" shape-rendering=\"geometricPrecision\" text-rendering=\"optimizeLegibility\"><path d=\" M 0.0000,420.0000 L 0.0000,...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(1)\nt.pencolor('yellow')\nt.speed(0)\nfor _ in range(8):\n t.forward(90)\n t.left(45)\nt.hideturtle()\nscreen.mainloop()\n```"}]
synthetic-pil
pil_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nfrom PIL import Image, ImageDraw\nimg = Image.new(\"RGB\", (600, 600), \"#101018\")\nd = ImageDraw.Draw(img)\ncolors = ['#00BFFF', '#FF69B4']\nfor i in range(6):\n pad = (20 + i * 14) // 2\n d.ellipse([300 - pad, 300 - pad, 300 + pad, 300 + pad],\n outlin...
wexhi/text-to-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg id=\"svg5339\" width=\"52.086\" height=\"52.086\" viewBox=\"0 0 52.086 52.086\"><g id=\"Cross\" fill=\"#000\" transform=\"translate(-543.92594,-293.21194)\"><path id=\"path6009\" fill=\"#000\" d=\"m 579.088,319.255 12.91,-12.908 c 0.627,-0.627 0.627,-1.654 0,-2.281 l -6.8...
TIGER-Lab/VisCode-Multi-679K
svg_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "<svg width=\"664pt\" height=\"137pt\"\n viewBox=\"0.00 0.00 664.00 137.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 133)\">\n<title>carla::geom::Mesh::AddTriangleS...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"130\" width=\"17\" height=\"50\" fill=\"#3498DB\" /><rect x=\"48\" y=\"80\" width=\"17\" height=\"100\" fill=\"#3498DB\" /><rect x=\"71\" y=\"100\" width=\"17\" height=\"80\" fill=\"#3498DB\" /><rect ...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(2)\nt.pencolor('cyan')\nt.speed(0)\nfor i in range(90):\n t.forward(7 + i * 1)\n t.left(75)\nt.hideturtle()\nscreen.mainloop()\n```"}]
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(2)\nt.pencolor('hotpink')\nt.speed(0)\nfor i in range(100):\n t.forward(7 + i * 3)\n t.left(144)\nt.hideturtle()\nscreen.mainloop()\n```"}]
TIGER-Lab/VisCode-Multi-679K
svg_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"500\" height=\"420\" version=\"1.0\" id=\"ezcGraph\"><defs/><g id=\"ezcGraphChart\" color-rendering=\"optimizeQuality\" shape-rendering=\"geometricPrecision\" text-rendering=\"optimizeLegibility\"><path d=\" M 0.0000,420.0000 L 0.0000,...
TIGER-Lab/VisCode-Multi-679K
svg_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "<svg xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns=\"http://www.w3.org/2000/svg\" fill-opacity=\"1\" color-rendering=\"auto\" color-interpolation=\"auto\" text-rendering=\"auto\" stroke=\"black\" stroke-linecap=\"square\" stroke-miterlimit=\"10\" shape-rendering=\"auto\" stroke-o...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import plotly.graph_objs as go\nimport pandas as pd\n\n# Mock data\ndata = {\n 'dates': ['2021-01-01', '2021-01-02', '2021-01-03'],\n 'green': [10, 15, 7],\n 'libertarian': [5, 3, 6],\n 'liberal': [12, 9, 11],\n 'conservative': [8, 12, 5]\n}\ninput_data = pd.DataFrame(d...
TIGER-Lab/VisCode-Multi-679K
plot_debug
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\nimport seaborn as sns\nimport matplotlib.pyplot as plt\n\n# Mock data\ncopy_nums = pd.DataFrame({\n 'name': ['region1', 'region1', 'region2'],\n 'copy_num': [1, 2, 3],\n 'code': ['code_one', 'code_two', 'code_three'],\n 'pop': ['pop1', 'pop2', 'pop3']\...
wexhi/text-to-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg id=\"Layer_1\" viewBox=\"0 0 30 30\"><circle cx=\"23\" cy=\"15\" r=\"6\" /><circle cx=\"7\" cy=\"15\" r=\"6\" /><line x1=\"7\" y1=\"21\" x2=\"23\" y2=\"21\" /></svg>\n```"}]
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"140\" width=\"22\" height=\"40\" fill=\"#9B59B6\" /><rect x=\"53\" y=\"140\" width=\"22\" height=\"40\" fill=\"#9B59B6\" /><rect x=\"81\" y=\"110\" width=\"22\" height=\"70\" fill=\"#9B59B6\" /><rect ...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import json\nwith open('data.json', 'r') as f:\n data = json.loads(f.read())\nimport graphviz\nfrom PIL import Image\nimport io\n\ndef generate_diagram(data):\n # Create a new directed graph\n dot = graphviz.Digraph(comment='Audiobook Production Process', format='png')\n d...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\nimport plotly.express as px\nimport statistics\n\n# Mock data creation\ndata = {\n \"Height(Inches)\": [60, 62, 64, 65, 67, 70, 72, 75],\n \"Weight(Pounds)\": [115, 120, 130, 150, 160, 180, 200, 220]\n}\ndf = pd.DataFrame(data)\n\nheight_list = df[\"Height(I...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import pandas as pd\nimport plotly.express as px\nimport numpy as np\n\n# Mock data similar to the expected structure\nmock_data = {\n 'minute': range(0, 60),\n 'crash_date_crash_time': pd.date_range(start='2022-01-01', periods=60, freq='T'),\n 'latitude': np.random.uniform(l...
wexhi/text-to-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg id=\"Layer_1\" viewBox=\"0 0 24 24\"><path d=\"M19.5,4H4.5A2.5,2.5,0,0,0,2,6.5v11A2.5,2.5,0,0,0,4.5,20h15A2.5,2.5,0,0,0,22,17.5V6.5A2.5,2.5,0,0,0,19.5,4ZM5,13a.95.95,0,1,1,1-.95A1,1,0,0,1,5,13Z\" /></svg>\n```"}]
synthetic-pil
pil_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nfrom PIL import Image, ImageDraw\nimg = Image.new(\"RGB\", (640, 400), \"white\")\nd = ImageDraw.Draw(img)\nfor i in range(8):\n height = 30 + i * 30\n x0 = 40 + i * 55\n d.rectangle([x0, 360 - height, x0 + 40, 360],\n fill=(i * 25, i * 10, 255 - i *...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import plotly.graph_objects as go\nimport numpy as np\n\n# Mock data to simulate player stack logs\nlog = {\n \"Player 1\": [(1, 100), (2, 150), (3, 120)],\n \"Player 2\": [(1, 200), (2, 180), (3, 210)],\n}\n\n# Create a list to hold the graph objects\ngraphs = []\nfor player_na...
TIGER-Lab/VisCode-Multi-679K
svg_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "<svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n\t width=\"502px\" height=\"126px\" viewBox=\"54 333 502 126\" enable-background=\"new 54 333 502 126\" xml:space=\"preserve\">\n<g>\n\t<rect x=\"...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(4)\nt.pencolor('black')\nt.speed(0)\nfor _ in range(5):\n t.forward(180)\n t.left(72)\nt.hideturtle()\nscreen.mainloop()\n```"}]
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import matplotlib.pyplot as plt\n\n# Sample data\nloans_data = {'state': ['GA', 'CT', 'NY'], 'loan_amount': [5000, 2000, 3000]}\n\nplt.bar(loans_data['state'], loans_data['loan_amount'])\nplt.title('Loan Amounts by State')\nplt.xlabel('State')\nplt.ylabel('Loan Amount')\nplt.show()"}]
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import plotly.graph_objs as go\nimport numpy as np\n\n# Mock data for Plotly\npm_state_history = np.random.rand(201, 3) # 201 timesteps, 3D positions\n\n# Create a scatter plot\nfig = go.Figure()\nfig.add_trace(go.Scatter3d(\n x=pm_state_history[:, 0],\n y=pm_state_history[:, 1...
TIGER-Lab/VisCode-Multi-679K
svg_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "<svg width=\"121pt\" height=\"252pt\"\n viewBox=\"0.00 0.00 121.00 252.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 248)\">\n<title>CLTableLookupKernel</title>\n<p...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import numpy as np\nimport matplotlib.pyplot as plt\n\n# Mock data for demonstration purposes\nstates_0 = np.random.rand(32, 11)\nstates_1 = np.random.rand(32, 11)\n\nfig = plt.figure(figsize=(20, 20))\nax0 = fig.add_subplot(1, 2, 1, projection='3d')\nax1 = fig.add_subplot(1, 2, 2, pr...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"120\" width=\"29\" height=\"60\" fill=\"#3498DB\" /><rect x=\"60\" y=\"90\" width=\"29\" height=\"90\" fill=\"#3498DB\" /><rect x=\"95\" y=\"130\" width=\"29\" height=\"50\" fill=\"#3498DB\" /><rect x...
TIGER-Lab/VisCode-Multi-679K
chart_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "import plotly.graph_objects as go\n\n# Sample data for demonstration\nx = [1, 2, 3, 4]\ny = [10, 11, 12, 13]\n\n# Creating a simple line plot\nfig = go.Figure()\nfig.add_trace(go.Scatter(x=x, y=y, mode='lines+markers', name='Sample Data'))\nfig.update_layout(title='Plotly Example', xa...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"120\" width=\"22\" height=\"60\" fill=\"#3498DB\" /><rect x=\"53\" y=\"150\" width=\"22\" height=\"30\" fill=\"#3498DB\" /><rect x=\"81\" y=\"90\" width=\"22\" height=\"90\" fill=\"#3498DB\" /><rect x...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"60\" width=\"29\" height=\"120\" fill=\"#3498DB\" /><rect x=\"60\" y=\"130\" width=\"29\" height=\"50\" fill=\"#3498DB\" /><rect x=\"95\" y=\"120\" width=\"29\" height=\"60\" fill=\"#3498DB\" /><rect ...
synthetic-turtle
turtle_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```python\nimport turtle\nimport math\n\nscreen = turtle.Screen()\nt = turtle.Turtle()\nt.pensize(2)\nt.speed(0)\nR = 100 / (2 * math.sin(math.pi / 4))\nverts = [(R * math.cos(math.radians(90 + i * 90)),\n R * math.sin(math.radians(90 + i * 90))) for i in range(4)]\nt.penup(...
synthetic-svg
svg_generation
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "```svg\n<svg viewBox=\"0 0 200 200\" width=\"200\" height=\"200\"><rect x=\"25\" y=\"60\" width=\"22\" height=\"120\" fill=\"#2ECC71\" /><rect x=\"53\" y=\"80\" width=\"22\" height=\"100\" fill=\"#2ECC71\" /><rect x=\"81\" y=\"90\" width=\"22\" height=\"90\" fill=\"#2ECC71\" /><rect x...
TIGER-Lab/VisCode-Multi-679K
svg_code
[{"role": "system", "content": "You are an expert Python drawing assistant. You write correct, runnable Python code for matplotlib charts, Turtle and PIL drawings, and clean SVG markup. When asked about plotting code you explain or fix it precisely. Always produce complete, self-contained code."}, {"role": "user", "con...
[{"role": "assistant", "content": "<svg width=\"504pt\" height=\"284pt\"\n viewBox=\"0.00 0.00 504.00 284.00\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 280)\">\n<title>dependencies</title>\n<polygon ...

SFT dataset for a Python drawing expert model (fine-tunes Qwen/Qwen3-1.7B). Covers matplotlib chart code, turtle/PIL drawing code, SVG generation, and plotting-code explain/fix.

Composition (51,496 train / 300 eval)

task rows source
chart_code 20,000 TIGER-Lab/VisCode-Multi-679K (language=python, arXiv:2510.23642) + prashantss1404/Matplotlib_Seaborn_merged_prompt_completion_10k (CC0)
plot_debug 4,796 VisCode python rows whose user text asks to fix/debug/explain/modify plotting code
svg_code 5,000 VisCode-Multi-679K (language=svg)
svg_generation 10,000 6,000 synthesized (descriptions written from the actual draw parameters) + 4,000 short-caption rows of wexhi/text-to-svg
turtle_code 8,000 synthesized from parameterized templates, every pair executed against a headless turtle stub
pil_code 4,000 synthesized templates, every pair executed with Pillow and the output file verified

Quality passes applied after a human review round:

  • Rows whose code references an undefined df are dropped (VisCode) or repaired with an explicit df = pd.read_csv("data.csv") # columns: ... prologue, then execution-validated with a stubbed read_csv (all 5,000 kept rows ran clean under the Agg backend; 0 dropped).
  • Turtle polygons set t.pencolor explicitly; concentric polygons are drawn from computed vertices so all rings share one center.
  • PIL "alternating colors" prompts now genuinely alternate between two named colors.
  • text-to-svg restricted to captions ≤200 chars, where caption↔SVG mismatch is rarest; the bulk of SVG generation data is synthesized with descriptions composed from the actual SVG parameters.

All rows are TRL conversational prompt-completion format: prompt is a JSON list of {role, content} messages (system + user), completion is the final assistant message. Shuffled with seed 20261124; eval.parquet is a held-out sample.

Builder source: build_dataset.py. Shared sources are Apache-2.0 or CC0-1.0.

No turtle/PIL instruction dataset existed on the Hub at build time (see TurtleAI, arXiv:2606.03626), hence the synthesized slice.

Downloads last month
-

Papers for Malajusa/qwen3-1.7b-python-drawing-sft