+
    QV-jN  ã                   óª  € R t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIHt ^ RI	H
t
HtHt ^ RIt^ RIHt ^ RIHtHt ^RIHt ^RIHt ^R	IHt ^R
IHt ^RIHt ^RIHtHt ]! ] 4      t!] ! R R4      4       t"] ! R R4      4       t# ! R R]$4      t% ! R R]$4      t&] ! R R4      4       t'] ! R R4      4       t( ! R R])]*](3,          4      t+R# )aw  DatasetInfo record information we know about a dataset.

This includes things that we know about the dataset statically, i.e.:
 - description
 - canonical location
 - does it have validation and tests splits
 - size
 - etc.

This also includes the things that can and should be computed once we've
processed the dataset as well:
 - number of examples (in each split)
 - etc.
N)Ú	dataclass)ÚPath)ÚClassVarÚOptionalÚUnion)Ú	url_to_fs)ÚDatasetCardÚDatasetCardData)Úconfig)ÚFeatures)Ú	SplitDict)ÚVersion)Ú
get_logger)ÚasdictÚunique_valuesc                   ó4   a € ] tR t^7t o RtRtV 3R ltRtV tR# )ÚSupervisedKeysDataÚ c                ó2   <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   # )é   ÚinputÚoutput©Ústr)ÚformatÚ__classdict__s   "€Ú^/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/datasets/info.pyÚ__annotate__ÚSupervisedKeysData.__annotate__7   s   ø‡ ‚ á�Oñ ñ Ñò ó    © N)	Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r   Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__©r   s   @r   r   r   7   s   ø‡ € à€EØ€F÷ ƒ r   r   c                   ó4   a € ] tR t^=t o RtRtV 3R ltRtV tR# )ÚDownloadChecksumsEntryDatar   c                ó2   <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   # )r   ÚkeyÚvaluer   )r   r   s   "€r   r   Ú'DownloadChecksumsEntryData.__annotate__=   s   ø‡ ‚ á	�Mñ ñ �Oò r   r    N)	r!   r"   r#   r$   r,   r-   r%   r&   r'   r(   s   @r   r*   r*   =   s   ø‡ € à€CØ€E÷ ƒ r   r*   c                   ó   € ] tR t^CtRtRtR# )ÚMissingCachedSizesConfigErrorz;The expected cached sizes of the download file are missing.r    N©r!   r"   r#   r$   Ú__doc__r&   r    r   r   r0   r0   C   s   † ÝEr   r0   c                   ó   € ] tR t^GtRtRtR# )ÚNonMatchingCachedSizesErrorz/The prepared split doesn't have expected sizes.r    Nr1   r    r   r   r4   r4   G   s   † Ý9r   r4   c                   óV   a € ] tR t^Kt o RtRtR t]V 3R lR l4       tV 3R lt	Rt
V tR# )ÚPostProcessedInfoNc                ó´   € V P                   eJ   \        V P                   \        4      '       g(   \        P                  ! V P                   4      V n         R # R # R # ©N)ÚfeaturesÚ
isinstancer   Ú	from_dict©Úselfs   &r   Ú__post_init__ÚPostProcessedInfo.__post_init__P   s;   € à�=‰=Ò$¬Z¸¿¹Äx×-PÒ-PÜ$×.Ò.¨t¯}©}Ó=ˆDŽMñ .QÑ$r   c                ó$   <€ V ^8„  d   QhRS[ RR/# )r   Úpost_processed_info_dictÚreturnr6   ©Údict)r   r   s   "€r   r   ÚPostProcessedInfo.__annotate__V   s    ø€ ÷ ^ñ ^±ð ^Ð:Mñ ^r   c           
     óØ   € \         P                  ! V 4       Uu0 uF  q"P                  kK  	  ppT ! R/ VP                  4        UUu/ uF  w  rEWC9   g   K  WEbK  	  uppB # u upi u uppi ©Nr    ©ÚdataclassesÚfieldsÚnameÚitems)ÚclsrA   ÚfÚfield_namesÚkÚvs   &&    r   r;   ÚPostProcessedInfo.from_dictU   sb   € ä'2×'9Ò'9¸#Ô'>Ó?Ñ'> !—v”vÑ'>ˆÐ?ÙÑ]Ð'?×'EÑ'EÔ'GÔ\Ñ'G™t˜qÈ1ÑK[”d�a’dÑ'GÒ\Ñ]Ð]ùò @ùÛ\ó   ™A!Á
A&ÁA&c                óR   <€ V ^8„  d   Qh/ S[ S[,          ;R&   S[ S[,          ;R&   # )r   r9   Úresources_checksums)r   r   rD   )r   r   s   "€r   r   rE   K   s&   ø‡ ‚ á‘xÕ Ñ'ñ ñ "¡$�Ñ.ò r   )r9   )r!   r"   r#   r$   r9   rU   r>   Úclassmethodr;   r%   r&   r'   r(   s   @r   r6   r6   K   s2   ø‡ € à#'€HØ*.Ðò>ð
 ÷^ó ð^÷ ƒ r   r6   c                   óä  a € ] tR t^[t o Rt]P                  ! ]R7      t]P                  ! ]R7      t	]P                  ! ]R7      t
]P                  ! ]R7      tRtRtRtRtRtRtRtRtRtRtRtRtRt. ROtR tRV 3R lR lltRR ltR t]V 3R	 lR
 l4       t]RV 3R lR ll4       t ]V 3R lR l4       t!RV 3R lR llt"V 3R lR lt#V 3R lR lt$]V 3R lR l4       t%R t&V 3R lt'Rt(V t)R# )ÚDatasetInfoa4	  Information about a dataset.

