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 inference 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
| /* | |
| =========================================== | |
| FindText - Capture screen image into text and then find it | |
| https://autohotkey.com/boards/viewtopic.php?f=6&t=17834 | |
| FindText() approaches the search differently than built-in ImageSearch. Think 1980's ASCII art. This function abstracts the screen's image into representative 0's and _'s. | |
| Author : FeiYue | |
| Version : 5.2 | |
| Date : 2017-06-10 | |
| Usage: |
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
| /** | |
| * Advanced Window Snap (Extended | |
| * Snaps the Active Window to one of nine different window positions. | |
| * | |
| * @Editing author Jarrett Urech | |
| * @Original author Andrew Moore <andrew+github@awmoore.com> | |
| * @version 2.1 | |
| * | |
| **/ |