Model: Xirui1208/selective-readtwice-7b-early-evaluated-20260928 Source: Original Platform
8 lines
362 B
Python
8 lines
362 B
Python
import json
|
|
from pathlib import Path
|
|
r = Path(__file__).resolve().parent
|
|
c = json.loads((r/'config.template.json').read_text())
|
|
c.update(model_path=str(r.parent), source_repo=str(r), workspace_root=str(r.parent))
|
|
(r/'config.json').write_text(json.dumps(c, indent=2)+'\n')
|
|
print('Configured frozen reader and gate paths; start reader services before inference.')
|