`DatasetInfo` documents datasets, including its name, version, and features.
See the constructor arguments and properties for a full list.

Not all fields are known on construction and may be updated later.

Attributes:
    description (`str`):
        A description of the dataset.
    citation (`str`):
        A BibTeX citation of the dataset.
    homepage (`str`):
        A URL to the official homepage for the dataset.
    license (`str`):
        The dataset's license. It can be the name of the license or a paragraph containing the terms of the license.
    features ([`Features`], *optional*):
        The features used to specify the dataset's column types.
    post_processed (`PostProcessedInfo`, *optional*):
        Deprecated. Information regarding the resources of a possible post-processing of a dataset. For example, it can contain the information of an index.
    supervised_keys (`SupervisedKeysData`, *optional*):
        Specifies the input feature and the label for supervised learning if applicable for the dataset (legacy from TFDS).
    builder_name (`str`, *optional*):
        The name of the `GeneratorBasedBuilder` subclass used to create the dataset. It is also the snake_case version of the dataset builder class name.
    config_name (`str`, *optional*):
        The name of the configuration derived from [`BuilderConfig`].
    version (`str` or [`Version`], *optional*):
        The version of the dataset.
    splits (`dict`, *optional*):
        The mapping between split name and metadata.
    download_checksums (`dict`, *optional*):
        The mapping between the URL to download the dataset's checksums and corresponding metadata.
    download_size (`int`, *optional*):
        The size of the files to download to generate the dataset, in bytes.
    post_processing_size (`int`, *optional*):
        Deprecated. Size of the dataset in bytes after post-processing, if any.
    dataset_size (`int`, *optional*):
        The combined size in bytes of the Arrow tables for all splits.
    size_in_bytes (`int`, *optional*):
        The combined size in bytes of all files associated with the dataset (downloaded files + Arrow files).
    **config_kwargs (additional keyword arguments):
        Keyword arguments to be passed to the [`BuilderConfig`] and used in the [`DatasetBuilder`].
)Údefault_factoryNc                ó*  € V P                   eF   \        V P                   \        4      '       g&   \        P                  ! V P                   4      V n         V P                  eE   \        V P                  \
        4      '       g%   \
        P                  V P                  4      V n        V P                  e�   \        V P                  \        4      '       ga   \        V P                  \        4      '       d   \        V P                  4      V n        M%\        P                  ! V P                  4      V n        V P                  eF   \        V P                  \        4      '       g&   \        P                  ! V P                  4      V n	        V P                  e   \        V P                  \        4      '       g]   \        V P                  \        \        34      '       d   \        V P                  !  V n        R # \        R/ V P                  B V n        R # R # R # rG   )r9   r:   r   r;   Úpost_processedr6   Úversionr   r   Úsplitsr   Úfrom_split_dictÚsupervised_keysr   ÚtupleÚlistr<   s   &r   r>   ÚDatasetInfo.__post_init__§   sS  € à�=‰=Ò$¬Z¸¿¹Äx×-PÒ-PÜ$×.Ò.¨t¯}©}Ó=ˆDŒMØ×ÑÒ*´:¸d×>QÑ>QÔSd×3eÒ3eÜ"3×"=Ñ"=¸d×>QÑ>QÓ"RˆDÔØ�<‰<Ò#¬J°t·|±|ÄW×,MÒ,MÜ˜$Ÿ,™,¬×,Ò,Ü& t§|¡|Ó4�•ä&×0Ò0°·±Ó>�”Ø�;‰;Ò"¬:°d·k±kÄ9×+MÒ+MÜ#×3Ò3°D·K±KÓ@ˆDŒKØ×ÑÒ+´J¸t×?SÑ?SÔUg×4hÒ4hÜ˜$×.Ñ.´¼°×>Ò>Ü'9¸4×;OÑ;OÑ'P�Ö$ä'9Ñ'Q¸D×<PÑ<PÑ'Q�Ö$ñ	 5iÑ+r   c                ó0   <€ V ^8„  d   QhRS[ S[,          /# )r   Ústorage_options)r   rD   )r   r   s   "€r   r   ÚDatasetInfo.__annotate__º   s   ø€ ÷ &ñ &ÑX`ÑaeÕXfñ &r   c                ó  € \        V3/ T;'       g    / B vrEVP                  \        P                  ! V\        P
                  4      R4      ;_uu_ 4       pV P                  WbR7       RRR4       V P                  '       dZ   VP                  \        P                  ! V\        P                  4      R4      ;_uu_ 4       pV P                  V4       RRR4       R# R#   + '       g   i     L}; i  + '       g   i     R# ; i)au  Write `DatasetInfo` and license (if present) as JSON files to `dataset_info_dir`.

Args:
    dataset_info_dir (`str`):
        Destination directory.
    pretty_print (`bool`, defaults to `False`):
        If `True`, the JSON will be pretty-printed with the indent level of 4.
    storage_options (`dict`, *optional*):
        Key/value pairs to be passed on to the file-system backend, if any.

        <Added version="2.9.0"/>

Example:

```py
>>> from datasets import load_dataset
>>> ds = load_dataset("cornell-movie-review-data/rotten_tomatoes", split="validation")
>>> ds.info.write_to_directory("/path/to/directory/")
```
Úwb)Úpretty_printN)
r   ÚopenÚ	posixpathÚjoinr
   ÚDATASET_INFO_FILENAMEÚ
