Skip to content

Commit ce8783c

Browse files
kenhktsuiWauplin
andauthored
Update FastText countDownloads (#742)
Add query file for FastText library according to [here](https://huggingface.co/docs/hub/en/models-download-stats). Most FastText model is in format of [bin](https://fasttext.cc/docs/en/python-module.html) so a wildcard of "*.bin" is added. --------- Co-authored-by: Lucain <[email protected]>
1 parent a9c77db commit ce8783c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/tasks/src/model-libraries.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
171171
repoUrl: "https://fasttext.cc/",
172172
snippets: snippets.fasttext,
173173
filter: true,
174+
countDownloads: {
175+
wildcard: { path: "*.bin" },
176+
},
174177
},
175178
flair: {
176179
prettyLabel: "Flair",

0 commit comments

Comments
 (0)