Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -21,10 +21,11 @@ llm = LlamaCpp(
|
|
21 |
verbose=True,
|
22 |
n_ctx=4096
|
23 |
)
|
24 |
-
model0 = AutoModel.from_pretrained('sentence-transformers/paraphrase-TinyBERT-L6-v2')
|
25 |
|
26 |
model = SentenceTransformer('sentence-transformers/paraphrase-TinyBERT-L6-v2')
|
27 |
|
|
|
28 |
file_size = os.stat('Phi-3-mini-4k-instruct-q4.gguf')
|
29 |
print("model size ====> :", file_size.st_size, "bytes")
|
30 |
|
|
|
21 |
verbose=True,
|
22 |
n_ctx=4096
|
23 |
)
|
24 |
+
model0 = AutoModel.from_pretrained('sentence-transformers/paraphrase-TinyBERT-L6-v2', force_download=True)
|
25 |
|
26 |
model = SentenceTransformer('sentence-transformers/paraphrase-TinyBERT-L6-v2')
|
27 |
|
28 |
+
|
29 |
file_size = os.stat('Phi-3-mini-4k-instruct-q4.gguf')
|
30 |
print("model size ====> :", file_size.st_size, "bytes")
|
31 |
|