Skip to content

Commit

Permalink
[auto] Regenerate Ludwig API docs (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Mar 22, 2024
1 parent 178f39a commit eab5955
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/user_guide/api/LudwigModel.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,8 @@ load(
gpus=None,
gpu_memory_limit=None,
allow_parallel_threads=True,
callbacks=None
callbacks=None,
from_checkpoint=False
)
```

Expand Down Expand Up @@ -494,6 +495,9 @@ determinism.
- __callbacks__ (list, default: `None`): a list of
`ludwig.callbacks.Callback` objects that provide hooks into the
Ludwig pipeline.
- __from_checkpoint__ (bool, default: `False`): if `True`, the model
will be loaded from the latest checkpoint (training_checkpoints/)
instead of the final model weights.

__Return__

Expand All @@ -515,7 +519,8 @@ ludwig_model = LudwigModel.load(model_dir)

```python
load_weights(
model_dir
model_dir,
from_checkpoint=False
)
```

Expand All @@ -526,6 +531,9 @@ __Inputs__

- __model_dir__ (str): filepath string to location of a pre-trained
model
- __from_checkpoint__ (bool, default: `False`): if `True`, the model
will be loaded from the latest checkpoint (training_checkpoints/)
instead of the final model weights.

__Return__

Expand Down

0 comments on commit eab5955

Please sign in to comment.