Update EXPERIMENTS_LOG.md
Browse files- EXPERIMENTS_LOG.md +152 -0
EXPERIMENTS_LOG.md
CHANGED
|
@@ -317,4 +317,156 @@ Resolving data files: 100%|█████████████████
|
|
| 317 |
"example_token_offset": 0,
|
| 318 |
"step": 0
|
| 319 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 320 |
}
|
|
|
|
| 317 |
"example_token_offset": 0,
|
| 318 |
"step": 0
|
| 319 |
}
|
| 320 |
+
}
|
| 321 |
+
|
| 322 |
+
|
| 323 |
+
root@a1a0f92ae357:/workspace/lol# uv run python v5/eval_inverter_v5_expert_noise_sweep.py \
|
| 324 |
+
--idx openwebtext_slice2m_ex200000_idx.npy \
|
| 325 |
+
--dataset vietgpt/openwebtext_en \
|
| 326 |
+
--model openai/gpt-oss-20b \
|
| 327 |
+
--seq-len 32 --layers 24 \
|
| 328 |
+
--max-tokens 2000000 --sample-tokens 20000 \
|
| 329 |
+
--batch-size 8 --topk 1,5,10 \
|
| 330 |
+
--checkpoint inverter_v5_l10_multihot.pt \
|
| 331 |
+
--d-model 768 --n-layer 6 --n-head 12 --d-ff 2048 \
|
| 332 |
+
--layer-hidden 64 --layer-proj 64 \
|
| 333 |
+
--logit-softcap 30 --layer-gating \
|
| 334 |
+
--attn-impl flash \
|
| 335 |
+
--start-state slice_start_ex200000.json \
|
| 336 |
+
--seed 0 \
|
| 337 |
+
--hard-exit
|
| 338 |
+
Starting from --start-state: tokens_seen=0 example_index=200000 example_token_offset=0 step=0
|
| 339 |
+
Resolving data files: 100%|████████████████████████| 20/20 [00:00<00:00, 12187.43it/s]
|
| 340 |
+
{
|
| 341 |
+
"tokens": 20000,
|
| 342 |
+
"total_selections": 1920000,
|
| 343 |
+
"layers": 24,
|
| 344 |
+
"router_topk": 4,
|
| 345 |
+
"num_experts": 32,
|
| 346 |
+
"topk": [
|
| 347 |
+
1,
|
| 348 |
+
5,
|
| 349 |
+
10
|
| 350 |
+
],
|
| 351 |
+
"seed": 0,
|
| 352 |
+
"noise_rates": [
|
| 353 |
+
0.0,
|
| 354 |
+
0.1,
|
| 355 |
+
0.2,
|
| 356 |
+
0.3,
|
| 357 |
+
0.4,
|
| 358 |
+
0.5,
|
| 359 |
+
0.6,
|
| 360 |
+
0.7,
|
| 361 |
+
0.8,
|
| 362 |
+
0.9
|
| 363 |
+
],
|
| 364 |
+
"sweep": [
|
| 365 |
+
{
|
| 366 |
+
"noise_rate": 0.0,
|
| 367 |
+
"corrupted_selections": 0,
|
| 368 |
+
"corrupted_fraction_of_selections": 0.0,
|
| 369 |
+
"accuracy": {
|
| 370 |
+
"1": 0.9246,
|
| 371 |
+
"5": 0.95225,
|
| 372 |
+
"10": 0.9577
|
| 373 |
+
}
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"noise_rate": 0.1,
|
| 377 |
+
"corrupted_selections": 192150,
|
| 378 |
+
"corrupted_fraction_of_selections": 0.100078125,
|
| 379 |
+
"accuracy": {
|
| 380 |
+
"1": 0.8495,
|
| 381 |
+
"5": 0.92405,
|
| 382 |
+
"10": 0.9365
|
| 383 |
+
}
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"noise_rate": 0.2,
|
| 387 |
+
"corrupted_selections": 384922,
|
| 388 |
+
"corrupted_fraction_of_selections": 0.20048020833333333,
|
| 389 |
+
"accuracy": {
|
| 390 |
+
"1": 0.7106,
|
| 391 |
+
"5": 0.84445,
|
| 392 |
+
"10": 0.8712
|
| 393 |
+
}
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"noise_rate": 0.3,
|
| 397 |
+
"corrupted_selections": 576725,
|
| 398 |
+
"corrupted_fraction_of_selections": 0.30037760416666665,
|
| 399 |
+
"accuracy": {
|
| 400 |
+
"1": 0.5306,
|
| 401 |
+
"5": 0.70185,
|
| 402 |
+
"10": 0.74955
|
| 403 |
+
}
|
| 404 |
+
},
|
| 405 |
+
{
|
| 406 |
+
"noise_rate": 0.4,
|
| 407 |
+
"corrupted_selections": 768106,
|
| 408 |
+
"corrupted_fraction_of_selections": 0.40005520833333336,
|
| 409 |
+
"accuracy": {
|
| 410 |
+
"1": 0.34935,
|
| 411 |
+
"5": 0.5246,
|
| 412 |
+
"10": 0.58145
|
| 413 |
+
}
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"noise_rate": 0.5,
|
| 417 |
+
"corrupted_selections": 960347,
|
| 418 |
+
"corrupted_fraction_of_selections": 0.5001807291666667,
|
| 419 |
+
"accuracy": {
|
| 420 |
+
"1": 0.2057,
|
| 421 |
+
"5": 0.3411,
|
| 422 |
+
"10": 0.3963
|
| 423 |
+
}
|
| 424 |
+
},
|
| 425 |
+
{
|
| 426 |
+
"noise_rate": 0.6,
|
| 427 |
+
"corrupted_selections": 1152250,
|
| 428 |
+
"corrupted_fraction_of_selections": 0.6001302083333333,
|
| 429 |
+
"accuracy": {
|
| 430 |
+
"1": 0.10425,
|
| 431 |
+
"5": 0.1931,
|
| 432 |
+
"10": 0.2362
|
| 433 |
+
}
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"noise_rate": 0.7,
|
| 437 |
+
"corrupted_selections": 1344639,
|
| 438 |
+
"corrupted_fraction_of_selections": 0.7003328125,
|
| 439 |
+
"accuracy": {
|
| 440 |
+
"1": 0.0444,
|
| 441 |
+
"5": 0.0924,
|
| 442 |
+
"10": 0.12095
|
| 443 |
+
}
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"noise_rate": 0.8,
|
| 447 |
+
"corrupted_selections": 1535823,
|
| 448 |
+
"corrupted_fraction_of_selections": 0.7999078125,
|
| 449 |
+
"accuracy": {
|
| 450 |
+
"1": 0.0152,
|
| 451 |
+
"5": 0.0358,
|
| 452 |
+
"10": 0.05015
|
| 453 |
+
}
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"noise_rate": 0.9,
|
| 457 |
+
"corrupted_selections": 1727960,
|
| 458 |
+
"corrupted_fraction_of_selections": 0.8999791666666667,
|
| 459 |
+
"accuracy": {
|
| 460 |
+
"1": 0.004,
|
| 461 |
+
"5": 0.01035,
|
| 462 |
+
"10": 0.01645
|
| 463 |
+
}
|
| 464 |
+
}
|
| 465 |
+
],
|
| 466 |
+
"start_state": {
|
| 467 |
+
"tokens_seen": 0,
|
| 468 |
+
"example_index": 200000,
|
| 469 |
+
"example_token_offset": 0,
|
| 470 |
+
"step": 0
|
| 471 |
+
}
|
| 472 |
}
|