4e_65_6f t1_j0qjafm wrote
Reply to comment by coumineol in How far off is an AI like ChatGPT that is capable of being fed pdf textbooks and it being able to learn it all instantly. by budweiser431
I didn't know there was a limit. It worked for my code that's 120+ lines of code so I figured it would also work for books.
oddonebetween t1_j0rdxze wrote
It's really inconsistent with code. I've given it a few snippets of code and it never gives a fully correct answer. It's terrible at connecting things. Haven't had much luck with it with React Redux and that's all about connecting the state.
4e_65_6f t1_j0rf0hq wrote
I found that it works better if you keep it short, like tell it to write just a function or a small part of the code rather than the whole thing. Also explain in obnoxious detail what is supposed to be happening and it often gets it right.
It's really good at improving already written code also, I used it to make my code shorter and more efficient.
BinaryMan151 t1_j0tem1w wrote
I tested it and asked it to write a loop counting down from 10 - 1 in C++ and it did it perfectly. It created a for loop and the code was there. It even instructed me how to run the program.
RichardKingg t1_j0rjk30 wrote
I was using davinci-03 and switched to ChatGPT, I feel it is better at throwing some good results (I'm programming with JavaScript).
I even asked it to create intermediate exercices for module patterns and it definitely nailed it, I suppose it has a lot to do with prompts and how long is the code you are feeding it.
oddonebetween t1_j0tpc39 wrote
I'm also programming with JavaScript. Yeah it's good for really short functions but that's about it in my experience. But I'll try improve my prompts.
ChronoPsyche t1_j0sekj8 wrote
The token limit consists of about 1500 words. It's not entirely clear what happens when it reaches that limit. In GPT3, it just stops being responsive after 1500 words. For ChatGPT, I think it may just progressively dump its memory to avoid the session being interrupted, although, I've also had it getting network errors or just getting really slow at responding after a long conversation, so I'm not entirely sure. The point is that it stops working as intended after around 1500 words or at the very least forgets things said 1500 words prior.
Viewing a single comment thread. View all comments