Skip to content

Commit 664a3d5

Browse files
Apply suggestions from code review
Co-authored-by: Alex Brooks <alex.brooks@ibm.com> Signed-off-by: Gaurav Kumbhat <kumbhat.gaurav@gmail.com> Signed-off-by: gkumbhat <kumbhat.gaurav@gmail.com>
1 parent f84a357 commit 664a3d5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

caikit_nlp/modules/text_generation/fine_tuning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def train(
100100
base_model: Union[str, caikit_nlp.resources.pretrained_model.base.PretrainedModelBase]
101101
Base resource model used for underlying generation.
102102
train_stream: DataStream[GenerationTrainRecord] or DataStream[ClassificationTrainRecord]
103-
Data to be used for training the prompt vectors of the generation model.
103+
Data to be used for fine-tuning the generation model.
104104
torch_dtype: str
105105
TODO: Optional[Union[torch.dtype, str]]
106106
Data type to use for training/inference of the underlying text generation model.

caikit_nlp/resources/pretrained_model/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def get_trainer(
248248
):
249249
"""
250250
Args:
251-
*kwargs: arguments supported by HF TrainingArguments:
251+
**kwargs: arguments supported by HF TrainingArguments:
252252
https://huggingface.co/docs/transformers/v4.30.0/en/main_classes/trainer#transformers.TrainingArguments
253253
254254
NOTE: following parameters are not supported currently:

0 commit comments

Comments
 (0)