search
HomeTechnology peripheralsAI3 Hands-On Experiments with OpenAI's o1 You Need to See - Analytics Vidhya

3 Hands-On Experiments with OpenAI's o1 You Need to See - Analytics Vidhya

Introduction

How often do you truly think and reason before you speak? The current state-of-the-art LLM, GPT-4o, was already delivering impressive responses without taking much time to respond. But imagine if it started taking more time to think and build logic. With their latest model, o1, OpenAI has dropped a bombshell, introducing LLMs that can genuinely think and reason before responding—an ability that, until now, was considered unique to only a few humans!

OpenAI’s o1 is a new series of AI models designed to invest more time in thinking before generating a response. Outperforming all previous versions and even many humans on various platforms like the USA Math Olympiad (AIME), GPQA evaluation, and Codeforces, the o1 series marks OpenAI’s significant step toward AGI. The two models—OpenAI o1 and OpenAI o1-mini—excel in reasoning, science, coding, and mathematics!

So, in this blog, I decided to conduct some o1 experiments and put OpenAI o1 to the test! I carried out three experiments involving physics, chemistry, and biology, combined with the magic of math and coding, to serve you the perfect dish prepared by o1.

Read on to discover the results of my experiments with OpenAI o1.

Overview

  • Understand the scope of OpenAi’s o1 model in the world of Science, reasoning and logic.
  • Visualise the possibilities with OpenAI’s o1 in the field of Physics, Chemistry and Biology.

Table of contents

  • The Power of Visuals in Education
  • Experiment 1: Playing with Planets (Physics) ?
    • Prompt
    • Output
    • Things to Keep in Mind
    • Working of OpenAI’s o1 in this Experiment
  • Experiment 2: Acid-Base – Visual Chemistry ?
    • Prompt
    • Output
    • Things to Keep in Mind
  • Experiment 3: Blending with Biology ?
    • Prompt
    • Output
  • My Observation from the above o1 Experiments
  • Frequently Asked Questions

The Power of Visuals in Education

The biggest challenge that people face when it comes to science is the lack of visualization! Imagine for most of us, the word “gravity” simply reminds us of an apple falling on Newton’s head. Visualization not only enhances the learning experience but helps us retain that lesson in our memory for a longer period. The idea of creating simulations/visualizations of scientific concepts isn’t really a breaking news. But the power to create these visualisations without writing a single line of code, to design interactive systems that go beyond following a set of rules while integrating logic & reasoning is definitely new.

With the Open AI’s o1 model, I did just that!

I presented one problem each from physics, chemistry, and Biology to OpenAI’s o1 model. The solutions to these problems required logical reasoning, mathematical calculations, and extensive coding, and o1 blew my mind with the results!

Before we move on to the o1 experiments, I recommend you go through our article on How to Access OpenAI o1!

Experiment 1: Playing with Planets (Physics) ?

Let me start with a quick revision of our solar system: It consists of 8 planets: Mercury, Venus, Earth, Mars, Jupiter, Uranus, Saturn and Neptune. The Sun is at the center of our solar system around which the planets revolve. Sounds simple right?

Now all these planets are at different distances from the sun and revolve around it in unique orbits, at different speeds. The speed of a planet around the sun is generally calculated using the following formula:

v = √(GM/r)

where:

  • v is the velocity of the planet
  • G is the universal gravitational constant
  • M is the mass of the Sun
  • r is the radius or distance of the planet from the Sun

Lets say you want to visualise the changes in velocity of a planet by changing the radius of the planet or the mass of the sun. All you need to do is prompt OpenAI’s o1 to write the code to build this visualisation.

Prompt

I want to create a scientifically accurate simulation of our solar system with all 8 planets revolving around the Sun at their unique speeds. The simulation should include the following features:

  1. Adjustable Parameters:
    • Include sliders (drag bars) below the simulation to adjust the following for each planet and the Sun:
      • Mass
      • Radius
    • Adjusting the mass of the Sun should affect the orbital speeds of the planets.
    • Adjusting a planet’s mass and radius should change its representation in the simulation (size and possibly color), but its own mass doesn’t significantly affect its orbit due to the Sun’s dominant mass.
  2. Visual Enhancements:
    • All planets and the Sun must be clearly labeled in the simulation with white text for visibility against the space background.
    • The orbits of the planets should be displayed as paths around the Sun.
    • When a parameter is adjusted, the corresponding planet (or Sun) should be highlighted in the simulation for a brief period (e.g., with a red rectangle) to indicate which celestial body was changed.
  3. User Interface:
    • The text in front of each slider should be in black for readability.
    • The controls should be organized in clear rows in a table, following the order of the planets in the solar system
    • For each celestial body, the format should be:
      • Name of the planet or Sun
      • Mass slider
      • Radius slider

