Spaces:
Sleeping
Sleeping
Upload model weight, fix numba dep.
Browse files- model.pt +3 -0
- requirements.txt +2 -1
- tokenizers.py +1 -0
model.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c89045aba1c1254c3e27050ac182ef288e8841e1b5893e76b1e4f042fe29f48
|
3 |
+
size 541981310
|
requirements.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
torch
|
2 |
-
gradio
|
|
|
|
1 |
torch
|
2 |
+
gradio
|
3 |
+
numba
|
tokenizers.py
CHANGED
@@ -2,6 +2,7 @@ import time
|
|
2 |
from typing import *
|
3 |
import re
|
4 |
import json
|
|
|
5 |
|
6 |
|
7 |
def sample_vocab(tokens: Iterable[str], vocab_size: Optional[int] = None,
|
|
|
2 |
from typing import *
|
3 |
import re
|
4 |
import json
|
5 |
+
import numba
|
6 |
|
7 |
|
8 |
def sample_vocab(tokens: Iterable[str], vocab_size: Optional[int] = None,
|