Spaces:
Sleeping
Sleeping
Update app.py
Browse filesnew model with full data
app.py
CHANGED
@@ -4,7 +4,9 @@ from utils import *
|
|
4 |
from datasets import load_dataset
|
5 |
import json
|
6 |
|
7 |
-
pipe = pipeline(model="raminass/SCOTUS_AI_15", top_k=15, padding=True, truncation=True)
|
|
|
|
|
8 |
all = load_dataset("raminass/full_opinions_1994_2020")
|
9 |
df = pd.DataFrame(all["train"])
|
10 |
choices = []
|
|
|
4 |
from datasets import load_dataset
|
5 |
import json
|
6 |
|
7 |
+
# pipe = pipeline(model="raminass/SCOTUS_AI_15", top_k=15, padding=True, truncation=True)
|
8 |
+
pipe = pipeline(model="raminass/SCOTUS_AI_V15", top_k=15, padding=True, truncation=True)
|
9 |
+
|
10 |
all = load_dataset("raminass/full_opinions_1994_2020")
|
11 |
df = pd.DataFrame(all["train"])
|
12 |
choices = []
|