_dump_infoÚlicenseÚLICENSE_FILENAMEÚ_dump_license)r=   Údataset_info_dirrh   rd   ÚfsÚ_rN   s   &&&&   r   Úwrite_to_directoryÚDatasetInfo.write_to_directoryº   s¼   € ô, Ð+ÑG°×0EÐ0EÀ2ÑGˆˆØ�W‰W”Y—^’^Ð$4´f×6RÑ6RÓSÐUY×ZÔZÐ^_Ø�O‰O˜AˆOÔ9÷ [à�<�<ˆ<Ø—‘œŸšÐ(8¼&×:QÑ:QÓRÐTX×YÔYÐ]^Ø×"Ñ" 1Ô%÷ ZÑYñ ÷ [×Zú÷ Z×YÐYús   ÁCÂ?C0ÃC-	Ã0D	c                ó˜   € TP                  \        P                  ! \        V 4      V'       d   ^MRR7      P	                  R4      4       R# )zQDump info in `file` file-like object open in bytes mode (to support remote files)N©Úindentúutf-8)ÚwriteÚjsonÚdumpsr   Úencode)r=   Úfilerh   s   &&&r   rm   ÚDatasetInfo._dump_info×   s-   € à�
‰
”4—:’:œf T›l¿±1È$ÔO×VÑVÐW^Ó_Ö`r   c                óZ   € VP                  V P                  P                  R4      4       R# )zTDump license in `file` file-like object open in bytes mode (to support remote files)ry   N)rz   rn   r}   )r=   r~   s   &&r   rp   ÚDatasetInfo._dump_licenseÛ   s   € à�
‰
�4—<‘<×&Ñ& wÓ/Ö0r   c                ó.   <€ V ^8„  d   QhRS[ R,          /# )r   Údataset_infosrX   )ra   )r   r   s   "€r   r   re   à   s   ø€ ÷ 
ñ 
¡t¨MÕ':ñ 
r   c           	     ó¦  a€ S Uu. uF  q"f   K  VP                  4       NK  	  upo\        S4      ^ 8”  dJ   \        ;QJ d    V3R lS 4       F  '       d   K   RM	  RM! V3R lS 4       4      '       d
   S^ ,          # RP                  \	        R S 4       4      4      P                  4       pRP                  \	        R S 4       4      4      P                  4       pRP                  \	        R S 4       4      4      P                  4       pRP                  \	        R S 4       4      4      P                  4       pR pR pV ! VVVVVVR	7      # u upi )
Nc              3   ó<   <"  € T F  pS^ ,          V8H  x € K  	  R# 5i)é    Nr    )Ú.0Ú	dset_inforƒ   s   & €r   Ú	<genexpr>Ú)DatasetInfo.from_merge.<locals>.<genexpr>ã   s   øé € Ð)gÑYfÈI¨-¸Õ*:¸iÖ*GÓYfùs   ƒFTz

c              3   ó8   "  € T F  qP                   x € K  	  R # 5ir8   )Údescription©r‡   Úinfos   & r   r‰   rŠ   ç   s   é € Ð/[É]ÀT×0@Ö0@Ë]ùó   ‚c              3   ó8   "  € T F  qP                   x € K  	  R # 5ir8   )Úcitationr�   s   & r   r‰   rŠ   è   ó   é € Ð,UÁ}¸t¯]®]Ã}ùr�   c              3   ó8   "  € T F  qP                   x € K  	  R # 5ir8   )Úhomepager�   s   & r   r‰   rŠ   é   r’   r�   c              3   ó8   "  € T F  qP                   x € K  	  R # 5ir8   )rn   r�   s   & r   r‰   rŠ   ê   s   é € Ð+SÁ]¸T¯L®LÃ]ùr�   )rŒ   r‘   r”   rn   r9   r_   )ÚcopyÚlenÚallrk   r   Ústrip)	rM   rƒ   rˆ   rŒ   r‘   r”   rn   r9   r_   s	   &f       r   Ú
from_mergeÚDatasetInfo.from_mergeß   s  ø€ á;HÓb¹=¨iÔ)˜Ÿ™Ö)¹=Ñbˆäˆ}Ó Ô!§c£cÔ)gÑYfÓ)g§c§c¢cÔ)gÑYfÓ)g×&gÒ&gà  Õ#Ð#à—k‘k¤-Ñ/[É]Ó/[Ó"[Ó\×bÑbÓdˆØ—;‘;œ}Ñ,UÁ}Ó,UÓUÓV×\Ñ\Ó^ˆØ—;‘;œ}Ñ,UÁ}Ó,UÓUÓV×\Ñ\Ó^ˆØ—+‘+œmÑ+SÁ]Ó+SÓSÓT×ZÑZÓ\ˆØˆØˆáØ#ØØØØØ+ô
ð 	
ùò cs
   †E�Ec                ó:   <€ V ^8„  d   QhRS[ RS[S[,          RR/# )r   rq   rd   rB   rX   )r   r   rD   )r   r   s   "€r   r   re   ø   s'   ø€ ÷ 0ñ 0©cð 0ÁHÉTÅNð 0Ð^kñ 0r   c                óŠ  € \        V3/ T;'       g    / B vr4\        P                  RV 24       V'       g   \        R4      hVP	                  \
        P                  ! V\        P                  4      RRR7      ;_uu_ 4       p\        P                  ! V4      pRRR4       V P                  X4      #   + '       g   i     L!; i)a   Create [`DatasetInfo`] from the JSON file in `dataset_info_dir`.

This function updates all the dynamically generated fields (num_examples,
hash, time of creation,...) of the [`DatasetInfo`].

This will overwrite all previous metadata.

Args:
    dataset_info_dir (`str`):
        The directory containing the metadata file. This
        should be the root directory of a specific dataset version.
    storage_options (`dict`, *optional*):
        Key/value pairs to be passed on to the file-system backend, if any.

        <Added version="2.9.0"/>

Example:

```py
>>> from datasets import DatasetInfo
>>> ds_info = DatasetInfo.from_directory("/path/to/directory/")
```
zLoading Dataset info from zECalling DatasetInfo.from_directory() with undefined dataset_info_dir.Úrry   ©ÚencodingN)r   ÚloggerÚdebugÚ
ValueErrorri   rj   rk   r
   rl   r{   Úloadr;   )rM   rq   rd   rr   rs   rN   Údataset_info_dicts   &&&    r   Úfrom_directoryÚDatasetInfo.from_directory÷   s�   € ô4 Ð+ÑG°×0EÐ0EÀ2ÑGˆˆÜ�‰Ð1Ð2BÐ1CÐDÔEßÜÐdÓeÐeØ�W‰W”Y—^’^Ð$4´f×6RÑ6RÓSÐUXÐcjˆW×kÔkÐopÜ $§	¢	¨!£Ð÷ là�}‰}Ð.Ó/Ð/÷ l×kús   ÂB2Â2C	c                ó$   <€ V ^8„  d   QhRS[ RR/# )r   r¥   rB   rX   rC   )r   r   s   "€r   r   re     s   ø€ ÷ Wñ W©$ð W°=ñ Wr   c           
     óØ   € \         P                  ! V 4       Uu0 uF  q"P                  kK  	  ppT ! R/ VP                  4        UUu/ uF  w  rEWC9   g   K  WEbK  	  uppB # u upi u uppi rG   rH   )rM   r¥   rN   rO   rP   rQ   s   &&    r   r;   ÚDatasetInfo.from_dict  sb   € ä'2×'9Ò'9¸#Ô'>Ó?Ñ'> !—v”vÑ'>ˆÐ?ÙÑVÐ'8×'>Ñ'>Ô'@ÔUÑ'@™t˜qÀAÑDT”d�a’dÑ'@ÒUÑVÐVùò @ùÛUrS   c                ó   <€ V ^8„  d   QhRR/# )r   Úother_dataset_inforX   r    )r   r   s   "€r   r   re     s   ø€ ÷ 
ñ 
¨ñ 
r   c                óì   € V P                   pVP                  ! R/ VP                   P                  4        UUu/ uF*  w  rEVf   V'       d   K  V\        P                  ! V4      bK,  	  uppB  R # u uppi rG   )Ú__dict__ÚupdaterL   r–   Údeepcopy)r=   r¬   Úignore_noneÚ	self_dictrP   rQ   s   &&&   r   r¯   ÚDatasetInfo.update  sh   € Ø—M‘Mˆ	Ø×Òñ 	
ð /×7Ñ7×=Ñ=Ô?ôá?‘D�AØ’M¬ô $�”4—=’= Ó#Ò#Ù?òô	
ùós   ¸A0ÁA0c                ó   <€ V ^8„  d   QhRR/# )r   rB   rX   r    )r   r   s   "€r   r   re   (  s   ø€ ÷ Yñ Y�mñ Yr   c                ó´   € V P                   ! R/ V P                  P                  4        UUu/ uF  w  rV\        P                  ! V4      bK  	  uppB # u uppi rG   )Ú	__class__r®   rL   r–   r°   )r=   rP   rQ   s   &  r   r–   ÚDatasetInfo.copy(  sE   € Ø�~Š~ÑXÀÇÁ×ATÑATÔAVÔ WÑAV¹¸ ¤D§M¢M°!Ó$4Ò!4ÑAVÒ WÑXÐXùÓ Ws   ¬"Ac                ó    <€ V ^8„  d   QhRS[ /# )r   rB   rC   )r   r   s   "€r   r   re   +  s   ø€ ÷ ñ ™tñ r   c                ó  € / p\        V 4      pV Fp  pW0P                  9   g   K  \        W4      p\        VR 4      '       d   VP	                  4       W&   KF  \        VR4      '       d   VP                  4       W&   Kl  WAV&   Kr  	  V# )Ú_to_yaml_listÚ_to_yaml_string)r   Ú_INCLUDED_INFO_IN_YAMLÚgetattrÚhasattrrº   r»   )r=   Ú	yaml_dictr¥   r,   r-   s   &    r   Ú_to_yaml_dictÚDatasetInfo._to_yaml_dict+  s{   € Øˆ	Ü" 4›LÐÛ$ˆCØ×1Ñ1Ö1Ü Ó*�Ü˜5 /×2Ò2Ø%*×%8Ñ%8Ó%:�I“NÜ˜UÐ$5×6Ò6Ø%*×%:Ñ%:Ó%<�I“Nà%*˜c“Nñ %ð Ðr   c                ó$   <€ V ^8„  d   QhRS[ RR/# )r   Ú	yaml_datarB   rX   rC   )r   r   s   "€r   r   re   :  s   ø€ ÷ Oñ O©ð O°ñ Or   c           
     óÐ  € \         P                  ! V4      pVP                  R 4      e!   \        P                  ! VR ,          4      VR &   VP                  R4      e!   \
        P                  ! VR,          4      VR&   \        P                  ! V 4       Uu0 uF  q"P                  kK  	  ppT ! R/ VP                  4        UUu/ uF  w  rEWC9   g   K  WEbK  	  uppB # u upi u uppi )r9   r]   r    )
r–   r°   Úgetr   Ú_from_yaml_listr   rI   rJ   rK   rL   )rM   rÃ   rN   rO   rP   rQ   s   &&    r   Ú_from_yaml_dictÚDatasetInfo._from_yaml_dict9  s¿   € ä—M’M )Ó,ˆ	Ø�=‰=˜Ó$Ò0Ü$,×$<Ò$<¸YÀzÕ=RÓ$SˆI�jÑ!Ø�=‰=˜Ó"Ò.Ü"+×";Ò";¸IÀhÕ<OÓ"PˆI�hÑÜ'2×'9Ò'9¸#Ô'>Ó?Ñ'> !—v”vÑ'>ˆÐ?ÙÑN y§¡Ô'8ÔMÑ'8™t˜q¸AÑ<L”d�a’dÑ'8ÒMÑNÐNùò @ùÛMs   ÂCÃ
C"ÃC"c                óX  € V P                   P                  R ,           RP                  \        P                  ! V 4       Uu. uFM  p\        WP                  4      '       g   K   VP                   R\        \        WP                  4      4       2NKO  	  up4      ,           R,           # u upi )Ú(z, Ú=Ú))r¶   r#   rk   rI   rJ   r½   rK   Úrepr)r=   rN   s   & r   Ú__repr__ÚDatasetInfo.__repr__C  s�   € à�N‰N×'Ñ'Øõà�i‰iÜDO×DVÒDVÐW[ÔD\ÓvÑD\¸qÔ`gÐhl×ntÑnt×`uÔ:�A—F‘F�8˜1œT¤'¨$·±Ó"7Ó8Ð9Ó:ÑD\Ñvóõð
 õð	
ùò ws   Á B'
Á"1B'
c                óø  <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[ ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[ ,          ;R&   S[S[ ,          ;R	&   S[S[ ,          ;R
&   S[S[S[ S[3,          ,          ;R&   S[S[,          ;R&   S[S[,          ;R&   S[S[	,          ;R&   S[S[	,          ;R&   S[S[	,          ;R&   S[S[	,          ;R&   S[
S[S[ ,          ,          ;R&   # )r   rŒ   r‘   r”   rn   r9   r[   r_   Úbuilder_nameÚdataset_nameÚconfig_namer\   r]   Údownload_checksumsÚdownload_sizeÚpost_processing_sizeÚdataset_sizeÚsize_in_bytesr¼   )r   r   r   r6   r   r   r   r   rD   Úintr   ra   )r   r   s   "€r   r   re   [   sb  ø‡ ‚ ñ^ Ñ=ñ_ ñ` Ñ:ña ñb Ñ:ñc ñd Ñ9ñe ñf ‘xÕ Ñ'ñg ñh Ñ.Õ/Ñ6ñi ñj Ñ0Õ1Ñ8ñk ñp ™3•-Ñ&ñq ñr ™3•-Ñ&ñs ñt ™#•Ñ%ñu ñv ‘e™C¡˜LÕ)Õ*Ñ1ñw ñz ‘YÕÑ&ñ{ ñ| !¡�Ñ-ñ} ñ~ ™C•=Ñ'ñ ñ@ #¡3�-Ñ.ñA ñB ™3•-Ñ&ñC ñD ™C•=Ñ'ñE ñH %¡T©#¥YÕ/ñ òI r   )r9   r[   r]   r_   r\   )rÓ   rÕ   r×   r9   r]   )FN)Fr8   )T)*r!   r"   r#   r$   r2   rI   Úfieldr   rŒ   r‘   r”   rn   r9   r[   r_   rÑ   rÒ   rÓ   r\   r]   rÔ   rÕ   rÖ   r×   rØ   r¼   r>   rt   rm   rp   rV   rš   r¦   r;   r¯   r–   rÀ   rÇ   rÎ   r%   r&   r'   r(   s   @r   rX   rX   [   s<  ø‡ € ñ*ðZ #×(Ò(¸Ô=€KØ×%Ò%°cÔ:€HØ×%Ò%°cÔ:€HØ×$Ò$°SÔ9€GØ#'€HØ26€NØ48€Oð #'€LØ"&€LØ!%€KØ-1€Gà"&€FØ)-ÐØ#'€MØ*.ÐØ"&€LØ#'€Mò3ÐòR÷&&ò &ô:aò1ð ÷
ó ð
ð. ÷0ñ 0ó ð0ðB ÷Wó ðW÷
ò 
÷Yð Y÷ð ð ÷Oó ðOò
÷Q ƒ r   rX   c                   ó€   a € ] tR tRt o RV 3R lR llt]V 3R lR l4       t]V 3R lR l4       tV 3R lR	 ltR
t	V t
R# )ÚDatasetInfosDictiN  c                ó   <€ V ^8„  d   QhRR/# )r   rB   Nr    )r   r   s   "€r   r   ÚDatasetInfosDict.__annotate__O  s   ø€ ÷ 9ñ 9Ð\`ñ 9r   c           
     óÐ  € / p\         P                  P                  V\        P                  4      p\         P                  P                  V\        P
                  4      pV'       g   V P                  V4      pVP                  V 4       \         P                  P                  V4      '       do   \        VR RR7      ;_uu_ 4       pVP                  4        UU	u/ uF  w  r‰V\        V	4      bK  	  p
