-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Karpathy's AutoResearch with Memory-in-the-Loop States by The Adimension #302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
habanwer
wants to merge
11
commits into
karpathy:master
Choose a base branch
from
habanwer:autoresearch/memory-in-the-loop
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+621
−190
Open
Changes from 9 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
331367c
ground.json [NEW] — externalize platform config from karpathy/autores…
habanwer 1aa243a
model.json [NEW] — externalize hyperparameters from karpathy/autorese…
habanwer 235bc5c
prepare.py [MODIFIED +125/-17] — add GPU platform detection, read con…
habanwer 1ac6081
train.py [MODIFIED +194/-55] — load from model.json, import PLATFORM,…
habanwer 059b937
program.md [MODIFIED +96/-114] — structured agent protocol replacing …
habanwer 849b0fd
.gitignore [MODIFIED +5/-2] — update ignore rules for multi-GPU workflow
habanwer 64850c1
analysis.ipynb [MODIFIED metadata] — update kernel to Python 3.12.10
habanwer e382d90
README.md [MODIFIED] — add Memory-in-the-Loop fork introduction with …
habanwer 6181369
Address review feedback: fix eval_steps guard, ground.json validation…
habanwer ecab7a7
Agent Instructions - Experiment AutoResearch with Memory in the Loop
habanwer 1d3afbc
Merge branch 'karpathy:master' into autoresearch/memory-in-the-loop
habanwer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| { | ||
| "codename": "mar15-2-rtx5000", | ||
| "mode": "test", | ||
|
|
||
| "data": { | ||
| "cache_dir": "~/.cache/autoresearch", | ||
| "base_url": "https://huggingface.co/datasets/karpathy/climbmix-400b-shuffle/resolve/main", | ||
| "max_shard": 6542, | ||
| "val_shard": 6542, | ||
| "num_shards": 10, | ||
| "download_workers": 8 | ||
| }, | ||
|
|
||
| "tokenizer": { | ||
| "vocab_size": 8192, | ||
| "split_pattern": "'(?i:[sdmt]|ll|ve|re)|[^\\r\\n\\p{L}\\p{N}]?+\\p{L}+|\\p{N}{1,2}| ?[^\\s\\p{L}\\p{N}]++[\\r\\n]*|\\s*[\\r\\n]|\\s+(?!\\S)|\\s+", | ||
| "special_tokens_count": 4, | ||
| "bos_token": "<|reserved_0|>" | ||
| }, | ||
|
|
||
| "training": { | ||
| "max_seq_len": 2048, | ||
| "time_budget_test": 60, | ||
| "time_budget_train": 300, | ||
| "eval_tokens_multiplier": 40, | ||
| "eval_tokens_unit": 524288, | ||
| "max_run_wall_seconds": 30 | ||
| }, | ||
|
|
||
| "processor": { | ||
| "dtype": "auto", | ||
| "compile": "auto", | ||
| "flash_attention": "auto", | ||
| "peak_flops": "auto" | ||
| } | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| { | ||
| "architecture": { | ||
| "depth": 8, | ||
| "aspect_ratio": 128, | ||
| "head_dim": 64, | ||
| "window_pattern": "SL" | ||
| }, | ||
|
|
||
| "optimization": { | ||
| "total_batch_size_power": 17, | ||
| "device_batch_size": 16, | ||
| "embedding_lr": 0.1, | ||
| "unembedding_lr": 0.002, | ||
| "matrix_lr": 0.01, | ||
| "scalar_lr": 0.25, | ||
| "weight_decay": 0.01, | ||
| "adam_betas": [0.8, 0.95], | ||
| "warmup_ratio": 0.2, | ||
| "warmdown_ratio": 0.75, | ||
| "final_lr_frac": 0.1 | ||
| }, | ||
|
|
||
| "evaluation": { | ||
| "batch_size": 16, | ||
| "tokens": 3145728 | ||
| } | ||
| } |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.