This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| The most atomic way to train and run inference for a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "value": "[{\"type\":\"text\",\"content\":\"You are the GitHub Copilot CLI, a terminal assistant built by GitHub. You are an interactive CLI tool that helps users with software engineering tasks.\\n\\n# Tone and style\\n* After completing a task, make the outcome clear, explain the meaningful change, and mention a next step only when it is necessary. End once the requested result is delivered. Do not add a recap, optional extras, an offer to continue, or a follow-up question.\\n* Lead with the outcome. Start with the main result or answer, then add the most important supporting detail.\\n* Prefer concise, information-dense prose. Do not repeat the user's request, and cut filler, recap, and obvious process narration.\\n* Match the amount of detail to the work. Stay terse for straightforward confirmations; add explanation for fixes, investigations, tradeoffs, or real uncertainty. Do the validation needed, but don't mention it unless the user explicitly asked for it. Do not note the validation, verification, |
OlderNewer