

'''simple docstring'''

from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


UpperCAmelCase					 =	{'''configuration_vit_msn''': ['''VIT_MSN_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''ViTMSNConfig''']}

try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       UpperCAmelCase					 =	[
           '''VIT_MSN_PRETRAINED_MODEL_ARCHIVE_LIST''',
           '''ViTMSNModel''',
           '''ViTMSNForImageClassification''',
           '''ViTMSNPreTrainedModel''',
       ]

if TYPE_CHECKING:
       from .configuration_vit_msn import VIT_MSN_PRETRAINED_CONFIG_ARCHIVE_MAP, ViTMSNConfig

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_vit_msn import (
                  VIT_MSN_PRETRAINED_MODEL_ARCHIVE_LIST,
                  ViTMSNForImageClassification,
                  ViTMSNModel,
                  ViTMSNPreTrainedModel,
              )

else:
       import sys

       UpperCAmelCase					 =	_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)





'''simple docstring'''

from dataclasses import dataclass, field
from typing import ClassVar, Dict

from ..features import Features, Value
from .base import TaskTemplate


@dataclass(frozen=A )
class 	lowerCAmelCase  (   A ):
       # `task` is not a ClassVar since we want it to be part of the `asdict` output for JSON serialization
       lowerCAmelCase_												=			field(default="summarization" ,      metadata={"include_in_asdict_even_if_is_default": True} )
       lowerCAmelCase_												=			Features({"text": Value("string" )} )
       lowerCAmelCase_												=			Features({"summary": Value("string" )} )
       lowerCAmelCase_												=			"text"
       lowerCAmelCase_												=			"summary"







       @property
       def       snake_case (				self      :			int   ):







            """simple docstring"""







            return {self.text_column: "text", self.summary_column: "summary"}