pp	\        P                  ! Y§V'       d   ^MRR7       RRR4       \         P                  P                  V4      '       d$   \        P                  ! V4      pVP                   pMRp\#        4       pV'       dV   VP%                  V4       Vf#   \        R\'        V4      ,           R,           4      MTpVP)                  \+        V4      4       R# R# u up	pi   + '       g   i     LÉ; i)Úwry   rŸ   Nrw   z---
z
---
)ÚosÚpathrk   r
   ÚDATASETDICT_INFOS_FILENAMEÚREPOCARD_FILENAMEr¦   r¯   Úexistsri   rL   r   r{   Údumpr   r¤   Údatar	   Úto_dataset_card_datar   Úsaver   )r=   Údataset_infos_dirÚ	overwriterh   Útotal_dataset_infosÚdataset_infos_pathÚdataset_readme_pathrN   rÓ   rˆ   Údataset_infos_dictÚdataset_cardÚdataset_card_datas   &&&&         r   rt   Ú#DatasetInfosDict.write_to_directoryO  sy  € Ø ÐÜŸW™WŸ\™\Ð*;¼V×=^Ñ=^Ó_ÐÜ Ÿg™gŸl™lÐ+<¼f×>VÑ>VÓWÐßØ"&×"5Ñ"5Ð6GÓ"HÐØ×"Ñ" 4Ô(Ü�7‰7�>‰>Ð,×-Ò-äÐ(¨#¸×@Õ@ÀAàQd×QjÑQjÔQlô&ÙQlÑ7M°{�K¤¨	Ó!2Ò2ÑQlð #ñ &ô —	’	Ð,¿\¹ÈtÕT÷	 Aô �7‰7�>‰>Ð-×.Ò.Ü&×+Ò+Ð,?Ó@ˆLØ ,× 1Ñ 1ÑàˆLÜ /Ó 1ÐßØ×4Ñ4Ð5FÔGàMYÒMa”˜G¤cÐ*;Ó&<Õ<¸yÕHÔIÐgsð ð ×ÑœdÐ#6Ó7Ö8ñ ùó&÷ A×@ús   ÃGÃG
