




"""simple docstring"""



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

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






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


							@property
							def 						_UpperCamelCase       (			self      :						Any							):
													'''simple docstring'''





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














"""simple docstring"""



from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


A_    =							{'''configuration_sew''': ['''SEW_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''SEWConfig''']}

try:
						if not is_torch_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						A_    =							[
						    '''SEW_PRETRAINED_MODEL_ARCHIVE_LIST''',
						    '''SEWForCTC''',
						    '''SEWForSequenceClassification''',
						    '''SEWModel''',
						    '''SEWPreTrainedModel''',
						]

if TYPE_CHECKING:
						from .configuration_sew import SEW_PRETRAINED_CONFIG_ARCHIVE_MAP, SEWConfig

						try:
												if not is_torch_available():
																		raise OptionalDependencyNotAvailable()
						except OptionalDependencyNotAvailable:
												pass
						else:
												from .modeling_sew import (
												    SEW_PRETRAINED_MODEL_ARCHIVE_LIST,
												    SEWForCTC,
												    SEWForSequenceClassification,
												    SEWModel,
												    SEWPreTrainedModel,
												)


else:
						import sys

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






