Skip to content

Commit

Permalink
fix llm predict (#6870)
Browse files Browse the repository at this point in the history
  • Loading branch information
DesmonDay authored Aug 30, 2023
1 parent 2aa58d8 commit 3655108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llm/predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class PredictorArgument:
class ModelArgument:
gpt: bool = field(default=False, metadata={"help": "GPTForCausalLM"})
ernie: bool = field(default=False, metadata={"help": "Ernie35ForCausalLM"})
data_file: None = field(default=None, metadata={"help": "data file directory"})
data_file: str = field(default=None, metadata={"help": "data file directory"})
output_file: str = field(default="output.json", metadata={"help": "predict result file directory"})


Expand Down

0 comments on commit 3655108

Please sign in to comment.