File size: 158 Bytes
e753b9f
 
 
 
 
1
2
3
4
5
6
from huggingface_hub import HfApi

api = HfApi()
chat_models = api.list_models(filter="pipeline_tag:chat-completion")
print([m.modelId for m in chat_models])