Spaces:
Runtime error
Runtime error
Update qabot.py
Browse files
qabot.py
CHANGED
|
@@ -26,6 +26,11 @@ model_file = hf_hub_download(
|
|
| 26 |
cache_dir=cache_path
|
| 27 |
)
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
# Vector store location
|
| 30 |
vector_dp_path = "/home/user/app/vectorstores/db_faiss"
|
| 31 |
|
|
|
|
| 26 |
cache_dir=cache_path
|
| 27 |
)
|
| 28 |
|
| 29 |
+
# from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 30 |
+
|
| 31 |
+
# tokenizer = AutoTokenizer.from_pretrained("vinai/PhoGPT-4B", trust_remote_code=True)
|
| 32 |
+
# model = AutoModelForCausalLM.from_pretrained("vinai/PhoGPT-4B", trust_remote_code=True)
|
| 33 |
+
|
| 34 |
# Vector store location
|
| 35 |
vector_dp_path = "/home/user/app/vectorstores/db_faiss"
|
| 36 |
|