X

ChatGPT for Programming

You can use ChatGPT to generate codes for different programming languages, e.g. Java, C++, Python, Latex, etc.

Prompts

1

how to implement a sandbox environment for python with docker and container

2

how to export prompt and completion data in json format and convert to parquet format

3

implement self attention layer in transformer in python code using pytorch package

Reviews

Tags


  • DerekZZ 2024-11-05 12:16
    Interesting:4,Helpfulness:4,Website Frontend:3,Correctness:4
    Prompt: how to implement a sandbox environment for python with docker and container

    I asked ChatGPT (GPT4o) question about python coding "sandbox python programs with Docker environment". The responses are helpful and the generated code samples are clear. But the website front end is having a URL rendering issue of the "Docker installation guide". The font is highlighted so it means it's a link. But there is no href or URL associated with the text and I can't find the installation guide it refers to. Is it a known problem? Reproducing links: https://chatgpt.com/share/67298cb0-47c0-8005-96ea-0562df9f7158


  • ChenYZ 2024-10-29 12:08
    Interesting:4,Helpfulness:5,Correctness:5
    Prompt: how to export prompt and completion data in json format and convert to parquet format

    I asked ChatGPT (GPT 4o) a coding related questions "export prompt and completion data in json format and convert to parquet format", and the python code generated by ChatGPT are quite good. It gives me examples of detailed json data format, python code to convert raw json data to Parquet format and even recommends all the python libs requirements. Very helpful response from ChatGPT(GPT4o) !!! Responses from ChatGPT: Step 1: Export Data in JSON Format Step 2: Convert JSON to Parquet using Python Explanation of the Code Prerequisites. And the ChatGPT dialogue sharing link is here: https://chatgpt.com/share/67205caa-a068-8005-be6b-76eeed480fbe


  • wilsonz1989 2024-09-03 18:24
    Interesting:3,Helpfulness:3,Correctness:5
    Prompt: implement self attention layer in transformer in python code using pytorch package

    ChatGPT did a good job on this python code test, which is to "implement self attention layer in transformer using pytorch package". Overall, the python code is correct and concise. After comparing ChatGPT vs Gemini vs Claude for coding, I find that the overall response from ChatGPT lacks of detailed explanation of meanings of each section of the code, which is less helpful than the response from Claude Sonnet.


  • wilsonz1989 2024-06-19 00:40

    My question for ChatGPT is "Show me the latex code of KL Divergence". Even though it gives me the latex code for KL Divergence already in the front, it provides a lot of unrelated information of basic latex usage such as how to include the package, which is not very relevant to my original intent.


  • William Garcia 2024-06-19 00:37

    I asked ChatGPT to write the python code for QuickSort Implementation. The results are attached. Pretty Amazing, right?

Write Your Review

Detailed Ratings

ALL
Correctness
Helpfulness
Interesting
Upload Pictures and Videos