IT Brief New Zealand - Technology news for CIOs & IT decision-makers
Story image

OpenAI's new o1 model series shows promise in GitHub tests

Fri, 13th Sep 2024

OpenAI has launched its new OpenAI o1 model series, which has already begun yielding positive results during GitHub's initial testing phase. The o1-preview model has been subjected to various evaluations within GitHub Copilot, demonstrating its capability to refine complex algorithms and expedite the troubleshooting of performance bugs.

GitHub has shared two significant scenarios that exhibit the o1-preview model's capabilities. Firstly, the model showed proficiency in optimising complex algorithms through advanced reasoning. According to GitHub, "In our first test, we wanted to understand how o1-preview could help write or refine complex algorithms, a task that requires deep logical reasoning to find more efficient or innovative solutions." The reasoning capabilities of the o1-preview model allowed it to delve into the constraints and edge cases of the code, leading to a more streamlined and high-quality optimisation.

Specifically, the demo focused on optimising a byte pair encoder used in Copilot Chat's tokenizer library—a critical component as Copilot frequently needs to tokenize large data sets to generate prompts. GitHub highlighted that this optimisation task revealed o1-preview's advanced reasoning abilities, producing results more efficiently than older models.

In the second scenario, GitHub demonstrated the o1-preview model's capability in resolving a performance bug in significantly less time than a human engineer. The task involved adding a folder tree to GitHub.com's file view, a process that caused the focus management code to stall and crash the browser due to the large number of elements. GitHub noted, "In this next demo on GitHub, o1-preview was able to identify and develop a solution for a performance bug within minutes. The same bug took one of our software engineers a few hours before they came up with the same solution." The o1-preview model managed to reduce the runtime of this function dramatically, from over 1,000ms to approximately 16ms.

The implementation of these models within GitHub Copilot showcases substantial improvements in both task execution and developer productivity. The advanced reasoning capability of the o1-preview model enables it to break down complex tasks into manageable steps, thereby tackling challenges with greater precision. This contrasts with previous models, such as GPT-4o, which often required more developer intervention to achieve similar results.

GitHub announced that it would make the o1 series available to developers. The model will be incorporated into GitHub Models, allowing developers to utilise both o1-preview and o1-mini, a smaller, faster, and more cost-effective version of the model. The o1-mini model is noted to be 80% cheaper than the o1-preview. However, access to these models will initially be restricted and users will need to sign up for Azure AI for early access.

The collaboration between Microsoft and OpenAI aims to leverage the latest AI advancements to boost developer productivity and satisfaction. As GitHub continues to explore further use cases for the o1 series across various platforms such as IDEs, Copilot Workspace, and GitHub itself, they anticipate uncovering more ways to expedite and enhance developer workflows.

The GitHub team remains optimistic about the future applications of the o1 series. They believe these initial tests only begin to uncover the potential of this technology in AI-powered software development. According to GitHub, "The advancements we're showcasing today barely scratch the surface of what developers will be able to build with o1-preview in GitHub Copilot. And with the expected evolution of both the o1 and GPT series, this is just the beginning."

Follow us on:
Follow us on LinkedIn Follow us on X
Share on:
Share on LinkedIn Share on X