Skip to content

Commit

Permalink
0.1.7
Browse files Browse the repository at this point in the history
Signed-off-by: ssbuild <[email protected]>
  • Loading branch information
ssbuild committed May 19, 2023
1 parent 1085ad8 commit b0fd8b0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

## update
- <strong>2023-05-19</strong>
- 0.1.6 release
- 0.1.7 release
- fix 0.1.5 rl bugs
- <strong>2023-05-10</strong>
- 0.1.5 release
Expand Down
2 changes: 1 addition & 1 deletion data_helper/data_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def on_get_corpus(self, files: typing.List[str], mode: str):

class DataHelper(DataPreprocessHelper):
def __init__(self,model_args: ModelArguments,
training_args: TrainingArguments,
training_args: typing.Optional[TrainingArguments],
data_args: DataArguments,**kwargs):
super(DataHelper, self).__init__()

Expand Down
2 changes: 2 additions & 0 deletions nlp/models/lora/v1/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def from_pretrained(cls, pretrained_model_name_or_path, **kwargs):

loaded_attributes = cls.from_json_file(config_file)

kwargs.pop("subfolder", None)

config = cls(**kwargs)

for key, value in loaded_attributes.items():
Expand Down
2 changes: 2 additions & 0 deletions nlp/models/lora/v2/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def from_pretrained(cls, pretrained_model_name_or_path, **kwargs):

loaded_attributes = cls.from_json_file(config_file)

kwargs.pop("subfolder",None)

config = cls(**kwargs)

for key, value in loaded_attributes.items():
Expand Down
2 changes: 2 additions & 0 deletions nlp/models/prompt/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def from_pretrained(cls, pretrained_model_name_or_path, **kwargs):

loaded_attributes = cls.from_json_file(config_file)

kwargs.pop("subfolder", None)

config = cls(**kwargs)

for key, value in loaded_attributes.items():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ignore = ['test','tests']
setup(
name='deep_training',
version='0.1.6',
version='0.1.7',
description='an easy training architecture',
long_description='torch_training: https://github.com/ssbuild/deep_training.git',
license='Apache License 2.0',
Expand Down

0 comments on commit b0fd8b0

Please sign in to comment.