
    謜i                         d dl mZ d dlZ	 	 	 ddee ej                  d      f   deedz   ej
                  d      f   dee ej
                  d	      f   d
ee ej
                  d      f   fdZy)    )	AnnotatedNmodel_idzThe model ID to download)help	cache_dirzDirectory where to save files.force_downloadzMIf set, the files will be downloaded even if they are already cached locally.trust_remote_codezWhether or not to allow for custom models defined on the Hub in their own modeling files. Use only if you've reviewed the code as it will execute on your local machinec                 h    ddl m}m} |j                  | |||       |j                  | |||       y)z0Download a model and its tokenizer from the Hub.   )	AutoModelAutoTokenizer)r   r   r   N)models.autor   r   from_pretrained)r   r   r   r   r   r   s         U/mnt/e/genesis-system/.venv/lib/python3.12/site-packages/transformers/cli/download.pydownloadr      sC     7InXi   !!InXi "     )NFF)typingr   typerstrArgumentOptionboolr    r   r   <module>r      s     
 ]a 	 	^U^^1KLLMt\U\\7W%XXY lell opp ! {	
	r   