Output



    <meta charset="UTF-8">
    <title>Solar System Simulation</title>
    <style>
        /* Canvas styling */
        #simulationCanvas {
            background-color: #000;
            display: block;
            margin: 0 auto;
            border: 1px solid #ccc;
        }
        /* Control panel styling */
        #controls {
            width: 800px;
            margin: 20px auto;
            color: #000;
            font-family: Arial, sans-serif;
        }
        #controls table {
            width: 100%;
            border-collapse: collapse;
        }
        #controls td {
            padding: 5px;
            vertical-align: middle;
        }
        #controls label {
            display: block;
            margin-bottom: 5px;
        }
        input[type="range"] {
            width: 100%;
        }
        h2 {
            text-align: center;
            color: #000;
        }
    </style>


    <h2 id="Solar-System-Simulation">Solar System Simulation</h2>
    <canvas width="800" height="800"></canvas>

    <div>
        <table>
            <!-- Sun Controls -->
            <tr>
                <td colspan="2"><strong>Sun</strong></td>
            </tr>
            <tr>
                <td>
                    <label>Mass</label>
                    <input type="range" min="1" max="100" value="100" step="1">
                </td>
                <td>
                    <label>Radius</label>
                    <input type="range" min="10" max="50" value="30" step="1">
                </td>
            </tr>
            <!-- Planets Controls -->
            <!-- Mercury -->
            <tr>
                <td colspan="2"><strong>Mercury</strong></td>
            </tr>



<p><strong>Click here to find the full code. </strong></p>



<h3 id="Things-to-Keep-in-Mind">Things to Keep in Mind </h3>



<p>To run this code, you just need to follow 3 steps:</p>



<ol>
<li>Copy this code into your favourite code editor, like Notepad.</li>



<li>Save the File as<strong> index.html</strong>.</li>



<li>Open the file in your favourite web browser.</li>
</ol>



<p>Alternatively, you can directly play with the version I created. Do share in the comments what happened to jupiter’s speed when you maxed out on its radius?</p>



<iframe src="https://cdn.analyticsvidhya.com/wp-content/uploads/2024/09/socal-system.mp4" title="o1" allowfullscreen></iframe>



<h3 id="Working-of-OpenAI-s-o-in-this-Experiment">Working of OpenAI’s o1 in this Experiment</h3>



<p>While you marvel at this application, lets take a step back to understand what did OpenAI’s latest model did behind the scenes to bring my visualisation to life.</p>



<ul>
<li>It took sometime to understand the different aspects that it needs to consider by groing through the prompt.</li>



<li>It realised that it needs to use the concepts related to physics, mathematics & coding to generate the output.</li>



<li>It combined the logic behind each step – merging physics & mathematics and translated several visual elements that i had suggested into a suitable code.</li>
</ul>



<p>Now, that we are done with modeling our Solar system, let’s get some chemicals brewing.</p>



<h2 id="Experiment-Acid-Base-Visual-Chemistry">Experiment 2: Acid-Base – Visual Chemistry ?</h2>



<p>There are thousands of acids and bases out there. It’s not always easy to remember which one of these reacts with each other and the chemical they create? Imagine if we knew the results that we could get before mixing two chemicals! It would probably save us from many burns or unfortunate accidents in the lab and might as well help our institutes save money over broken beakers and other equipment.</p>



<p>So my ask to Open AI o1 was to create a simulation in which we could pick an acid, a base, and their quantities and it would tell us how our product would look like.</p>



<h3 id="Prompt">Prompt</h3>



<p><em>Create a dynamic and interactive simulation involving three labeled beakers:</em></p>



<ol>
<li>
<em>Beaker Descriptions:</em>
<ul>
<li><em>Beaker A: Contains a selected acid.</em></li>



<li><em>Beaker B: Contains a selected base.</em></li>



<li><em>Beaker C: Shows the output of the reaction.</em></li>
</ul>
</li>



<li>
<em>User Interface Elements:</em>
<ul>
<li><em>Include dropdown menus for selecting 20 different acids and 20 different bases.</em></li>



<li><em>Provide separate dropdown menus to choose volumes (from 10 to 100 mL, in increments of 10) for both acid and base.</em></li>
</ul>
</li>



<li>
<em>Interactive Functionality:</em>
<ul>
<li>
<em>When the user selects an acid, base, and their volumes, the simulation should:</em>
<ul>
<li><em>Animate the addition of the acid and base into their respective beakers.</em></li>



<li><em>Display the acid and base labels on Beaker A and Beaker B once selections are made.</em></li>



