Spaces:
Sleeping
Sleeping
Ajaykanth Maddi commited on
Commit ·
5cd5829
1
Parent(s): 36f0ba1
Code Changes - Advanced Options
Browse files- ragbench.py +1 -1
ragbench.py
CHANGED
|
@@ -4,7 +4,7 @@ from typing import List
|
|
| 4 |
import re, json, time
|
| 5 |
from dataclasses import dataclass
|
| 6 |
from nltk.tokenize import sent_tokenize
|
| 7 |
-
from
|
| 8 |
from huggingface_hub import InferenceClient
|
| 9 |
from langchain_community.vectorstores import FAISS
|
| 10 |
from langchain_community.retrievers import BM25Retriever
|
|
|
|
| 4 |
import re, json, time
|
| 5 |
from dataclasses import dataclass
|
| 6 |
from nltk.tokenize import sent_tokenize
|
| 7 |
+
from langchain_huggingface import HuggingFaceEmbeddings
|
| 8 |
from huggingface_hub import InferenceClient
|
| 9 |
from langchain_community.vectorstores import FAISS
|
| 10 |
from langchain_community.retrievers import BM25Retriever
|