Table of Contents
Introduction
Overview
Table of contents
The Power of Visuals in Education
Experiment 1: Playing with Planets (Physics) ?
Prompt
Output
Solar System Simulation
Things to Keep in Mind
Working of OpenAI’s o1 in this Experiment
Experiment 2: Acid-Base – Visual Chemistry ?
Experiment 3: Blending with Biology ?
My Observation from the above o1 Experiments
Conclusion
Frequently Asked Questions
Home Technology peripherals AI 3 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

Apr 13, 2025 am 11:06 AM

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

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

207

208

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

235

236

237

238

239

240

241

242

243

244

245

246

247

248

249

250

251

252

253

254

255

256

257

258

259

260

261

262

263

264

265

266

267

268

269

270

271

272

273

274

275

276

277

278

279

280

281

282

283

284

285

286

287

288

289

290

291

292

293

294

295

296

297

298

299

300

301

302

303

304

305

306

    <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>

Copy after login

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

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

<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>

Copy after login

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 of this Website
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

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Best AI Art Generators (Free & Paid) for Creative Projects Best AI Art Generators (Free & Paid) for Creative Projects Apr 02, 2025 pm 06:10 PM

The article reviews top AI art generators, discussing their features, suitability for creative projects, and value. It highlights Midjourney as the best value for professionals and recommends DALL-E 2 for high-quality, customizable art.

Getting Started With Meta Llama 3.2 - Analytics Vidhya Getting Started With Meta Llama 3.2 - Analytics Vidhya Apr 11, 2025 pm 12:04 PM

Meta's Llama 3.2: A Leap Forward in Multimodal and Mobile AI Meta recently unveiled Llama 3.2, a significant advancement in AI featuring powerful vision capabilities and lightweight text models optimized for mobile devices. Building on the success o

Best AI Chatbots Compared (ChatGPT, Gemini, Claude & More) Best AI Chatbots Compared (ChatGPT, Gemini, Claude & More) Apr 02, 2025 pm 06:09 PM

The article compares top AI chatbots like ChatGPT, Gemini, and Claude, focusing on their unique features, customization options, and performance in natural language processing and reliability.

Top AI Writing Assistants to Boost Your Content Creation Top AI Writing Assistants to Boost Your Content Creation Apr 02, 2025 pm 06:11 PM

The article discusses top AI writing assistants like Grammarly, Jasper, Copy.ai, Writesonic, and Rytr, focusing on their unique features for content creation. It argues that Jasper excels in SEO optimization, while AI tools help maintain tone consist

AV Bytes: Meta's Llama 3.2, Google's Gemini 1.5, and More AV Bytes: Meta's Llama 3.2, Google's Gemini 1.5, and More Apr 11, 2025 pm 12:01 PM

This week's AI landscape: A whirlwind of advancements, ethical considerations, and regulatory debates. Major players like OpenAI, Google, Meta, and Microsoft have unleashed a torrent of updates, from groundbreaking new models to crucial shifts in le

Selling AI Strategy To Employees: Shopify CEO's Manifesto Selling AI Strategy To Employees: Shopify CEO's Manifesto Apr 10, 2025 am 11:19 AM

Shopify CEO Tobi Lütke's recent memo boldly declares AI proficiency a fundamental expectation for every employee, marking a significant cultural shift within the company. This isn't a fleeting trend; it's a new operational paradigm integrated into p

10 Generative AI Coding Extensions in VS Code You Must Explore 10 Generative AI Coding Extensions in VS Code You Must Explore Apr 13, 2025 am 01:14 AM

Hey there, Coding ninja! What coding-related tasks do you have planned for the day? Before you dive further into this blog, I want you to think about all your coding-related woes—better list those down. Done? – Let&#8217

Top 7 Agentic RAG System to Build AI Agents Top 7 Agentic RAG System to Build AI Agents Mar 31, 2025 pm 04:25 PM

2024 witnessed a shift from simply using LLMs for content generation to understanding their inner workings. This exploration led to the discovery of AI Agents – autonomous systems handling tasks and decisions with minimal human intervention. Buildin

See all articles