Commit Graph

154 Commits

Author SHA1 Message Date
Andrej Karpathy 2efc197c8f oops readme smallfix 2023-07-28 04:36:53 +00:00
Andrej Karpathy 905c5c58d0 add mention of prompting into readme 2023-07-28 04:27:38 +00:00
Andrej Karpathy b4bb47bb7b big change: adding prompting. many LOC, but critical. ty @atamurad for the first draft, i ended up tuning it quite a bit. 2023-07-28 04:12:54 +00:00
Andrej Karpathy 568a651c45 slightly tune todos of the project 2023-07-27 23:03:35 +00:00
Andrej Karpathy e5752e1fc9 strip leading whitespace 2023-07-27 22:59:19 +00:00
Andrej Karpathy 25b50ee0e2 small stylistic fixes and adjustments, fix bug in Makefile, and change the timing code to skip the first (slow) iteration 2023-07-27 22:42:08 +00:00
Andrej Karpathy 0e1b0d4c93 Merge branch 'master' of github.com:karpathy/llama2.c 2023-07-27 22:22:03 +00:00
Andrej Karpathy 78952fb0b4 propagate the dropout flag 2023-07-27 22:20:31 +00:00
Andrej Karpathy 517763346d HF checkpoints i removed the optimizer to save space, init Adam without the first/second moments is ok 2023-07-27 22:20:07 +00:00
Andrej 747db60562 Merge pull request #133 from nikolaydubina/patch-1
Added Go ports
2023-07-27 15:08:21 -07:00
Andrej 6b3a689d96 Merge pull request #146 from admu-progvar/master
Add llama2.cpp to notable forks section
2023-07-27 15:07:58 -07:00
Franz Louis Cesista b63cb91303 Add llama2.cpp to notable forks section 2023-07-28 05:06:37 +08:00
Nikolay Dubina 459b9c8561 Merge branch 'master' into patch-1 2023-07-28 01:19:10 +08:00
Andrej cc66a2037e Merge pull request #86 from tairov/master
Add CI github actions workflow to verify builds on pull_request
2023-07-27 08:59:00 -07:00
Andrej Karpathy b6d63a973e Merge branch 'tairov-win-timing' 2023-07-27 15:43:58 +00:00
Andrej Karpathy 677bb8fddd Merge branch 'win-timing' of https://github.com/tairov/llama2.c into tairov-win-timing 2023-07-27 15:43:41 +00:00
Aydyn Tairov b4b9ef5c6c add github actions workflow to validate builds on changes in *.c, *.h files 2023-07-27 16:43:20 +01:00
Andrej 9253d458f1 Merge pull request #139 from tairov/gnu
Add Makefile target to support builds on amazon linux & centos
2023-07-27 08:35:57 -07:00
Aydyn Tairov 343572675f minor whitespaces cleanup 2023-07-27 16:33:21 +01:00
Aydyn Tairov acf1e18e8f remove second ifdefs for windows timing by introducing ported version of clock_gettime 2023-07-27 16:33:21 +01:00
Andrej 79933a8ab4 Merge pull request #137 from tatellos/master
Improve readme: clarify dependencies and other things to install
2023-07-27 08:30:20 -07:00
Andrej 4a4663a235 Merge pull request #134 from Manuel030/sync-with-upstream
add llama2.c-android to readme
2023-07-27 08:28:30 -07:00
Nikolay Dubina e970c275cf Update README.md 2023-07-27 22:47:34 +08:00
Aydyn Tairov 2566ddf744 add README section for centos 7 & amazon linux make target 2023-07-27 15:00:27 +01:00
Aydyn Tairov bddde3398a add Makefile option to support builds on amazon linux & centos 2023-07-27 14:59:28 +01:00
Mathias Arens abfcdf141e Improve readme: clarify dependencies and other things to install 2023-07-27 13:05:32 +02:00
Manuel Plank 9c0850daf7 add llama2.c-android to readme 2023-07-27 11:30:00 +02:00
Nikolay Dubina d2817771e5 Update README.md 2023-07-27 14:40:21 +08:00
Andrej Karpathy 4e23ad8399 touchups to readme: reshuffle todos, and add a windows note 2023-07-27 06:17:13 +00:00
Andrej Karpathy f19f50a744 stylistic changes for the windows support ifdefs 2023-07-27 06:08:40 +00:00
Andrej a03ce1ee6d Merge pull request #132 from richinseattle/master
add windows build commands
2023-07-26 23:00:33 -07:00
richinseattle b18d325660 add windows build commands 2023-07-26 22:58:48 -07:00
Andrej de6f2fc81c Merge pull request #130 from richinseattle/patch-3
Add Windows mmap
2023-07-26 22:52:14 -07:00
Andrej 14e90b506c Merge pull request #131 from tmc/patch-2
readme: Include reference to go port
2023-07-26 22:50:04 -07:00
Travis Cline 01c06fa83c readme: Include reference to go port
This adds a link to my go port of this project.
2023-07-26 22:44:15 -07:00
richinseattle 5b405a7004 Add Windows support files with mmap impl 2023-07-26 22:40:56 -07:00
richinseattle 4a6b7a471d Include windows support header (for mmap) 2023-07-26 22:40:01 -07:00
Andrej Karpathy b7efb1b5c9 Merge branch 'richinseattle-patch-2' 2023-07-27 05:23:49 +00:00
Andrej Karpathy 0d18fa7780 Merge branch 'patch-2' of https://github.com/richinseattle/llama2.c into richinseattle-patch-2 2023-07-27 05:23:05 +00:00
Andrej Karpathy eff1c1b425 Merge branch 'master' of github.com:karpathy/llama2.c 2023-07-27 05:20:59 +00:00
Andrej 5c55d59325 Merge pull request #128 from richinseattle/patch-1
update openmp pragmas for MSVC compatibility
2023-07-26 22:20:49 -07:00
richinseattle 37e8c20f4f Windows compat: Use GetTickCount for delta timer
Intentionally not including a windows header here to avoid merge conflict on include with mmap support. cl.exe doesn't complain, mingw warns.
2023-07-26 22:19:49 -07:00
Andrej Karpathy b35e82f63b Merge branch 'richinseattle-patch-1' 2023-07-27 05:18:39 +00:00
Andrej Karpathy 815ce33569 Merge branch 'patch-1' of https://github.com/richinseattle/llama2.c into richinseattle-patch-1 2023-07-27 05:15:52 +00:00
richinseattle 539dc73196 fix whitespace 2023-07-26 22:12:32 -07:00
Andrej 34cce6a6b5 Merge pull request #126 from som-sama/patch-1
Center align cute llama image in README
2023-07-26 22:09:34 -07:00
Andrej Karpathy 530ef8e778 light touchups to export script so one doesn't need to pass in a slash at the end 2023-07-27 05:08:45 +00:00
richinseattle 7f7a3b2d56 update openmp pragmas for MSVC compatibility
This has no negative impact on Linux and is in preparation for windows support. Windows compiles will not work without additional timer and mmap compatibility patches
2023-07-26 22:06:23 -07:00
Som 7887133145 Center align cute llama image in README
Added HTML code to center align the cute llama image in the README file. The image is wrapped in a <p> tag with the "align" attribute set to "center" for proper alignment. Additionally, an "alt" attribute is included for accessibility.
2023-07-27 09:26:20 +05:30
Andrej Karpathy 5f681b64b1 oops missed a section somehow, updating readme 2023-07-27 03:01:48 +00:00