Skip to content

Commit 22d8257

Browse files
ed1d1a8dWauplin
andauthored
📈 Download tracking for new diff-interpretation-tuning project (#1791)
Registering a new library per the instructions on https://huggingface.co/docs/hub/models-adding-libraries#register-your-library and https://huggingface.co/docs/hub/models-download-stats. This library is used by https://huggingface.co/diff-interpretation-tuning/loras model repo, and we are adding it so that downloads can be accurately counted. Note that every .pt file contains one or more adapter files, hence we track the total number of .pt file downloads. --------- Co-authored-by: Lucain <lucainp@gmail.com>
1 parent b91864d commit 22d8257

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎packages/tasks/src/model-libraries.ts‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,13 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
287287
snippets: snippets.dia,
288288
filter: false,
289289
},
290+
"diff-interpretation-tuning": {
291+
prettyLabel: "Diff Interpretation Tuning",
292+
repoName: "Diff Interpretation Tuning",
293+
repoUrl: "https://github.com/Aviously/diff-interpretation-tuning",
294+
filter: false,
295+
countDownloads: `path_extension:"pt"`,
296+
},
290297
diffree: {
291298
prettyLabel: "Diffree",
292299
repoName: "Diffree",

0 commit comments

Comments
 (0)