I hereby claim:
- I am plitc on github.
- I am danielplominski (https://keybase.io/danielplominski) on keybase.
- I have a public key ASBmy74IABeN6f3Re_lzu4mnSMkz8kroXTKzo2oYUEFZ6go
To claim this, I am signing this object:
| #!/bin/sh | |
| ### LICENSE - (BSD 2-Clause) // ### | |
| # | |
| # Copyright (c) 2015, Daniel Plominski (Plominski IT Consulting) | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without modification, | |
| # are permitted provided that the following conditions are met: | |
| # |
I hereby claim:
To claim this, I am signing this object:
| """ | |
| 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 |