Update utils.py
Browse files
utils.py
CHANGED
|
@@ -6,7 +6,7 @@ from langchain.text_splitter import RecursiveCharacterTextSplitter
|
|
| 6 |
from langchain_community.llms.huggingface_pipeline import HuggingFacePipeline
|
| 7 |
import torch
|
| 8 |
|
| 9 |
-
embedding_model_name = '
|
| 10 |
|
| 11 |
model_kwargs = {'device':'cuda' if torch.cuda.is_available() else 'cpu',"trust_remote_code": True}
|
| 12 |
|
|
|
|
| 6 |
from langchain_community.llms.huggingface_pipeline import HuggingFacePipeline
|
| 7 |
import torch
|
| 8 |
|
| 9 |
+
embedding_model_name = 'l3cube-pune/punjabi-sentence-similarity-sbert'
|
| 10 |
|
| 11 |
model_kwargs = {'device':'cuda' if torch.cuda.is_available() else 'cpu',"trust_remote_code": True}
|
| 12 |
|