<li><em>Show a green color in Beaker C if a reaction occurs and a blue color if no reaction occurs.</em></li>



<li><em>Provide detailed information below the simulation, indicating whether a reaction occurred, the product generated, its name, chemical formula, and relevant details.</em></li>
</ul>
</li>
</ul>
</li>



<li>
<em>Visual Elements:</em>
<ul>
<li><em>Beakers should have a realistic shape.</em></li>



<li><em>Ensure all text is in black for readability.</em></li>
</ul>
</li>
</ol>



<h3 id="Output">Output</h3>



<pre class="brush:php;toolbar:false">





<meta charset="UTF-8">

<title>Acid-Base Reaction Simulation</title>

<style>

/* Styling for the simulation */

body {

background-color: #f0f0f0;

background-image: url('https://example.com/chemistry_lab_background.jpg'); /* Replace with an actual lab image URL */

background-size: cover;

font-family: Arial, sans-serif;

}

#simulationContainer {

display: flex;

justify-content: space-around;

align-items: flex-end;

margin-top: 20px;

}

.beaker {

width: 80px;

height: 150px;

border: 2px solid #333;

border-bottom: 0;

border-radius: 0 0 50% 50%;

position: relative;

overflow: hidden;

background-color: #fff;

}

.beaker-label {

text-align: center;

font-weight: bold;

color: #000;

margin-top: 5px;

}

.liquid {

width: 100%;

height: 0;

background-color: transparent;

position: absolute;

bottom: 0;

transition: height 1s ease;

}</style>

Click here to find the full code.

Things to Keep in Mind

To run this code, follow the same steps as mentioned above.

Alternatively, you can directly use the version I created.

Now, that our chemistry is sorted, it is time we head to our next o1 experiment!

Experiment 3: Blending with Biology ?

The only thing separating us from machines is biology. Within biology lies the entire secret of mankind and at the core of biology lay proteins. Proteins are to humans what tokens are for LLMs. These proteins make up our body, brain and our entire nervous system helping us to comprehend and understand our surroundings. This is similar to how tokens build entire functionality of LLMs.

But there are practically limitless combinations of proteins possible! Hence its very difficult to remember the names and the use cases for each one of them.

So the task I gave OpenAI’s o1 was to create a simulation that could help me generate unlimited combinations of these proteins and learn their use cases.

Prompt

Create an interactive Protein Builder Simulation with the following features:

  1. User Interaction:
    • Provide a dropdown menu containing the 20 standard amino acids, displaying their full names, three-letter codes, and one-letter symbols.
    • Include buttons to Add Amino Acid to the chain, Remove Last Amino Acid, and Reset Chain.
  2. Visual Representation:
    • Start with the most basic amino acid, Glycine, displayed by default.
    • Represent each amino acid as a uniquely colored helix and display their one-letter symbols below.
    • Visually connect amino acids with lines or bonds to represent peptide bonds as the chain grows horizontally.
  3. Information Display:
    • As amino acids are added, display their names and basic information (properties, uses) below the simulation.
    • If the amino acid sequence matches a known protein or peptide, display detailed information including its name, description, and popular uses.
    • For sequences not matching known proteins, display the amino acid sequence and general information about peptides, indicating it may represent a novel or synthetic peptide.

Output






<meta charset="UTF-8">

<title>Protein Builder Simulation</title>

<style>

body {

font-family: Arial, sans-serif;

margin: 20px;

}

#builderContainer {

width: 1000px;

margin: 0 auto;

text-align: center;

}

#aminoAcidSelect {

width: 200px;

padding: 5px;

font-size: 16px;

}

#addButton, #removeButton {

padding: 5px 10px;

font-size: 16px;

margin: 10px 5px;

}

#chainDisplay {

margin: 20px 0;

font-size: 18px;

display: flex;

flex-wrap: nowrap;

overflow-x: auto;

border: 1px solid #ccc;

padding: 10px;

}

.aminoAcid {

position: relative;

width: 100px;

height: 150px;

margin: 5px;

text-align: center;

}

.aminoAcid svg {

width: 100%;

height: 100%;

}

.aaLabel {

margin-top: 5px;

font-size: 14px;

}

#proteinInfo {

margin-top: 20px;

font-size: 16px;

}</style>

Click here to find the full code.

To run this code, follow the same steps as mentioned above.

Alternatively, you can directly use the version I created.

This is amazing isn’t it! Never before could I imagine that identifying proteins and creating new ones could be so fun and easy.

My Observation from the above o1 Experiments

