X

Compare

Overview

OpenAI o1 vs Gemini for code Comparison in different aspects of AI services with data mining from genuine user reviews & ratings, including: ALL,Interesting,Helpfulness,Long Inference Time,Correctness. AI store is a platform of genuine user reviews,rating and AI generated contents, covering a wide range of categories including AI Image Generators, AI Chatbot & Assistant, AI Productivity Tool, AI Video Generator, AI in Healthcare, AI in Education, AI in Lifestyle, AI in Finance, AI in Business, AI in Law, AI in Travel, AI in News, AI in Entertainment, AI for Kids, AI for Elderly, AI Search Engine, AI Quadruped Robot.

Reviews Comparison

Recommended Tags



  • xiaolei98 2024-09-13 12:18
    Interesting:5,Helpfulness:5,Correctness:5

    I asked the OpenAI o1 model to implement the LLaMa Architecture LLM in python code using pytorch with a distill function. The overall response is excellent. It breaks down the tasks into a few steps, including : 1. Set Up Your Environment 2. Implement the LLaMa Architecture 3. Prepare the Distillation Process And as for the code it self, it consists of a few sections, including: Load the large LLaMa model and tokenizer. Prepare a smaller student model for distillation. Define a custom distillation loss function. Create a custom dataset for training. Set up a trainer with the distillation loss function. Train the student model using the teacher model. I actually examined the distill loss coding, which is the KL Divergence between the student logits and the teacher logits. The results are correct. """ loss = nn.functional.kl_div(student_probs, teacher_probs, reduction='batchmean') """



  • xiaolei98 2024-09-13 12:16
    Interesting:3,Helpfulness:5,Correctness:5

    I used the OpenAI o1 preview model to implement the frontend code of login and logout function of H5 mobile application and separate css, html and js code into separate files. The model's response to the front end code generation task is very helpful. And I actually copy and paste the code into a separate folder and tried it myself. The website front end is shown in the attached images. It is working to some extend, except that the CSS file is a little bit strange. The o1 model generates the code and also gives these explanations, including: index.html: Contains the structure of the login and logout pages. styles.css: Provides the styling for the pages to make them mobile-friendly. scripts.js: Handles the login and logout functionality. It uses localStorage to persist the logged-in state.



  • ai4science03 2024-09-13 08:54
    Interesting:3,Helpfulness:5,Long Inference Time:3,Correctness:5

    OpenAI o1 coding ability reviews of reasoning with LLM. In their official website, the prompt for OpenAI o1 is to "takes a matrix represented as a string with format '[1,2],[3,4],[5,6]' and prints the transpose in the same format."After comparing the results of o1 with GPT4o and the final scripts are actually much longer, o1 results have 70 lines of scripts but the GPT4o has only 31 lines of code. The key difference is how to "Build output string". Source: https://openai.com/index/learning-to-reason-with-llms/




  • wilsonz1989 2024-09-03 18:19
    Interesting:3,Helpfulness:3,Correctness:4

    Overall, Gemini did a good job though not optimal in the pytorch model coding test. I asked the same question on ChatGPT vs Gemini vs Claude. Among all these three platforms, Gemini‘s python code is correct but less concise. It also uses some unusual functions of pytorch package, such as """ context.permutate(0, 2, 1, 3).view(...) """. This is just a weighted average tensor operation, so this implementation is very uncommon and not necessary. And ChatGPT and Claude use the correct function for this operation, which is """ torch.einsum().reshape() """. Even though it's not a big deal, but generating common python code in Gemini is not optimal.



  • eileen0713 2024-07-04 08:27

    Gemini's results of data analysis and the feature of drawing plot really surprise me. It gives exactly the bar chart comparing the market capitalization of several companies. And I even double checked the July 2024 financial data, which is correct. It also gives me the results of the python code which draws the chart so that I can save it and modify the chart for later use. Really amazing!!!



  • DerekZZ 2024-06-18 14:24

    I asked Gemini to give an introduction to Maxwell equations and explain each terms in the equation. Overall it gives reasonable answers to explain Maxwell equations are a set of four equations. But It will be nice if the equation itself is provided before explaining the term. So Maybe it lacks of generation of the latex code of maxwell equation?