siyagajbhe commited on
Commit
a8e8953
·
verified ·
1 Parent(s): 0f37de1

Update load_caselaw.py

Browse files
Files changed (1) hide show
  1. load_caselaw.py +5 -1
load_caselaw.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  from huggingface_hub import login
2
  import os
3
  from datasets import load_dataset
@@ -8,7 +11,8 @@ login(token=token)
8
 
9
  # ✅ Step 2: Load Caselaw dataset (small sample for testing)
10
  print("🔍 Loading a small sample of the Caselaw dataset...")
11
- ds = load_dataset("common-pile/caselaw_access_project", split="train[:3]")
 
12
 
13
  # ✅ Step 3: Show results
14
  for i, case in enumerate(ds):
 
1
+
2
+ print("✅ Starting Space …")
3
+
4
  from huggingface_hub import login
5
  import os
6
  from datasets import load_dataset
 
11
 
12
  # ✅ Step 2: Load Caselaw dataset (small sample for testing)
13
  print("🔍 Loading a small sample of the Caselaw dataset...")
14
+ ds = load_dataset("common-pile/caselaw_access_project", split="train[:100]")
15
+
16
 
17
  # ✅ Step 3: Show results
18
  for i, case in enumerate(ds):