L i$JdZddlZddlZddlZddlZddlZddlZddlmZddl m Z ddl m Z m Z ddlmZddlmZddlZddlZddlmZmZmZmZmZmZmZmZmZmZmZmZm Z dd l!m"Z"m#Z#dd l$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.dd l/m0Z0d d l1m2Z2m3Z3d dl4m5Z5d dl6m7Z7m8Z8m9Z9m:Z:m;Z;mdZ?e3jeAZBej0jZDdZEejdejjejdddZIejZJejdejZLejdeLZMejdeMZNejdejjejdZPdZQejZSdD],ZTejeTejdeTd eV.d!ZWd"ZXejjd#d$je7vZ\e\rd%nd&Z]e]Z^ejjd'd/ejd(eVejjd'dZ^ejjd)e^Z^e^d*zZ_e^d+zZ` dZd,ead-ead.e eae dfd/e ead0e eaf d1Zbdddd2d3ead4ecd/e ead.e ead5e eceadfd6edeaf d7Zed8Zfd9Zgd[d:e eheadfd6eafd;ZidZjd,e eaejfd?ead6e eafd@Zl d\d,e eaejfdBedead.e e eaejfdCecdDe ecdEe eheaeafd5e e eceafd/e ead4ecdFead0e ead:e e eaeheaeaffdGecdHecdIecdJe ead6e eaf"dKZmd[dLZn dZdAdddMdNe eaejfd?ead/e eadEe eheaeafd5e e eceafd4ecd.e eae dfd0e eafdOZoGdPdQZpdRe eqeaffdSZr d]dTZs d^d3eadUe edead5e eadVecfdWZtGdXdYZuy)_z? Hub utilities: utilities related to download and cache models N)futures)Path)OptionalUnion)urlparse)uuid4) _CACHED_NO_EXISTCommitOperationAdd ModelCard ModelCardData constants create_branch create_commit create_repohf_hub_download hf_hub_urllist_repo_treesnapshot_downloadtry_to_load_from_cache)REGEX_COMMIT_HASHhttp_get) EntryNotFoundErrorGatedRepoErrorHfHubHTTPErrorLocalEntryNotFoundErrorOfflineModeIsEnabledRepositoryNotFoundErrorRevisionNotFoundErrorbuild_hf_headers get_sessionhf_raise_for_status) HTTPError) __version__logging)working_or_temp_dir)ENV_VARS_TRUE_VALUES _tf_version_torch_versionis_tf_availableis_torch_availableis_training_run_on_sagemakerzchat_template.jsonzchat_template.jinjaadditional_chat_templatesctSN)_is_offline_mode\/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/transformers/utils/hub.pyis_offline_moder4Ts r2 TORCH_HOMEXDG_CACHE_HOMEz~/.cachetorchPYTORCH_PRETRAINED_BERT_CACHEPYTORCH_TRANSFORMERS_CACHETRANSFORMERS_CACHEHF_MODULES_CACHEmodulestransformers_modules)r8r9r:zUsing `zQ` is deprecated and will be removed in v5 of Transformers. Use `HF_HOME` instead.z3https://s3.amazonaws.com/models.huggingface.co/bertzhttps://cdn.huggingface.coHUGGINGFACE_CO_STAGINGNOzhttps://hub-ci.huggingface.cozhttps://huggingface.coHUGGINGFACE_CO_RESOLVE_ENDPOINTzUsing the environment variable `HUGGINGFACE_CO_RESOLVE_ENDPOINT` is deprecated and will be removed in Transformers v5. Use `HF_ENDPOINT` instead. HF_ENDPOINTz)/{model_id}/resolve/{revision}/{filename}z/api/telemetry/examplespath_or_repo_id full_filename cache_dirrevision repo_typec>t|||||}| |tk7r|Sy)NrDrErF)rr )rBrCrDrErF resolved_files r3_get_cache_file_to_returnrJs3+)hZcM ]6F%F r2)rErDtokenrepo_idlocal_files_onlyrKreturnc|s^ t||td|Dcgc]?}|jjdr"|jj tdAc}S t|||d}t|t}|j!sgS|j#Dcgc];}|j%s|j&jds0|j(=c}Scc}w#t t tf$rtttjjf$rYwxYw#t$rgcYSwxYwcc}w)zList template files from a repo. A template is a jinja file located under the `additional_chat_templates/` folder. If working in offline mode or if internet is down, the method will list jinja template from the local cache - if any. F)rLrE path_in_repo recursiverKz.jinja/T)rLrErDrM)rCHAT_TEMPLATE_DIRpathendswith removeprefixrrrr"rrequests exceptionsConnectionErrorrrris_diriterdiris_filenamestem)rLrMrErDrKentry snapshot_dir templates_dirs r3list_repo_templatesrbs8  ,#%!2#  ::&&x0 ''+<*=Q(?@  "(h)VZ '89M    ! $1$9$9$; q5u}}SXS]S]SfSfgoSpEJJ qq5  79NO  /1D1D1T1TU    #  rsGC-AC(C-"D/%E;EE(C--YY|T2=#6=#6#<&8*1#  % !sAD D'&D' user_agentcdtdtjjddt}t r |dt z }tr |dtz }tjr|dzStr4|ddjd tjDzz }tj j#d d j%t&vr|d z }t)|t*r.|ddjd |jDzz }|St)|t,r|d|zz }|S)zF Formats a user-agent string with basic info about a request. z transformers/z ; python/rz ; session_id/z; torch/z ; tensorflow/z; telemetry/offz; c30K|]\}}|d|ywrRNr1.0kvs r3 z"http_user_agent..s]da!AaSz]TRANSFORMERS_IS_CIz ; is_ci/truec30K|]\}}|d|ywrr1rs r3rz"http_user_agent..sIda!AaSzIr)r$sysversionr SESSION_IDr+r)r*r(r HF_HUB_DISABLE_TELEMETRYr,joinritemsrrrupperr' isinstancedictstr)ruas r3http_user_agentrs*  Ys{{/@/@/B1/E.FmT^S_ `B ()) k]++))%%%#% dTYY]6R6T6Z6Z6\]]]] zz~~*B/557;OO n*d# dTYYIj6F6F6HIIII I J $ dZ Ir2rI commit_hashc|||Stt|j}tjd|}|y|j d}t j|r|SdS)zP Extracts the commit hash from a resolved filename toward a cache file. Nzsnapshots/([^/]+)/r)rras_posixresearchgroupsrmatch)rIrrs r3extract_commit_hashrsn 7]+4467M YY,m ;HDHr2filenamec :td||gd|}||d}|S|}|S)a Tries to locate a file in a local folder and repo, downloads and cache it if necessary. Args: path_or_repo_id (`str` or `os.PathLike`): This can be either: - a string, the *model id* of a model repo on huggingface.co. - a path to a *directory* potentially containing the file. filename (`str`): The name of the file to locate in `path_or_repo`. cache_dir (`str` or `os.PathLike`, *optional*): Path to a directory in which a downloaded pretrained model configuration should be cached if the standard cache should not be used. force_download (`bool`, *optional*, defaults to `False`): Whether or not to force to (re-)download the configuration files and override the cached versions if they exist. resume_download: Deprecated and ignored. All downloads are now resumed by default when possible. Will be removed in v5 of Transformers. proxies (`dict[str, str]`, *optional*): A dictionary of proxy servers to use by protocol or endpoint, e.g., `{'http': 'foo.bar:3128', 'http://hostname': 'foo.bar:4012'}.` The proxies are used on each request. token (`str` or *bool*, *optional*): The token to use as HTTP bearer authorization for remote files. If `True`, will use the token generated when running `hf auth login` (stored in `~/.huggingface`). revision (`str`, *optional*, defaults to `"main"`): The specific model version to use. It can be a branch name, a tag name, or a commit id, since we use a git-based system for storing models and other artifacts on huggingface.co, so `revision` can be any identifier allowed by git. local_files_only (`bool`, *optional*, defaults to `False`): If `True`, will only try to load the tokenizer configuration from local files. subfolder (`str`, *optional*, defaults to `""`): In case the relevant files are located inside a subfolder of the model repo on huggingface.co, you can specify the folder name here. repo_type (`str`, *optional*): Specify the repo type (useful when downloading from a space for instance). Passing `token=True` is required when you want to use a private model. Returns: `Optional[str]`: Returns the resolved file (to the cache folder if downloaded from a repo). Examples: ```python # Download a model weight from the Hub and cache it. model_weights_file = cached_file("google-bert/bert-base-uncased", "pytorch_model.bin") ``` )rB filenamesrr1) cached_files)rBrkwargsfiles r3 cached_filers;t  XH: XQW XD&47D K-1D Kr2Frforce_downloadresume_downloadproxies subfolder _raise_exceptions_for_gated_repo%_raise_exceptions_for_missing_entries'_raise_exceptions_for_connection_errors _commit_hashc |jdd}|)tjdt| t d|}t r|st jdd}| d} |Dcgc]"}tjj| |$}}t|}g}|D]}tjj|s#tjj||}tjj|sC| r@|tjj| dk7r|d n|}t|d |d |d |d |j|tjj|r|r|SdS|t }t#|t$r t|}g}d}|T|sR|D]M}t'||||| }||t(ur|dz }|j|5| s|dz }=td|d|d|t+|k(rt+|dkDr|SdSt-| } t+|dk(r+t/||dt+| dk(rdn| | ||| ||||| nt1||| ||| ||||| |Dcgc]}t?||||}}tKd#|Dr| rtM||Dcgc] \}}| | }}}t+|dk(r'|dtjj| dk(ry|d n|}t+|dk(rd$|dnd%g|}t|d&|d |d |d |Dcgc]}|| }}t+|dk(rd}|S|}|Scc}w#t2$rn}t#|t4rt#|t6st|d|t#|t8rt|d|d|t#|t:rtd|j<d|d||Dcgc]}t?||||| ncc}w}}tAd|Dr|cYd}~St#|t6r"| sYd}~ytd|dt||t#|tBr|sYd}~y| r_tdtDd |t#|tFr)t#|tHs|sYd}~ytd!|d"||t#|tHs|Yd}~`d}~wwxYwcc}wcc}}wcc}w)'a` Tries to locate several files in a local folder and repo, downloads and cache them if necessary. Args: path_or_repo_id (`str` or `os.PathLike`): This can be either: - a string, the *model id* of a model repo on huggingface.co. - a path to a *directory* potentially containing the file. filenames (`list[str]`): The name of all the files to locate in `path_or_repo`. cache_dir (`str` or `os.PathLike`, *optional*): Path to a directory in which a downloaded pretrained model configuration should be cached if the standard cache should not be used. force_download (`bool`, *optional*, defaults to `False`): Whether or not to force to (re-)download the configuration files and override the cached versions if they exist. resume_download: Deprecated and ignored. All downloads are now resumed by default when possible. Will be removed in v5 of Transformers. proxies (`dict[str, str]`, *optional*): A dictionary of proxy servers to use by protocol or endpoint, e.g., `{'http': 'foo.bar:3128', 'http://hostname': 'foo.bar:4012'}.` The proxies are used on each request. token (`str` or *bool*, *optional*): The token to use as HTTP bearer authorization for remote files. If `True`, will use the token generated when running `hf auth login` (stored in `~/.huggingface`). revision (`str`, *optional*, defaults to `"main"`): The specific model version to use. It can be a branch name, a tag name, or a commit id, since we use a git-based system for storing models and other artifacts on huggingface.co, so `revision` can be any identifier allowed by git. local_files_only (`bool`, *optional*, defaults to `False`): If `True`, will only try to load the tokenizer configuration from local files. subfolder (`str`, *optional*, defaults to `""`): In case the relevant files are located inside a subfolder of the model repo on huggingface.co, you can specify the folder name here. repo_type (`str`, *optional*): Specify the repo type (useful when downloading from a space for instance). Private args: _raise_exceptions_for_gated_repo (`bool`): if False, do not raise an exception for gated repo error but return None. _raise_exceptions_for_missing_entries (`bool`): if False, do not raise an exception for missing entries but return None. _raise_exceptions_for_connection_errors (`bool`): if False, do not raise an exception for connection errors but return None. _commit_hash (`str`, *optional*): passed when we are chaining several calls to various files (e.g. when loading a tokenizer or a pipeline). If files are cached for this commit hash, avoid calls to head and get from the cache. Passing `token=True` is required when you want to use a private model. Returns: `Optional[str]`: Returns the resolved file (to the cache folder if downloaded from a repo). Examples: ```python # Download a model weight from the Hub and cache it. model_weights_file = cached_file("google-bert/bert-base-uncased", "pytorch_model.bin") ``` use_auth_tokenNrThe `use_auth_token` argument is deprecated and will be removed in v5 of Transformers. Please use `token` instead.V`token` and `use_auth_token` are both specified. Please set only the argument `token`.z+Offline mode: forcing local_files_only=TrueTrz config.jsonmainz& does not appear to have a file named z#. Checkout 'https://huggingface.co/z/tree/z' for available files.rrHr#zCould not locate z inside .) rrFrErDrrrrrKrM) allow_patternsrFrErDrrrrrKrMa  is not a local folder and is not a valid model identifier listed on 'https://huggingface.co/models' If this is a private repository, make sure to pass a token having permission to this repo either by logging in with `hf auth login` or by passing `token=` is not a valid git identifier (branch name, tag name or commit id) that exists for this model name. Check the model page at 'https://huggingface.co/' for available revisions.zPermissionError at z when downloading z. Check cache directory permissions. Common causes: 1) another user is downloading the same model (please wait); 2) a previous download was canceled and the lock file needs manual removal.c3$K|]}|du ywr/r1rrs r3rzcached_files..s;Dt4;z`You are trying to access a gated repo. Make sure to have access to it at https://huggingface.co/z. zWe couldn't connect to 'z' to load the files, and couldn't find them in the cached files. Check your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.z:There was a specific connection error when trying to load z: c3$K|]}|du ywr/r1rs r3rzcached_files..=s 3D44< 3rz a file named z files named z does not appear to have )'popwarningswarn FutureWarning ValueErrorr4loggerinforrTrrisdirisfileOSErrorappendr:rrrr lenrrrrrrrPermissionErrorrrJallrr@r"ranyzip)rBrrDrrrrKrErMrrFrrrrrdeprecated_kwargsrrfull_filenamesexisting_filesrrI revision_ file_countereresolved_filesoriginalresolvedmissing_entriesmsgs r3rrGsf'**+;TBN!  A    uv v!1 AB AJJbggll9d3JNJ/*ON" 1 77== )GGLL(CM77>>-08XV_anIo=o*2*:I!*++QRZQ[\33B2C6)Tjl   ! !- 0 1 ww}}_%!/~9T9& )T" N NL& \H2YajM( (88 A%L"))-8> A%L!$5hZxGXXY"Z[[ \s>**!$^!4q!8~BdB ,J[ ~ ! # ! "%i.A"5$9#!#%- /!1  -#!#%- /!1 XcqV^!/8YQN 3N 338]>A.R`>av(:(emeu8vv ~ ! #(:bggll9Vc>d(d&.FH 474HA4MmOA./ 0UabudsbuavSw 8=`ap`qqwyBxCC$ $  (6Jt9IdJNJ 0A5TN $r,} t6j9| t;|d|d| d} ~ wt@$rYyt$jB$r| cYSwxYw)a Checks if a repo contains a given file without downloading it. Works for remote repos and local folders. If offline mode is enabled, checks if the file exists in the cache. This function will raise an error if the repository `path_or_repo` is not valid or if `revision` does not exist for this repo, but will return False for regular connection errors. rNrr)rLrrErFrD)rrErF)rKrF )headersallow_redirectsrtimeoutTzN is a gated repository. Make sure to request access at https://huggingface.co/z~ and pass a token having permission to this repo either by logging in with `hf auth login` or by passing `token=`.zE is not a local folder or a valid repository name on 'https://hf.co'.rr)"rrrrrrrTrrrrrrr headrrrrWrXSSLError ProxyErrorrYTimeoutrr!rrerrorrrrrr")rrrErrKrMrDrFrr cached_pathhas_file_in_cacheresponsers r3has_fileros?0'**+;TBN!  A    uv v ww}}\"ww~~bggll<BCC ) K#;4  !=%% |hU^ _$5_=NO! & "!H%    ( ((*=*=*H*H I ++## ! ! !  Qn&&2^4R R    #u Q&klmstt  QjKKW.Xr t      !  !sO?>D > F A5FF H='F55 H=$G%% H=1'H H=&H=<H=ceZdZdZ ddedeedeeeefdeedeedef d Zd eee jffd Z dd eee jfded e ee fd eedeeeefdedeedeefdZ ddedeed eedeedeeeefdeeeefdededeedeedeeedefdZy)PushToHubMixinzW A Mixin containing the functionality to push a model or tokenizer to the hub. NrLprivaterKrepo_url organizationrNc@|;tjd| td|jtdd}|Etjd|j |sd|vr|j dd}|d|}t|||d}|jS) z Create the repo if needed, cleans up repo_id with deprecated kwargs `repo_url` and `organization`, retrieves the token. zgThe `repo_url` argument is deprecated and will be removed in v5 of Transformers. Use `repo_id` instead.zT`repo_id` and `repo_url` are both specified. Please set only the argument `repo_id`.rRrzThe `organization` argument is deprecated and will be removed in v5 of Transformers. Set your organization directly in the `repo_id` passed instead (`repo_id={organization}/{model_id}`).T)rLrKrexist_ok) rrrreplacer@ startswithrrrL)selfrLrrKrrrs r3 _create_repozPushToHubMixin._create_repos   MM " j&&*I)J!'LbQG  # MMo %%l3'>%mmC04G)N!G95'RVW{{r2 working_dirc tj|Dcic]@}|tjjtjj ||Bc}Scc}w)zS Returns the list of files with their last modification timestamp. )rlistdirrTgetmtimer)r r rs r3_get_files_timestampsz$PushToHubMixin._get_files_timestampssGLN::VaKbca277##BGGLLa$@AAcccsAA files_timestampscommit_message create_prrEcommit_descriptionc |d|jjvrd}nd|jjvrd}njd|jjvrd}nOd|jjvrd }n4d |jjvrd }nd |jj}tj|D cgc]K} | |vsCtjj tjj || || kDr| M} } | D cgc]~} tjjtjj || s=tjjtjj || r| } } g} | D] } tjjtjj || rtjtjj || D][} | jttjj || | tjj | |  ]| jttjj || | |!|jds t|||dt j#d|ddj | t%|| |||||Scc} wcc} w#t$r'} | jjdk(r|rnYd} ~ qd} ~ wwxYw)zh Uploads all modified files in `working_dir` to `repo_id`, based on `files_timestamps`. NModelz Upload modelConfigz Upload config TokenizerzUpload tokenizerFeatureExtractorzUpload feature extractor ProcessorzUpload processorzUpload )path_or_fileobjrPzrefs/prT)rLbranchrKriz!Uploading the following files to z: ,)rL operationsrrrKrrE) __class____name__rrrTrrrrrr r rrr status_coderrr)r r rLrrrKrrErrmodified_filesrrrs r3_upload_modified_filesz%PushToHubMixin._upload_modified_filess  !$..111!/T^^444!0 7 77!3#t~~'>'>>!; 7 77!3#*4>>+B+B*C!DZZ , ((BGG,<,rB% ,%mmC04 "--,R0K%((T:(,,^TB ## WEHS_$  / T?U   !ww}}[99L [| T X`#99(C  $$#1'9%) %$$Xnas$t OOBGGLL;? @.. -#!#5/ #   s BHH&)NNNN)NNFNN) NNNN5GBFTNNN)r  __module__ __qualname____doc__rrboolrr rPathLikerrfloatr#intlistr3r1r2r3rrs #',0"&&* !!$!dCi() ! 3- ! sm ! !FdsBKK7G1Hd)-,0"&,0M 3 +,M M sEz* M ! M dCi() M M 3-M %SMM d(,(,"&,049#'"&,0$(RRtnR! R $ R dCi() R!sCx1RR!R3-R%SMRtCy!R Rr2rsizec t|tr|S|jjdrt|dddzS|jjdrt|dddzS|jjdrt|dddzS|jjd r)t|dd d z}|jd r|d zS|S|jjdr)t|dd dz}|jd r|d zS|S|jjdr)t|dd dz}|jd r|d zS|St d)a' Converts a size expressed as a string with digits an unit (like `"5MB"`) to an integer (in bytes). Args: size (`int` or `str`): The size to convert. Will be directly returned if an `int`. Example: ```py >>> convert_file_size_to_int("1MiB") 1048576 ``` GIBNi@MIBiKIBiGBiʚ;bMBi@BKBizR`size` is not in a valid format. Use an integer followed by the unit, e.g., '5GB'.)rr;rrUr)r=int_sizes r3convert_file_size_to_intrJs`$  zz|U#49~'' zz|U#49~'' zz|U#49~'' zz|T"tCRy>U+ $ c 2x1}@@ zz|T"tCRy>U+ $ c 2x1}@@ zz|T"tCRy>U+ $ c 2x1}@@ i jjr2c  | jdd} | )tjdt| t d| }t j j|st d|d|dt|5}tj|j}dddttdj}|d }t|dj!|d <|dj#|d<t j j%|r2|Dcgc]#}t j j'|| |%}}||fSt)|||||||||| | | }||fS#1swYxYwcc}w) a For a given model: - download and cache all the shards of a sharded checkpoint if `pretrained_model_name_or_path` is a model ID on the Hub - returns the list of paths to all the shards, as well as some metadata. For the description of each arg, see [`PreTrainedModel.from_pretrained`]. `index_filename` is the full path to the index (downloaded and cached if `pretrained_model_name_or_path` is a model ID on the Hub). rNrrzCan't find a checkpoint index (z) in r weight_mapmetadataall_checkpoint_keys) rDrrrrMrKrrErr)rrrrrrrTropenrrreadsortedsetvaluesr<keyscopyrrr)pretrained_model_name_or_pathindex_filenamerDrrrrMrKrrErrrrrindexshard_filenamessharded_metadatacached_filenamess r3get_checkpoint_shard_filesr\s4'**+;TBN!  A    uv v 77>>. ):>:J%PmOnnopqq n % 1668$%S|!4!;!;!=>?OZ(.253F3K3K3M.N*+%*<%8%=%=%?\" ww}}23^mnYZ277<<(EyRSTnn 000$%%')!  - --=%%os:$E1((E=1E:r'r)c tj|||}|l|j j g|j _|D]@}||j j vs|j j j|B|S#t$r-d}t|gn|d}tj||}YwxYw)a Creates or loads an existing model card and tags it. Args: repo_id (`str`): The repo_id where to look for the model card. tags (`list[str]`, *optional*): The list of tags to add in the model card token (`str`, *optional*): Authentication token, obtained with `huggingface_hub.HfApi.login` method. Will default to the stored token. ignore_metadata_errors (`bool`, *optional*, defaults to `False`): If True, errors while parsing the metadata section will be ignored. Some information might be lost during the process. Use it at your own risk. r,uThis is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated. transformers)r' library_name)model_description)r loadrr from_templatedatar'r)rLr'rKr)r1r` card_data model_tags r3r.r.Ns(]^^G5Qgh   ??   '#%JOO  7I  4 44$$++I6 7  ]e!T\rtR`a ,,YJ[\ ]sB 3C?CcPeZdZdZd deej ddfdZdZdZ d dZ y) PushInProgresszj Internal class to keep track of a push in progress (which might contain multiple `Future` jobs). NjobsrNc&|g|_y||_yr/)rh)r rhs r3__init__zPushInProgress.__init__{s,B D r2c:td|jDS)Nc3<K|]}|jywr/)done)rjobs r3rz)PushInProgress.is_done..s3#388:3s)rrhr s r3is_donezPushInProgress.is_done~s3333r2cBtj|jyr/)rwaitrhros r3wait_until_donezPushInProgress.wait_until_dones TYYr2c|jDcgc]$}|js|js|&c}|_ycc}wr/)rhcancelrm)r rns r3ruzPushInProgress.cancels8yy JJLCHHJ    s)Ar/)rNN) r r5r6r7rrFuturerjrprsrur1r2r3rgrgvs21Xgnn5114  r2rg)NNNr/)NFNNNNFrNNTTTN) NFNNFNNNrN)NNF)vr7rrrrrr concurrentrpathlibrtypingrr urllib.parseruuidrhuggingface_hubrWr r r r r rrrrrrrrhuggingface_hub.file_downloadrrhuggingface_hub.utilsrrrrrrrrr r!requests.exceptionsr"rr$r%genericr& import_utilsr'r(r)r*r+r,#LEGACY_PROCESSOR_CHAT_TEMPLATE_FILECHAT_TEMPLATE_FILErS get_loggerr rHF_HUB_OFFLINEr0r4rrTrtorch_cache_homedefault_cache_path HF_HUB_CACHEr8r9r:HF_HOMEr; TRANSFORMERS_DYNAMIC_MODULE_NAMEhexrkeyrrS3_BUCKET_PREFIXCLOUDFRONT_DISTRIB_PREFIXrrr _staging_mode_default_endpointr@HUGGINGFACE_CO_PREFIX!HUGGINGFACE_CO_EXAMPLES_TELEMETRYrrJr8r<rbrirrrrr9rrrrrr;rJr\r.rgr1r2r3rsN "!F   *"(';#*/   H %",,;;299\277<<  BRT^8_ah+ij11!* *I9KaKa b&RYY'CEbcRYY35OP299/i>O>OQZ1[\#9 W[[  a Cryy~! cUk l   I8 7>DDFJ^^ 7D3Jb"3::>>3T:FHMM 6 ')jjnn5VX\&]#"$**..@_"`7:ee$CF_$_! )-"#   S$_% sm  } (##$( *r *r*rsm *r } *r sD ! *r #Y*rZ. 4dCo 6#. Ix} I8C= IU]^aUb I<3 +,<<c] <D48 &*(,(,""#7;-12648"&!J3 +,JCyJc2;;./0J J d^ J d38n % J E$)$ %JsmJJJ}JsDcN234J'+J,0J.2J 3-!J$c]%JZ<#(,(, a!#(,#a!R[[()a!a!sma!d38n % a! E$)$ % a!a!S$_%a!}a!HOOdk5c?kH   E.T!%#( % % 49 % C=%! %P  r2