[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-02-06 06:46:14 +00:00 committed by Jai Suphavadeeprasit
parent d07ab3e3ce
commit 5cfd1929f1
19 changed files with 708 additions and 452 deletions

View file

@ -122,11 +122,11 @@ if [ -d "$LOG_DIR/checkpoints" ]; then
if [ -n "$LATEST_ADAPTER" ]; then
echo ""
echo "Post-training test with adapter: $LATEST_ADAPTER"
curl -s -X POST "http://localhost:${VLLM_PORT}/lora/load" \
-H "Content-Type: application/json" \
-d '{"adapter_path": "'"$LATEST_ADAPTER"'"}' | jq
echo ""
echo "Response after training:"
curl -s -X POST "http://localhost:${VLLM_PORT}/generate" \
@ -138,4 +138,3 @@ if [ -d "$LOG_DIR/checkpoints" ]; then
}' | jq '.text[0]' | tee "${LOG_DIR}/trained_response.txt"
fi
fi