Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ import inspect
|
|
19 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
20 |
|
21 |
tokenizer = AutoTokenizer.from_pretrained("meetkai/functionary-small-v3.2-GGUF", trust_remote_code=True)
|
22 |
-
model_path = AutoModelForCausalLM.from_pretrained("
|
23 |
# Configure logging
|
24 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
25 |
logger = logging.getLogger(__name__)
|
|
|
19 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
20 |
|
21 |
tokenizer = AutoTokenizer.from_pretrained("meetkai/functionary-small-v3.2-GGUF", trust_remote_code=True)
|
22 |
+
model_path = AutoModelForCausalLM.from_pretrained("sentence-transformers/all-MiniLM-L6-v2", trust_remote_code=True)
|
23 |
# Configure logging
|
24 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
25 |
logger = logging.getLogger(__name__)
|