Skip to content

Commit

Permalink
imports
Browse files Browse the repository at this point in the history
  • Loading branch information
eustlb committed Dec 17, 2024
1 parent 0954133 commit b1f0909
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/transformers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,7 @@
"WhisperProcessor",
"WhisperTokenizer",
],
"models.moonshine": ["MoonshineConfig"],
"models.x_clip": [
"XCLIPConfig",
"XCLIPProcessor",
Expand Down Expand Up @@ -3722,6 +3723,13 @@
"WhisperPreTrainedModel",
]
)
_import_structure["models.moonshine"].extend(
[
"MoonshineForConditionalGeneration",
"MoonshineModel",
"MoonshinePreTrainedModel",
]
)
_import_structure["models.x_clip"].extend(
[
"XCLIPModel",
Expand Down Expand Up @@ -5784,6 +5792,7 @@
WhisperProcessor,
WhisperTokenizer,
)
from .models.moonshine import MoonshineConfig
from .models.x_clip import (
XCLIPConfig,
XCLIPProcessor,
Expand Down Expand Up @@ -8163,6 +8172,11 @@
WhisperModel,
WhisperPreTrainedModel,
)
from .models.moonshine import (
MoonshineModel,
MoonshineForConditionalGeneration,
MoonshinePreTrainedModel,
)
from .models.x_clip import (
XCLIPModel,
XCLIPPreTrainedModel,
Expand Down

0 comments on commit b1f0909

Please sign in to comment.