mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-01 18:51:14 +06:00
parent
87726a08ed
commit
cee768d97e
@ -39,7 +39,7 @@ else:
|
|||||||
]
|
]
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from .configuration_gemma import Gemma2Config
|
from .configuration_gemma2 import Gemma2Config
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if not is_torch_available():
|
if not is_torch_available():
|
||||||
@ -47,7 +47,7 @@ if TYPE_CHECKING:
|
|||||||
except OptionalDependencyNotAvailable:
|
except OptionalDependencyNotAvailable:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
from .modeling_gemma import (
|
from .modeling_gemma2 import (
|
||||||
Gemma2ForCausalLM,
|
Gemma2ForCausalLM,
|
||||||
Gemma2ForSequenceClassification,
|
Gemma2ForSequenceClassification,
|
||||||
Gemma2ForTokenClassification,
|
Gemma2ForTokenClassification,
|
||||||
|
Loading…
Reference in New Issue
Block a user