






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

from ..features import Features, Sequence, Value
from .base import TaskTemplate
@dataclass(frozen=lowerCamelCase			)
class     lowerCamelCase_					(   lowerCamelCase			):
				# `task` is not a ClassVar since we want it to be part of the `asdict` output for JSON serialization
				a__       							=	field(default='''question-answering-extractive'''      ,					metadata={'''include_in_asdict_even_if_is_default''': True}			)
				a__       							=	Features({'''question''': Value('''string'''			), '''context''': Value('''string'''			)}			)
				a__       							=	Features(
				    {
				        '''answers''': Sequence(
				            {
				                '''text''': Value('''string'''			),
				                '''answer_start''': Value('''int32'''			),
				            }			)
				    }			)
				a__       							=	"question"
				a__       							=	"context"
				a__       							=	"answers"







				@property
				def       A						(    self  ):
								"""simple docstring"""
								return {self.question_column: "question", self.context_column: "context", self.answers_column: "answers"}














from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_tokenizers_available


SCREAMING_SNAKE_CASE__   :      Optional[int]				=		{"""tokenization_herbert""": ["""HerbertTokenizer"""]}

try:
					if not is_tokenizers_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					SCREAMING_SNAKE_CASE__   :      Optional[Any]				=		["""HerbertTokenizerFast"""]


if TYPE_CHECKING:
					from .tokenization_herbert import HerbertTokenizer

					try:
										if not is_tokenizers_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .tokenization_herbert_fast import HerbertTokenizerFast

else:
					import sys

					SCREAMING_SNAKE_CASE__   :      Union[str, Any]				=		_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)






