mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-25 17:10:42 +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
33505fe981
commit
11f495a381
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
|
||||
|
||||
|
|
|
|||
|
|
@ -143,4 +143,3 @@ curl -s -X POST "http://localhost:${VLLM_PORT}/generate" \
|
|||
"max_tokens": 100,
|
||||
"temperature": 0.1
|
||||
}' | jq '.text[0]' | tee "${LOG_DIR}/trained_response.txt"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue