Skip to content

Commit f23821e

Browse files
committed
added new models
1 parent 837a495 commit f23821e

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "tinymodel"
3-
version = "0.1.1-9"
3+
version = "0.1.2-1"
44
description = "A small TinyStories LM with SAEs and transcoders"
55
authors = ["Noa Nabeshima <noanabeshima@gmail.com>"]
66
readme = "README.md"

tiny_model/lm.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,13 +249,11 @@ def __getitem__(self, mlp_tag):
249249

250250

251251
def get_state_dict(model_fname="tiny_model"):
252-
"""
253-
There are two models available: `tiny_model` and `tiny_model_1_epoch`.
254-
"""
255252
assert model_fname in [
256253
"tiny_model",
257-
"tiny_model_1_epoch",
258-
], "There are two models available: `tiny_model` and `tiny_model_1_epoch`."
254+
"tiny_model_2L_1E",
255+
"tiny_model_2L_3E"
256+
], "There are 3 models available: `tiny_model`, `tiny_model_2L_1E`, and `tiny_model_2L_3E`."
259257
state_dict = torch.load(
260258
hf_hub_download(repo_id="noanabeshima/tiny_model", filename=f"{model_fname}.pt"),
261259
map_location=torch.device('cpu')

0 commit comments

Comments
 (0)