Experiments

Vector dimension precision effect on cosine similarity

Experiment Outline Question: How does reducing the precision of vector components to various extents (half, third, quarter, fifth) using different methods (toFixed, Math.round) affect the cosine similarity between two vectors? Hypothesis: Reducing the precision of vectors will alter the cosine similarity, with more significant reductions leading to larger differences. The method of precision reduction might …

Vector dimension precision effect on cosine similarity Read More »

GPT-4: A Quantum Leap in SVG Generation

A few months ago, I tested the abilities of text-davinci-003 and ChatGPT to create SVG images. The results were promising but not all that impressive. Enter GPT-4. After conducting multiple experiments and reviewing the examples provided above, it’s clear that GPT-4 has significantly improved the quality and capabilities of SVG generation compared to its predecessor, …

GPT-4: A Quantum Leap in SVG Generation Read More »

Testing Verbose prompts in ChatGPT

An experiment based on prompts from the awesome ChatGPT prompts GitHub repo. Which performs better, asking a simple question to ChatGPT? Or prefacing the question with a verbose prompt? “Machine Learning” Test Question sourced from the repository: Full prompt from the repository: Test using just the question with ChatGPT: Test using the full prompt from the GitHub …

Testing Verbose prompts in ChatGPT Read More »