Spaces:
Sleeping
Sleeping
Ajaykanth Maddi commited on
Commit ·
5cb327f
1
Parent(s): ec53b6f
Code Changes - Optimized imports
Browse files- ragbench.py +0 -5
ragbench.py
CHANGED
|
@@ -28,16 +28,11 @@ from constants import (
|
|
| 28 |
)
|
| 29 |
from utils import (
|
| 30 |
post_with_retry,
|
| 31 |
-
extract_response_text,
|
| 32 |
-
form_document_sentences_from_chunks,
|
| 33 |
-
form_response_sentences,
|
| 34 |
-
get_evaluator_trace_prompt
|
| 35 |
)
|
| 36 |
|
| 37 |
from constants import (
|
| 38 |
HF_DATASET_REPO_NAME,
|
| 39 |
HF_REPO_TYPE,
|
| 40 |
-
GLOBAL_HUGGINGFACE_REPO_EXISTS
|
| 41 |
)
|
| 42 |
|
| 43 |
# Define document structure
|
|
|
|
| 28 |
)
|
| 29 |
from utils import (
|
| 30 |
post_with_retry,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
)
|
| 32 |
|
| 33 |
from constants import (
|
| 34 |
HF_DATASET_REPO_NAME,
|
| 35 |
HF_REPO_TYPE,
|
|
|
|
| 36 |
)
|
| 37 |
|
| 38 |
# Define document structure
|