| Name | Type | Description |
|---|---|---|
model_id* | str | Path for the huggingface repo id to be downloaded or the huggingface checkpoint folder. |
tokenizer_id | Optional[str] | Default: NonePath for the huggingface repo id to be downloaded or the huggingface checkpoint folder which contains the tokenizer. |
model_kwargs | Optional[dict] | Default: None |
kwargs | Any | Default: {} |
Construct object from model_id
Keyword arguments to pass to the model and tokenizer.
Extra arguments to pass to the model and tokenizer.