Show author and SP length in soft prompt menu

This commit is contained in:
Gnome Ann
2022-01-18 16:30:09 -05:00
parent 1e2dbd42a6
commit 1951ccd2ce
5 changed files with 15 additions and 9 deletions

View File

@ -161,6 +161,7 @@ def getspfiles(model_dimension: int):
ob = {}
z.close()
ob["filename"] = file
ob["n_tokens"] = shape[-2]
lst.append(ob)
return lst