Ã/%GÇGÇG%	c                ó   <€ V ^8„  d   QhRR/# )r   rB   rÜ   r    )r   r   s   "€r   r   rÞ   l  s   ø€ ÷ ñ Ð2Dñ r   c                ó   € \         P                  R V 24       \        P                  P	                  \        P                  P                  V\        P                  4      4      '       dW   \        P                  ! \        V4      \        P                  ,          4      P                  pRV9   d   V P                  V4      # \        P                  P	                  \        P                  P                  V\        P                  4      4      '       dŸ   \        \        P                  P                  V\        P                  4      RR7      ;_uu_ 4       pT ! \        P                  ! V4      P!                  4        UUu/ uF  w  rEV\"        P%                  V4      bK  	  upp4      uuRRR4       # V ! 4       # u uppi   + '       g   i     R# ; i)zLoading Dataset Infos from Údataset_infory   rŸ   N)r¡   r¢   rá   râ   rå   rk   r
   rä   r   r¤   r   rç   Úfrom_dataset_card_datarã   ri   r{   rL   rX   r;   )rM   rê   rñ   rN   rÓ   r¥   s   &&    r   r¦   ÚDatasetInfosDict.from_directoryk  sC  € ä�‰Ð2Ð3DÐ2EÐFÔGä�7‰7�>‰>œ"Ÿ'™'Ÿ,™,Ð'8¼&×:RÑ:RÓS×TÒTÜ +× 0Ò 0´Ð6GÓ1HÌ6×KcÑKcÕ1cÓ d× iÑ iÐØÐ!2Ô2Ø×1Ñ1Ð2CÓDÐDÜ�7‰7�>‰>œ"Ÿ'™'Ÿ,™,Ð'8¼&×:[Ñ:[Ó\×]Ò]ä”b—g‘g—l‘lÐ#4´f×6WÑ6WÓXÐcj×kÕkÐopÙô ?C¿iºiÈ»l×>PÑ>PÔ>Rôá>RÑ:˜Kð $¤[×%:Ñ%:Ð;LÓ%MÒMÙ>Ròó÷ lÒkñ “5ˆLùó÷ l×kÐkús   Å*F<Å<!F6ÆF<Æ6F<Æ<G	c                ó$   <€ V ^8„  d   QhRS[ RR/# )r   rñ   rB   rÜ   ©r	   )r   r   s   "€r   r   rÞ   €  s   ø€ ÷ ñ ±ð ÐK]ñ r   c           	     óÌ  € \        VP                  R 4      \        \        34      '       d¯   \        VR ,          \        4      '       dD   T ! VR ,           Uu/ uF)  pVP                  RR4      \        P                  V4      bK+  	  up4      # \        P                  VR ,          4      pVR ,          P                  RR4      Vn        V ! VP                  V/4      # V ! 4       # u upi )rõ   rÓ   Údefault)r:   rÅ   ra   rD   rX   rÇ   rÓ   )rM   rñ   Údataset_info_yaml_dictrõ   s   &&  r   rö   Ú'DatasetInfosDict.from_dataset_card_data  sâ   € äÐ'×+Ñ+¨NÓ;¼dÄD¸\×JÒJÜÐ+¨NÕ;¼T×BÒBÙð
 7HÈÖ6Wó	ñ 7XÐ2ð /×2Ñ2°=À)ÓLÌk×NiÑNiØ2óOò ñ 7Xñ	óð ô  +×:Ñ:Ð;LÈ^Õ;\Ó]�Ø+<¸^Õ+L×+PÑ+PÐQ^Ð`iÓ+j�Ô(Ù˜L×4Ñ4°lÐCÓDÐDá“5ˆLùòs   Á/C!c                ó$   <€ V ^8„  d   QhRS[ RR/# )r   rñ   rB   Nrù   )r   r   s   "€r   r   rÞ   ’  s   ø€ ÷ &Uñ &U±oð &UÈ$ñ &Ur   c                ót  € V '       Ed¤   R V9   dA   \        VR ,          \        4      '       d$   VR ,          P                  RR4      VR ,          /pMGR V9   d?   \        VR ,          \        4      '       d"   VR ,           Uu/ uF  pVR,          VbK  	  ppM/ p/ VCV P	                  4        UUu/ uF  w  rEWEP                  4       bK  	  uppCpVP	                  4        F	  w  rGWGR&   K  	  \        V4      ^8X  dZ   \        \        VP                  4       4      4      VR &   VR ,          P                  RR4      pVR8w  d   RV/VR ,          CVR &   R# R# . VR &   \        VP	                  4       4       F5  w  rHVP                  RR4       RV/VCpVR ,          P                  V4       K7  	  R# R# u upi u uppi )rõ   rÓ   rû   N)r:   rD   rÅ   ra   rL   rÀ   r—   ÚnextÚiterÚvaluesÚpopÚsortedÚappend)	r=   rñ   Údataset_metadata_infosÚconfig_metadatarÓ   rˆ   rì   Údset_info_yaml_dictrü   s	   &&       r   rè   Ú%DatasetInfosDict.to_dataset_card_data’  së  € ßˆ4àÐ!2Ô2´zÐBSÐTbÕBcÔei×7jÒ7jà% nÕ5×9Ñ9¸-ÈÓSÐUfÐguÕUvð*Ñ&ð  Ð#4Ô4¼ÐDUÐVdÕDeÔgk×9lÒ9lð ,=¸^Ö+Ló*á+L˜ð $ MÕ2°OÒCÙ+Lð 'ð *Ð&ð
 *,Ð&ð#Ø(ð#àX\×XbÑXbÔXdÔeÑXdÑ>T¸k�;× 7Ñ 7Ó 9Ò9ÑXdÒeð#Ðð
 5H×4MÑ4MÖ4OÑ0�Ø5@ MÓ2ñ 5PäÐ&Ó'¨1Ô,ä48¼Ð>Q×>XÑ>XÓ>ZÓ9[Ó4\Ð! .Ñ1Ø/°Õ?×CÑCÀMÐSWÓX�Ø )Ô+ð & {ð9à+¨NÕ;ð9Ð% nÓ5ñ ,ð 57Ð! .Ñ1Ü;AÐBU×B[ÑB[ÓB]Ö;^Ñ7�Kà*×.Ñ.¨}¸dÔCØ.;¸[Ð-cÐLbÐ-cÐ*Ø% nÕ5×<Ñ<Ð=SÖTó	 <_ñC ùò*ùó fs   Â F/Â.F4r    N)FF)r!   r"   r#   r$   rt   rV   r¦   rö   rè   r&   r'   r(   s   @r   rÜ   rÜ   N  sC   ø‡ € ÷9ò 9ð8 ÷ó ðð& ÷ó ð÷$&Uö &Ur   rÜ   ),r2   r–   rI   r{   rá   rj   r   Úpathlibr   Útypingr   r   r   ÚfsspecÚfsspec.corer   Úhuggingface_hubr   r	   r   r
   r9   r   r]   r   Úutilsr   Úutils.loggingr   Úutils.py_utilsr   r   r!   r¡   r   r*   Ú	Exceptionr0   r4   r6   rX   rD   r   rÜ   r    r   r   Ú<module>r     sí   ðñ ó Û Û Û 	Û Ý !Ý ß ,Ñ ,ã Ý !ß 8å Ý Ý Ý Ý %ß 1ñ 
�HÓ	€ð ÷ð ó ðð
 ÷ð ó ðô
F Iô Fô: )ô :ð ÷^ð ^ó ð^ð ÷o
ð o
ó ðo
ôdjU�t˜C Ð,Õ-ö jUr   