add my pretrained model links

This commit is contained in:
Andrej Karpathy
2023-07-23 15:24:23 +00:00
parent 9414e7a45e
commit 0c2a880063
2 changed files with 34 additions and 9 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import subprocess
import time
# specify your command
command = ["./run", "model.bin"]
command = ["./run", "out/model.bin"]
# Start the process
proc = subprocess.Popen(command, stdout=subprocess.PIPE)
@@ -25,7 +25,7 @@ for line in proc.stdout:
t1 = time.time()
print('\n---\n')
print("Sorry I'm not sure why sentencepiece can't stream tokens properly, I'll solve it later. Here is the whole thing:")
print("Sorry I'm not sure why sentencepiece can't stream tokens properly, I'll solve it later. Here is the whole thing properly:")
print('\n---\n')
print(enc.decode(tokens))