Skip to content

Commit

Permalink
Update mllm_mapper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Qirui-jiao authored Aug 22, 2024
1 parent c1846ec commit ede8afc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data_juicer/ops/mapper/mllm_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def __init__(self,
"""
Initialization method.
:param hf_model: Hugginface model id.
:param max_new_tokens: the maximum number of new tokens
generated by the model.
:param sampling_params: Sampling hyperparameters for text generation.
e.g {'temperature': 0.9, 'top_p': 0.95}
:param args: extra args
Expand Down

0 comments on commit ede8afc

Please sign in to comment.