
    oi                         % S SK JrJr  Sq\\S'   / SQrSrSrSrS\	S	\
4S
 jrSS/4S\
S\\
   S	\4S jjr      SS\\
   S\S\
S\
S\
S\	S	\\   4S jjrg)    )HfApi	ModelInfoN_HFAPI)	downloadsdownloadsAllTimetrendingScorelikes  @B  ʚ;valuereturnc                     U [         :  a  [        U 5      $ U [        :  a  [        U 5      S-  S S3$ U [        :  a  [        U 5      S-  S S3$ [        U 5      S-  S S3$ )Nr
   z,.1fKr   Mr   B)THOUSANDstrMILLIONfloatBILLION)r   s    N/home/james-whalen/.local/lib/python3.13/site-packages/unsloth/utils/hf_hub.pyformatted_intr      sm    x5z	,%d+1--	,(.a00,+D133    safetensorslastModifiedmodel_id
propertiesc                     [         c
  [        5       q  [         R                  XS9nU$ ! [         a  n[	        SU  SU 35        Sn SnAU$ SnAff = f)a!  
Get the model info for a specific model.

properties: list[str] = See https://huggingface.co/docs/huggingface_hub/api-ref/hf_hub/hf_api/model_info
Default properties: ["safetensors", "lastModified"], only retrieves minimal information.
Set to None to retrieve the full model information.
N)expandzError getting model info for z: )r   r   
model_info	Exceptionprint)r   r   r!   es       r   get_model_infor%      sc     ~ & 1 1( 1 P
   -hZr!=>
s   ( 
AAAfullsortauthorsearchlimitc           	      j    [         c
  [        5       q U(       a  Sn [         R                  UUUUU US9nU$ )a|  
Retrieve model information from the Hugging Face Hub.

properties: list[str] = See https://huggingface.co/docs/huggingface_hub/api-ref/hf_hub/hf_api/list_models
full: bool = Whether to retrieve the full model information, if True properties will be ignored.
sort: str = The sort order.
author: str = The author of the model.
search: str = The search query for filtering models.

N)r(   r)   r'   r*   r    r&   )r   r   list_models)r   r&   r'   r(   r)   r*   modelss          r   r,   r,   0   sF    & ~
$00 1 F Mr   )NFr   unslothN
   )huggingface_hubr   r   r   __annotations__POPULARITY_PROPERTIESr   r   r   intr   r   listr%   boolr,    r   r   <module>r7      s    , ,   

4 4 4 -:>+J#Cy, ! S	 
    	 
     
)_ r   