Human-written demonstration (OpenAssistant volunteers)· OpenAssistant (human-written)
OpenAssistant Conversations (oasst2)
Escribe en el lenguaje de programación Python un hola mundo!
In OpenAssistant data, “assistant” turns were written by human volunteers as demonstrations. They are not model outputs.
- User
Escribe en el lenguaje de programación Python un hola mundo!
- Assistant
Escribir un "hola mundo!" en Python es sencillo, el código es tan simple como este:
codeprint("Hola Mundo!")Los pasos a seguir serían los siguientes:
- Abre tu editor de texto favorito (vim, vscode, notepad, ...)
- Pega el código.
- Guarda el fichero con el nombre
hola.py. - Abre una consola y ejecútalo con el comando
python hola.py.
En la consola debería aparecer el mensaje.
Te recomiendo seguir el tutorial oficial para aprender Python. Lo puedes encontrar aqui: https://docs.python.org/es/3/tutorial/
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.