3 ms·
That's because it's not following instructions like ChatGPT, it's just trying to guess that could plausibly come after what you put, like Copilot or the old GPT
by circuit10 4y ago
That's because it's not following instructions like ChatGPT, it's just trying to guess that could plausibly come after what you put, like Copilot or the old GPT-3 models
- minkzilla 4y agoand imports are (almost) always at the top of your file not with this function
- vharuck 4y agoI tried the same input, except wrapping it in triple-quotes instead of commenting it. So that it would match the standard practice for module doc strings. Here's the result: """python function that returns a random integer between min and max""" return random.randint(min, max) def gen_random_float(min, max): """python function that returns a random float between min and max""" return random.uniform( So, it assumed the triple-quote was a function's doc string, despite it not being indented. It then assumes I'll want a similar function for floats (I assume it was cut off by a token limit).
- jeremyjh 4y agoIsn’t ChatGPT also just generating plausible text that could be a response to an instruction?
- whimsicalism 4y agoIt's not generating the most likely next word in the 'meta-corpora' of all possible discussions similar to the ones it has been trained on, it is trying to generate plausible text that would be scored well as a helpful assistant - and in the process has transferred knowledge acquired from its pre-training task.
- travisjungroth 4y agoYeah, at their core they’re both trying to guess/generate what comes next. Differences: Being trained towards conversations versus code. Hyperparameters set to stop differently. “Wrappers” that form the prompt.
- circuit10 4y ago"that could be a response to an instruction" is the critical part here