this post was submitted on 05 Jul 2023
6 points (100.0% liked)

Actually Useful AI

2010 readers
7 users here now

Welcome! ๐Ÿค–

Our community focuses on programming-oriented, hype-free discussion of Artificial Intelligence (AI) topics. We aim to curate content that truly contributes to the understanding and practical application of AI, making it, as the name suggests, "actually useful" for developers and enthusiasts alike.

Be an active member! ๐Ÿ””

We highly value participation in our community. Whether it's asking questions, sharing insights, or sparking new discussions, your engagement helps us all grow.

What can I post? ๐Ÿ“

In general, anything related to AI is acceptable. However, we encourage you to strive for high-quality content.

What is not allowed? ๐Ÿšซ

General Rules ๐Ÿ“œ

Members are expected to engage in on-topic discussions, and exhibit mature, respectful behavior. Those who fail to uphold these standards may find their posts or comments removed, with repeat offenders potentially facing a permanent ban.

While we appreciate focus, a little humor and off-topic banter, when tasteful and relevant, can also add flavor to our discussions.

Related Communities ๐ŸŒ

General

Chat

Image

Open Source

Please message @[email protected] if you would like us to add a community to this list.

Icon base by Lord Berandas under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
 

I haven't tried this yet, but I have a feeling that it would fail for anything nontrivial. Nevertheless, the concept is very interesting, and as soon as I get API access to GPT-4, I will try it.

I've recently ported a library from TypeScript to Python with the help of ChatGPT (GPT-4), and it took me about a day. It would be interesting to run this tool on the same codebase and compare the results.

If anyone has GPT-4 API access, I would really appreciate if they tried running this tool on something simple, and wrote about the result in the comments.

all 9 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 5 points 1 year ago

One the one hand I would love to learn a new language by migrating my code into the target language, for example Python to Rust. On the other hand, I am extremely wary about learning things incorrectly. I have already seen people treating Chat-GPT outputs as truth, when really, GPT does not guarantee factual correctness.

Still, I am excited for when the whole NLP ecosystem matures and there are checks and balances to the outputs.

[โ€“] sisyphean 2 points 1 year ago (1 children)
[โ€“] AutoTLDR 1 points 1 year ago (1 children)

TL;DR: (AI-generated ๐Ÿค–)

This text appears to be a series of technical instructions or notifications related to using a coding platform or repository. It mentions signing in and out, switching accounts, migrating codebases between frameworks or languages, and encountering issues with preparing a "codespace."

Under the Hood

  • This is a link post, so I fetched the text at the URL and summarized it.
  • My maximum input length is set to 12000 characters. The text was short enough, so I did not truncate it.
  • I used the gpt-3.5-turbo model from OpenAI to generate this summary using the prompt "Summarize this text in one paragraph. Include all important points."
  • I can only generate 100 summaries per day. This was number 0.

How to Use AutoTLDR

  • Just mention me ("@AutoTLDR") in a comment or post, and I will generate a summary for you.
  • If mentioned in a comment, I will try to summarize the parent comment, but if there is no parent comment, I will summarize the post itself.
  • If the parent comment contains a link, or if the post is a link post, I will summarize the content at that link.
  • If there is no link, I will summarize the text of the comment or post itself.
  • ๐Ÿ”’ If you include the #nobot hashtag in your profile, I will not summarize anything posted by you.

[โ€“] sisyphean 1 points 1 year ago* (last edited 1 year ago) (2 children)

Looks like you have a problem with extracting just the README from GitHub. Let's see if you can read the raw link: https://raw.githubusercontent.com/0xpayne/gpt-migrate/main/README.md

[โ€“] AutoTLDR 2 points 1 year ago

I'm sorry, I can't summarize my own comments.

[โ€“] sisyphean 1 points 1 year ago (1 children)
[โ€“] AutoTLDR 2 points 1 year ago (1 children)

TL;DR: (AI-generated ๐Ÿค–)

GPT-Migrate is a project that aims to make it easier to migrate a codebase from one framework or language to another. It acknowledges that migration is a costly and tedious process but believes that with the help of the open-source community and the current state of Language Models (LLMs), it is a solvable problem. The project recommends using Docker and preferably GPT-4 or GPT-4-32k, and setting the OpenAI API key before installing the Python requirements. It also advises caution and responsible use, as the costs can add up quickly and GPT-Migrate is designed to potentially rewrite the entire codebase.

Under the Hood

  • There was a link in the parent comment, so I fetched the text at the URL and summarized it.
  • My maximum input length is set to 12000 characters. The text was short enough, so I did not truncate it.
  • I used the gpt-3.5-turbo model from OpenAI to generate this summary using the prompt "Summarize this text in one paragraph. Include all important points."
  • I can only generate 100 summaries per day. This was number 0.

How to Use AutoTLDR

  • Just mention me ("@AutoTLDR") in a comment or post, and I will generate a summary for you.
  • If mentioned in a comment, I will try to summarize the parent comment, but if there is no parent comment, I will summarize the post itself.
  • If the parent comment contains a link, or if the post is a link post, I will summarize the content at that link.
  • If there is no link, I will summarize the text of the comment or post itself.
  • ๐Ÿ”’ If you include the #nobot hashtag in your profile, I will not summarize anything posted by you.

[โ€“] sisyphean 3 points 1 year ago

Oh finally. Sorry everyone for this train wreck of a thread.