This latest o1 model does impress with its capabilities in reasoning, logical thinking and coding. Yet, it has to take significant strides in adding features available in GPT4o like web browsing, uploading files or working with images. Till we see those improvements in o1 model, GPT 4o is still going to be the go to model for common tasks.

If you want to know more about the working of OpenAi’s o1 and o1-mini, read these articles:

  • o1: OpenAI’s New Model That ‘Thinks’ Before Answering Tough Problems
  • o1-mini: A Game-Changing Model for STEM with Cost-Efficient Reasoning

Conclusion

I am impressed by the results I have seen in the above o1 experiments, with just a couple of hours in I could create 3 simulations for 3 different streams! o1 can potentially help millions of students who do not have the resources to actually experience the possibilities that science has to offer. Its going to be immensely beneficial for anyone who has an idea and wants the world to see it.

Although in the current version of the modelwe can’t add images or audio files but when that happens – this multimodailty is going to further enhance the possibilities that can be attained with this model.A truly generative future awaits us..

Stay tuned to Analytics Vidhya blog to know more about the uses of o1!

Frequently Asked Questions

Q1. Whats o1?

A. OpenAI o1—a new series of AI models designed to spend more time thinking before they respond. These models can reason through complex tasks and solve harder problems than previous models in science, coding, and math

Q2. When was OpenAI’s o1 model launched?

A. OpenAI’s o1 model was launched on Sep 12, 2024.

Q3. Can o1 model process images?

A. Yes, the latest o1 models can process images although this functionality hasn’t been made live for public yet.

Q4. Can everyone use o1 models?

A. Currently only the paid members can use OpenAI’s o1 model.

Q5. How is OpenAI’s o1 series trained?

A. The o1 series is trained with large-scale reinforcement learning allowing it to reason using chain of thought

The above is the detailed content of 3 Hands-On Experiments with OpenAI's o1 You Need to See - Analytics Vidhya. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
What is Graph of Thought in Prompt EngineeringWhat is Graph of Thought in Prompt EngineeringApr 13, 2025 am 11:53 AM

Introduction In prompt engineering, “Graph of Thought” refers to a novel approach that uses graph theory to structure and guide AI’s reasoning process. Unlike traditional methods, which often involve linear s

Optimize Your Organisation's Email Marketing with GenAI AgentsOptimize Your Organisation's Email Marketing with GenAI AgentsApr 13, 2025 am 11:44 AM

Introduction Congratulations! You run a successful business. Through your web pages, social media campaigns, webinars, conferences, free resources, and other sources, you collect 5000 email IDs daily. The next obvious step is

Real-Time App Performance Monitoring with Apache PinotReal-Time App Performance Monitoring with Apache PinotApr 13, 2025 am 11:40 AM

Introduction In today’s fast-paced software development environment, ensuring optimal application performance is crucial. Monitoring real-time metrics such as response times, error rates, and resource utilization can help main

ChatGPT Hits 1 Billion Users? 'Doubled In Just Weeks' Says OpenAI CEOChatGPT Hits 1 Billion Users? 'Doubled In Just Weeks' Says OpenAI CEOApr 13, 2025 am 11:23 AM

“How many users do you have?” he prodded. “I think the last time we said was 500 million weekly actives, and it is growing very rapidly,” replied Altman. “You told me that it like doubled in just a few weeks,” Anderson continued. “I said that priv

Pixtral-12B: Mistral AI's First Multimodal Model - Analytics VidhyaPixtral-12B: Mistral AI's First Multimodal Model - Analytics VidhyaApr 13, 2025 am 11:20 AM

Introduction Mistral has released its very first multimodal model, namely the Pixtral-12B-2409. This model is built upon Mistral’s 12 Billion parameter, Nemo 12B. What sets this model apart? It can now take both images and tex

Agentic Frameworks for Generative AI Applications - Analytics VidhyaAgentic Frameworks for Generative AI Applications - Analytics VidhyaApr 13, 2025 am 11:13 AM

Imagine having an AI-powered assistant that not only responds to your queries but also autonomously gathers information, executes tasks, and even handles multiple types of data—text, images, and code. Sounds futuristic? In this a

Applications of Generative AI in the Financial SectorApplications of Generative AI in the Financial SectorApr 13, 2025 am 11:12 AM

Introduction The finance industry is the cornerstone of any country’s development, as it drives economic growth by facilitating efficient transactions and credit availability. The ease with which transactions occur and credit

Guide to Online Learning and Passive-Aggressive AlgorithmsGuide to Online Learning and Passive-Aggressive AlgorithmsApr 13, 2025 am 11:09 AM

Introduction Data is being generated at an unprecedented rate from sources such as social media, financial transactions, and e-commerce platforms. Handling this continuous stream of information is a challenge, but it offers an

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools