Skip to content

Commit

Permalink
Parent class hf models (#1467)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel King <[email protected]>
  • Loading branch information
jdchang1 and dakinggg authored Aug 21, 2024
1 parent 3648cef commit c56401f
Show file tree
Hide file tree
Showing 5 changed files with 498 additions and 377 deletions.
2 changes: 2 additions & 0 deletions llmfoundry/models/hf/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright 2022 MosaicML LLM Foundry authors
# SPDX-License-Identifier: Apache-2.0

from llmfoundry.models.hf.hf_base import BaseHuggingFaceModel
from llmfoundry.models.hf.hf_causal_lm import ComposerHFCausalLM
from llmfoundry.models.hf.hf_fsdp import (
prepare_hf_causal_lm_model_for_fsdp,
Expand All @@ -11,6 +12,7 @@
from llmfoundry.models.hf.model_wrapper import HuggingFaceModelWithFSDP

__all__ = [
'BaseHuggingFaceModel',
'ComposerHFCausalLM',
'ComposerHFT5',
'prepare_hf_causal_lm_model_for_fsdp',
Expand Down
Loading

0 comments on commit c56401f

Please sign in to comment.