Skip to content

Commit 5ef3b16

Browse files
authored
add SAELens as a library ⚡ (huggingface#826)
Couple of quick comments: 1. The way that snippets work are a bit different in the library as they work via this yaml file and load it directly via a snapshot download: https://github.com/jbloomAus/SAELens/blob/fe987f1d1b06a5f0116e390efc87a69f59e04473/sae_lens/toolkit/pretrained_saes.py#L20 Hence, the snippet doesn't really use the repo name directly, ref: https://jbloomaus.github.io/SAELens/ 2. Checking how to make the download counts work right now.
1 parent 07b83fb commit 5ef3b16

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/tasks/src/model-libraries.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,12 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
429429
filter: false,
430430
countDownloads: `path:"tokenizer.model"`,
431431
},
432+
saelens: {
433+
prettyLabel: "SAELens",
434+
repoName: "SAELens",
435+
repoUrl: "https://github.com/jbloomAus/SAELens",
436+
filter: false,
437+
},
432438
"sample-factory": {
433439
prettyLabel: "sample-factory",
434440
repoName: "sample-factory",

0 commit comments

Comments
 (0)