mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
d07ab3e3ce
commit
5cfd1929f1
19 changed files with 708 additions and 452 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue