Skip to content

Commit

Permalink
Merge pull request #82 from CambioML/dev
Browse files Browse the repository at this point in the history
update datasets version and update step 3 rl dataset_name to cambioml
  • Loading branch information
goldmermaid authored Nov 6, 2023
2 parents a993b13 + 1f2f8da commit 62578da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions example/rlhf/demo_rl.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
accelerate config
LOCAL_DIR=/home/ubuntu/pykoi/pykoi # change this to your local path
LOCAL_DIR=/home/ubuntu/pykoi # change this to your local path
export PYTHONPATH=$PYTHONPATH:${LOCAL_DIR}
Expand All @@ -17,7 +17,7 @@
config = RLHFConfig(
base_model_path="models/rlhf_step1_sft", #"elinas/llama-7b-hf-transformers-4.29",
dataset_type="huggingface",
dataset_name="goldmermaid/stack_exchange_rank_10k_dataset",
dataset_name="cambioml/stack_exchange_rank_10k_dataset",
dataset_subset_rl="data",
reward_model_path="models/rlhf_step2_rw/", #"cambioml/rlhf_reward_model",
save_freq=1,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ python-multipart = { version = "0.0.6", optional = true }
tiktoken = { version = "0.4.0", optional = true }
sentence-transformers = { version = "2.2.2", optional = true }

datasets = { version = "2.13.1", optional = true }
datasets = { version = "2.14.5", optional = true }
evaluate = { version = "0.4.0", optional = true }
peft = { version = "0.5.0", optional = true }
trl = { version = "0.4.7", optional = true }
Expand Down

0 comments on commit 62578da

Please sign in to comment.