Skip to main content

搜索GitHub模型

可以搜索 GitHub Models 上可用的模型。

关于搜索 GitHub Models

可以通过两种方式查找 GitHub Models 上的模型:

  • 从 GitHub Marketplace 中搜索。
  • 跨所有 GitHub 进行搜索,然后将结果筛选到市场。

在 GitHub Marketplace

中搜索

  1. 若要打开 GitHub Marketplace,请在 GitHub 的左上角选择“”,然后单击“ Marketplace”****。

    GitHub 上导航栏的屏幕截图。 “打开全局导航菜单”图标以深橙色标出。

  2. 键入任何关键字并 type:models,然后按“Enter”****。

在 GitHub 上进行搜索

每次在 GitHub 中搜索时,您都可以筛选结果以查看 GitHub Marketplace 中符合条件的模型。

  1. 转到 https://github.com/search。
  2. 键入任何关键字,然后按“Enter”。
  3. 要查看搜索的所有可用筛选器,请在“筛选条件”边栏中单击“更多”****。
  4.        **
           **若要查看源自 GitHub Models 的结果,单击“Marketplace”。
    

在特定字段内搜索

与搜索文本配合使用的 in 限定符查找与该字段中的指定文本匹配的模型。 可能的字段包括 tagslicensenamedescriptiontransparencytask

限定符示例
in:FIELD
          [
          **in:tags agents**](https://github.com/search?q=in:tags+agents&type=marketplace) 匹配带有“agents”标签的模型。

|in:FIELD | in:license distribute 匹配在许可证中提及“distribute”的模型。 |in:FIELD | ** ** in:transparency "responsible ai" 匹配在其透明度信息中提及“responsible ai”的模型。

按类别搜索

          `category` 限定符查找使用特定术语标记的模型。
限定符示例
category:CATEGORY
          [
          **category:multilingual**](https://github.com/search?q=category:multilingual&type=marketplace)匹配多语言类别中的模型。

|category:CATEGORY | category:"large context" 匹配大型上下文类别中的模型。

按输入模态搜索

          `input-modality` 限定符查找在提供输入时支持特定媒介的模型。 可能的模态包括 `text`、`image` 和 `audio`。
限定符示例
input-modality:MODALITY
          [
          **输入模式:文本**](https://github.com/search?q=input-modality:text&type=marketplace) 匹配支持文本输入的模型。

按输出模态搜索

          `output-modality` 限定符查找在提供输出时支持特定媒介的模型。 可能的模式包括 `text` 和 `embeddings`。
限定符示例
output-modality:MODALITY
          [
          **output-modality:embeddings**](https://github.com/search?q=output-modality:embeddings&type=marketplace) 匹配支持嵌入输出的模型。

按语言搜索

          `language` 限定符查找支持指定的人类语言的模型。
限定符示例
language:TWO_CHARACTER_CODE
          [
          **
          **
          ](https://github.com/search?q=language:es&type=marketplace)language:es 匹配支持西班牙语的模型。

|language:NAME | ** ** language:arabic 匹配支持阿拉伯语的模型。

按任务搜索

          `task` 限定符查找可用于完成特定任务的模型。
限定符示例
task:TASK
          [
          **task:embeddings**](https://github.com/search?q=task:embeddings&type=marketplace) 匹配具有嵌入功能的模型。

|task:TASK | task:chat-completion 匹配支持通过聊天进行交互的模型。

按发布者搜索

          `publisher` 限定符查找特定发布者发布的模型。
限定符示例
publisher:PUBLISHER_NAME发布者:"Mistral AI" 匹配 Mistral AI 的模型。

按输入令牌限制搜索

          `input-tokens` 限定符查找输入令牌限制高于或低于特定值或在某个范围内的模型。
限定符示例
input-tokens:VALUE
          [
          **
          **
          ](https://github.com/search?q=input-tokens:%3E10000&type=marketplace)input-tokens:>10000 匹配输入令牌限制大于 10,000 的模型。

|input-tokens:VALUE | ** ** input-tokens:15000..20000 匹配输入令牌限制在 15,000 到 20,000 之间的模型。

按输出令牌限制搜索

          `output-tokens` 限定符查找输出令牌限制高于或低于特定值或在某个范围内的模型。
限定符示例
output-tokens:VALUE
          [
          **
          **
          ](https://github.com/search?q=output-tokens:%3C8000&type=marketplace)output-tokens:<8000 用于匹配令牌输出上限低于8000的模型。

|output-tokens:VALUE | ** ** output-tokens:15000..20000 匹配输出令牌限制在 15,000 到 20,000 之间的模型。

按速率限制层级搜索

          `rate-limit-tier` 限定符查找具有特定速率限制层级的模型。 可能的层级包括 `low`、`high` 和 `custom`。
限定符示例
rate-limit-tier:TIER
          [
          **rate-limit-tier:low**](https://github.com/search?q=rate-limit-tier:low&type=marketplace) 匹配具有低速率限制层级的模型。

按许可证类型搜索

          `license` 限定符查找使用特定许可证的模型。
限定符示例
license:LICENSE
          [
          **license:mit**](https://github.com/search?q=license:mit&type=marketplace) 匹配使用 MIT 许可证的模型。

|license:LICENSE | license:custom 用于匹配使用自定义许可证的模型。

对结果进行排序

          `sort` 限定符用于对结果进行排序。 可以单独使用,也可以与其他限定符和搜索文本结合使用。
限定符示例
sort:FIELD
          [
          **
          **
          ](https://github.com/search?q=sort:created-desc+publisher:meta&type=marketplace)sort:created-desc publisher:meta 匹配 Meta 发布的模型,且按最新添加内容优先排序。

|sort:FIELD | sort:name-asc in:task chat-completion 匹配允许聊天补全的模型,按字母顺序排序。

其他阅读材料

  •         [AUTOTITLE](/search-github/getting-started-with-searching-on-github/sorting-search-results)