Initialize optimizer research workspace with official baselines and history-free coverage
Vendor pinned MeZO, AGZO, LOZO and LoREN sources with independent environments. Add direct in-place fix/adjust/node training, derived history-free basis gradients, development-best checkpoints and experiment tooling. Keep models, datasets, caches and credentials outside Git. Validation: 93 project tests passed; 521 vendored author files verified.
This commit is contained in:
commit
e0feabec8f
596 files changed
+87356
No files matched your search
@@ -0,0 +1,9 @@
|
||||
"""MeZO's Dataset API backed by the shared local assets, without global monkeypatching."""
|
||||
from datasets import load_from_disk
|
||||
from experiments_codebase.paths import paths
|
||||
|
||||
def load_dataset(name,config=None,**kwargs):
|
||||
alias='sst2' if name in ('glue','nyu-mll/glue') and config=='sst2' else ('drop' if name in ('drop','ucinlp/drop') else None)
|
||||
if alias is None:raise ValueError('This audited integration supports SST2 and DROP only')
|
||||
dataset=load_from_disk(str(paths()['data']/alias))
|
||||
return dataset[kwargs['split']] if 'split' in kwargs else dataset
|
||||
Reference in new issue
Block a user