Unverified Commit cee768d9 authored by hoshi-hiyouga's avatar hoshi-hiyouga Committed by GitHub
Browse files

Fix Gemma2 types (#31779)

Update __init__.py
parent 87726a08
...@@ -39,7 +39,7 @@ else: ...@@ -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: ...@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment