Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
rawsh authored Nov 11, 2024
1 parent 0338404 commit 29a4a65
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mcts/tree_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# URLs and configuration
# POLICY_URL = 'https://rawsh--vllm-qwen-ft-serve.modal.run/v1/'
POLICY_MODEL_NAME = 'mirrorqwen2.5-0.5b-SimPO-2'
POLICY_MODEL_NAME = 'mirrorqwen2.5-0.5b-SimPO-3'
POLICY_URL = 'https://rawsh--vllm-qwen-simpo-serve.modal.run/v1/'
PRM_URL = 'https://rawsh--mirrorqwen-prm-embedder-score-output.modal.run'
API_KEY = '9FF74944EED19865193F979942FB1'
Expand Down
3 changes: 2 additions & 1 deletion modal_prm_reward.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ class Embedder:
# revision = "42e07d1b708282ac2aae338050d8116f8c69398d" # st0
# revision = "65f4a7601dffacc40e0ef7fa4733d346c926bd18" # st1 v1
# revision = "80da7ccc4f107e0cb6bf937d61be4702badfb96b" # st1 v2
revision = "4d618515c90069993f4b32e4201783efdeebbc22" # st2
# revision = "4d618515c90069993f4b32e4201783efdeebbc22" # st2
revesion = "b052380b619e5c62ce9f407522362f5caf7b8346" # st3
device = "cuda"
print(model_id)

Expand Down
6 changes: 4 additions & 2 deletions modal_vllm.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ def download_model_to_image(model_dir, model_name, model_revision):
# st1 v2
# MODEL_NAME = "rawsh/mirrorqwen2.5-0.5b-SimPO-1"
# MODEL_REVISION = "9e6d25903688b5678bdbe333c537a58488212024"
MODEL_NAME = "rawsh/mirrorqwen2.5-0.5b-SimPO-2"
MODEL_REVISION = "a41b6dd0307cf080a83cf20efc25bbf025b47852"
# MODEL_NAME = "rawsh/mirrorqwen2.5-0.5b-SimPO-2"
# MODEL_REVISION = "a41b6dd0307cf080a83cf20efc25bbf025b47852"
MODEL_NAME = "rawsh/mirrorqwen2.5-0.5b-SimPO-3"
MODEL_REVISION = "4bf9608e31850cf1020de695d99f0c1fb9e0575f"

vllm_image = (
modal.Image.debian_slim(python_version="3.10")
Expand Down

0 comments on commit 29a4a65

Please sign in to comment.