From c1fc2a8409929698a160bafad53d1975ab820e28 Mon Sep 17 00:00:00 2001 From: Adamantios Date: Wed, 5 Jun 2024 17:00:59 +0300 Subject: [PATCH 1/2] chore: ignore `native-transfer` tool --- run_service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_service.sh b/run_service.sh index 28833712..a7157109 100755 --- a/run_service.sh +++ b/run_service.sh @@ -1060,7 +1060,7 @@ export BET_THRESHOLD=100000000000000000 export TRADING_STRATEGY=kelly_criterion export STRATEGIES_KWARGS='[["bet_kelly_fraction",1.5],["floor_balance",500000000000000000],["bet_amount_per_threshold",{"0.0":0,"0.1":0,"0.2":0,"0.3":0,"0.4":0,"0.5":0,"0.6":60000000000000000,"0.7":80000000000000000,"0.8":160000000000000000,"0.9":1000000000000000000,"1.0":1000000000000000000}]]' export PROMPT_TEMPLATE="Please take over the role of a Data Scientist to evaluate the given question. With the given question \"@{question}\" and the \`yes\` option represented by \`@{yes}\` and the \`no\` option represented by \`@{no}\`, what are the respective probabilities of \`p_yes\` and \`p_no\` occurring?" -export IRRELEVANT_TOOLS='["prediction-online-lite","claude-prediction-online-lite","prediction-online-sme-lite","prediction-request-reasoning-lite","prediction-request-reasoning-claude-lite","prediction-request-rag","prediction-request-reasoning-claude","prediction-url-cot-claude","claude-prediction-offline","claude-prediction-online","prediction-offline-sme","deepmind-optimization", "deepmind-optimization-strong", "openai-gpt-3.5-turbo", "openai-gpt-3.5-turbo-instruct", "openai-gpt-4", "openai-text-davinci-002", "openai-text-davinci-003", "prediction-online-sum-url-content", "prediction-online-summarized-info", "stabilityai-stable-diffusion-512-v2-1", "stabilityai-stable-diffusion-768-v2-1", "stabilityai-stable-diffusion-v1-5", "stabilityai-stable-diffusion-xl-beta-v2-2-2"]' +export IRRELEVANT_TOOLS='["native-transfer","prediction-online-lite","claude-prediction-online-lite","prediction-online-sme-lite","prediction-request-reasoning-lite","prediction-request-reasoning-claude-lite","prediction-request-rag","prediction-request-reasoning-claude","prediction-url-cot-claude","claude-prediction-offline","claude-prediction-online","prediction-offline-sme","deepmind-optimization", "deepmind-optimization-strong", "openai-gpt-3.5-turbo", "openai-gpt-3.5-turbo-instruct", "openai-gpt-4", "openai-text-davinci-002", "openai-text-davinci-003", "prediction-online-sum-url-content", "prediction-online-summarized-info", "stabilityai-stable-diffusion-512-v2-1", "stabilityai-stable-diffusion-768-v2-1", "stabilityai-stable-diffusion-v1-5", "stabilityai-stable-diffusion-xl-beta-v2-2-2"]' export STAKING_CONTRACT_ADDRESS=$CUSTOM_STAKING_ADDRESS export DISABLE_TRADING=false export STOP_TRADING_IF_STAKING_KPI_MET=true From 7d146af060260ab2f422012e608bb5e33d06542c Mon Sep 17 00:00:00 2001 From: Adamantios Date: Wed, 5 Jun 2024 17:02:45 +0300 Subject: [PATCH 2/2] feat: remove the warm start The weights were set to 0 in https://github.com/valory-xyz/trader-quickstart/pull/70, and therefore the warm start is not appropriate since then. --- run_service.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run_service.sh b/run_service.sh index a7157109..99d26628 100755 --- a/run_service.sh +++ b/run_service.sh @@ -1109,7 +1109,8 @@ export OPEN_AUTONOMY_PRIVATE_KEY_PASSWORD="$password" && poetry run autonomy dep cd .. -warm_start +# warm start is disabled as no global weights are provided to calibrate the tools' weights +# warm_start add_volume_to_service "$PWD/trader_service/abci_build/docker-compose.yaml" "trader_abci_0" "/data" "$PWD/../$store/" sudo chown -R $(whoami) "$PWD/../$store/"