yuchenxie commited on
Commit
47fa2a4
1 Parent(s): 70e4476

Update __init__.py

Browse files
Files changed (1) hide show
  1. __init__.py +4 -2
__init__.py CHANGED
@@ -8,6 +8,7 @@ from transformers.utils import (
8
 
9
  _import_structure = {
10
  "configuration_arlow_gpt": ["ARLOW_GPT_PRETRAINED_CONFIG_ARCHIVE_MAP", "ArlowGPTConfig"],
 
11
  }
12
 
13
  try:
@@ -18,12 +19,13 @@ except OptionalDependencyNotAvailable:
18
  else:
19
  _import_structure["modeling_arlow_gpt"] = [
20
  "ArlowGPTModel",
21
- "ArlowGPTForImageTextToText",
22
  "ArlowGPTPreTrainedModel",
23
  ]
24
 
25
  if TYPE_CHECKING:
26
  from .configuration_arlow_gpt import ARLOW_GPT_PRETRAINED_CONFIG_ARCHIVE_MAP, ArlowGPTConfig
 
27
 
28
  try:
29
  if not is_torch_available():
@@ -33,7 +35,7 @@ if TYPE_CHECKING:
33
  else:
34
  from .modeling_arlow_gpt import (
35
  ArlowGPTModel,
36
- ArlowGPTForImageTextToText,
37
  ArlowGPTPreTrainedModel,
38
  )
39
 
 
8
 
9
  _import_structure = {
10
  "configuration_arlow_gpt": ["ARLOW_GPT_PRETRAINED_CONFIG_ARCHIVE_MAP", "ArlowGPTConfig"],
11
+ "tokenization_arlow_gpt": ["ArlowGPTTokenizer"],
12
  }
13
 
14
  try:
 
19
  else:
20
  _import_structure["modeling_arlow_gpt"] = [
21
  "ArlowGPTModel",
22
+ "ArlowGPTForCausalLM",
23
  "ArlowGPTPreTrainedModel",
24
  ]
25
 
26
  if TYPE_CHECKING:
27
  from .configuration_arlow_gpt import ARLOW_GPT_PRETRAINED_CONFIG_ARCHIVE_MAP, ArlowGPTConfig
28
+ from .tokenization_arlow_gpt import ArlowGPTTokenizer
29
 
30
  try:
31
  if not is_torch_available():
 
35
  else:
36
  from .modeling_arlow_gpt import (
37
  ArlowGPTModel,
38
+ ArlowGPTForCausalLM,
39
  ArlowGPTPreTrainedModel,
40
  )
41