agentsclimarketplace

Run3 run simpo with python310 and log

Skill cxcscmu/SkillLearnBench/skills/b3-teacher-feedback-claude-sonnet-4-6/nlp-paper-reproduction/run3_run-simpo-with-python310-and-log

Use this skill to execute the SimPO unit test with Python 3.10, save the loss results to /root/loss.npz, and log Python version and package info to /root/python_info.txt using the correct Python 3.10 executable.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill run3_run-simpo-with-python310-and-log

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.6 KB, 438 tokens by cl100k_base, as published. Nobody here has run it

Run SimPO Unit Test with Python 3.10 and Log Environment

Step 1: Confirm Python 3.10 executable path

PYTHON310=$(which python3.10 2>/dev/null || echo "/usr/bin/python3.10")
echo "Using Python: $PYTHON310"
$PYTHON310 --version

Step 2: Log Python version and packages to /root/python_info.txt

PYTHON310=$(which python3.10 2>/dev/null || echo "/usr/bin/python3.10")

# Overwrite python_info.txt with python3.10 info
$PYTHON310 -VV > /root/python_info.txt 2>&1
echo "---" >> /root/python_info.txt
$PYTHON310 -m pip freeze >> /root/python_info.txt 2>&1

echo "Logged to /root/python_info.txt"
cat /root/python_info.txt | head -5

Step 3: Run the unit test with Python 3.10

PYTHON310=$(which python3.10 2>/dev/null || echo "/usr/bin/python3.10")
cd /root/SimPO
$PYTHON310 /root/SimPO/unit_test/unit_test_1.py

Step 4: Verify the output file

PYTHON310=$(which python3.10 2>/dev/null || echo "/usr/bin/python3.10")
$PYTHON310 -c "
import numpy as np
data = np.load('/root/loss.npz')
print('Keys:', list(data.keys()))
print('Losses:', data['losses'])
"

Important Notes

  • Always use python3.10 (or the resolved path) — never use python or python3 which may resolve to 3.12
  • The python -VV and pip freeze in python_info.txt must come from the 3.10 binary
  • If python3.10 -m pip fails, first run: python3.10 -m ensurepip --upgrade

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.