Public
Edited
Mar 3
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
dadabase-sae-001_features.parquet
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
fineweb-sae-001_features.parquet
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
pubmed-sae-001_features.parquet
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
features_grid.parquet
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
datasets = ({
"dadabase": dadabase,
"fineweb": fineweb,
"pubmed": pubmed
})
Insert cell
combined = features.map((d,i) => {
let ds = datasets[dataset2][i]
return {
...d,
dataset_max: ds.max_activation,
dataset_count: ds.count,
dataset_avg: ds.avg_activation
}
})
Insert cell
diff = {
let ds_a = datasets["fineweb"]
let ds_b = datasets[dataset]
return features.map((d,i) => {
return {
...d,
dataset_max: ds_b[i].max_activation,
dataset_count: ds_b[i].count,
dataset_avg: ds_b[i].avg_activation,
max_diff: ds_a[i].max_activation - ds_b[i].max_activation,
// max_diff: d.max_activation * .75 - ds_b[i].max_activation,
count_diff: ds_a[i].count/ds_b.length - ds_b[i].count/ds_a.length,
avg_diff: ds_a[i].avg_activation - ds_b[i].avg_activation,
a: ds_a[i],
b: ds_b[i]
}
})
}
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more