Spaces:
Running
Running
Update src/llm_perf.py
Browse files- src/llm_perf.py +9 -9
src/llm_perf.py
CHANGED
|
@@ -39,15 +39,15 @@ SORTING_ASCENDING = [False, True, False]
|
|
| 39 |
|
| 40 |
def get_llm_df():
|
| 41 |
# commented for now since scraping script is not working
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
llm_df = pd.read_csv("
|
| 51 |
|
| 52 |
return llm_df
|
| 53 |
|
|
|
|
| 39 |
|
| 40 |
def get_llm_df():
|
| 41 |
# commented for now since scraping script is not working
|
| 42 |
+
hf_hub_download(
|
| 43 |
+
repo_id=LLM_PERF_DATASET_REPO,
|
| 44 |
+
filename="open-llm.csv",
|
| 45 |
+
local_dir="dataset",
|
| 46 |
+
repo_type="dataset",
|
| 47 |
+
token=HF_TOKEN,
|
| 48 |
+
)
|
| 49 |
+
|
| 50 |
+
llm_df = pd.read_csv("dataset/open-llm.csv")
|
| 51 |
|
| 52 |
return llm_df
|
| 53 |
|