





'''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 					SCREAMING_SNAKE_CASE       (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 				SCREAMING_SNAKE_CASE    (		self):

          '''simple docstring'''






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






'''simple docstring'''






import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


__UpperCamelCase					    =	HUGGINGFACE_HUB_CACHE


__UpperCamelCase					    =	"config.json"
__UpperCamelCase					    =	"diffusion_pytorch_model.bin"
__UpperCamelCase					    =	"diffusion_flax_model.msgpack"
__UpperCamelCase					    =	"model.onnx"
__UpperCamelCase					    =	"diffusion_pytorch_model.safetensors"
__UpperCamelCase					    =	"weights.pb"
__UpperCamelCase					    =	"https://huggingface.co"
__UpperCamelCase					    =	default_cache_path
__UpperCamelCase					    =	"diffusers_modules"
__UpperCamelCase					    =	os.getenv("HF_MODULES_CACHE", os.path.join(hf_cache_home, "modules"))
__UpperCamelCase					    =	["fp16", "non-ema"]
__UpperCamelCase					    =	".self_attn"


