IlyasMoutawwakil HF staff commited on
Commit
eeaa368
1 Parent(s): dc685a9

Update src/llm_perf.py

Browse files
Files changed (1) hide show
  1. 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
- # 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
- # llm_df = pd.read_csv("dataset/open-llm.csv")
50
- llm_df = pd.read_csv("https://huggingface.co/datasets/optimum/llm-perf-dataset/raw/e8628583f0c31457cd5f8b81352735263117fbb4/open-llm.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