-
pretrain or full: train (nhưng timeout 12h) - đã có dapt, tapt, assembly
-
assembly: lấy từ pretrain, checkpoint để làm tiếp - assembly
python -m venv .venvActivate venv:
- Windows
.venv\Scripts\activate- Linux / macOS
source .venv/bin/activatepip install -r requirements.txtpython asmd_http.pynpm installnpm run compile
npm run watchPress F5 to start Extension Development Host for debugging.
pytestMake sure
vsceis installed:
npm install -g @vscode/vscenpx vsce packagecode --install-extension asm-suggest-0.0.2.vsixpython asm_cli.py --serverpython asm_cli.py --client --source "add 0x10..." --similarity "add var0..." --var var0=0x10 --var var1=esi | python asmd.pypython asm_cli.py --source "add 0x10 to the current byte in esi" --similarity "add var0 to current byte in var1" --var var0=0x10 --var var1=esi --jsonpython asmd.py
{"source":"add 0x10 to the current byte in esi","similarity":"add var0 to current byte in var1","var_map":{"var0":"0x10","var1":"esi"}}$env:TRANSFORMERS_VERBOSITY="error"