Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
harborn committed Jul 8, 2024
1 parent 88d70ed commit 38ada03
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion llm_on_ray/finetune/finetune_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ class Dataset(BaseModel):
padding: bool = True
mask_input: bool = True
mask_response: bool = True
data_preprocess_type: str = "neural_chat"
data_preprocess_type: str = "default"

@validator("data_preprocess_type")
def check_data_preprocess_type(cls, v: str):
assert v in ["default", "neural_chat"]
return v


class RayResourceConfig(BaseModel):
Expand Down

0 comments on commit 38ada03

Please sign in to comment.