Upload code/exp/analysis/pool/step3_v32_2b.py with huggingface_hub
Browse files
code/exp/analysis/pool/step3_v32_2b.py
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""TASK.md step 3 (v32_2b) — thin wrapper: pool_steps.py --step 3 (see that module for the
|
| 3 |
+
rule, the log-prob extraction and the output row format). Output: exp/results/pool/step3/."""
|
| 4 |
+
import os
|
| 5 |
+
import sys
|
| 6 |
+
|
| 7 |
+
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
| 8 |
+
from pool_steps import main # noqa: E402
|
| 9 |
+
|
| 10 |
+
if __name__ == "__main__":
|
| 11 |
+
sys.argv = [sys.argv[0], "--step", "3"] + [x for x in sys.argv[1:] if x not in ("--step", "3")]
|
| 12 |
+
main()
|