Spaces:
Runtime error
Runtime error
chore: Modify all examples to use same model set
Browse files- util/examples.py +15 -15
util/examples.py
CHANGED
@@ -22,8 +22,8 @@ entries = [
|
|
22 |
[
|
23 |
"https://patents.google.com/patent/US9820315B2",
|
24 |
summarizer.summary_options,
|
25 |
-
summarizer.model_names[
|
26 |
-
summarizer.model_names[
|
27 |
summarizer.model_names[2],
|
28 |
True,
|
29 |
400
|
@@ -31,9 +31,9 @@ entries = [
|
|
31 |
[
|
32 |
"https://patents.google.com/patent/US10263802B2/en?q=smart+user+interface&oq=smart+user+interface",
|
33 |
summarizer.summary_options,
|
34 |
-
summarizer.model_names[
|
35 |
-
summarizer.model_names[
|
36 |
-
summarizer.model_names[
|
37 |
True,
|
38 |
350
|
39 |
],
|
@@ -58,8 +58,8 @@ entries = [
|
|
58 |
[
|
59 |
"https://patents.google.com/patent/CN211575647U",
|
60 |
summarizer.summary_options,
|
61 |
-
summarizer.model_names[
|
62 |
-
summarizer.model_names[
|
63 |
summarizer.model_names[2],
|
64 |
True,
|
65 |
400
|
@@ -67,9 +67,9 @@ entries = [
|
|
67 |
[
|
68 |
"https://patents.google.com/patent/CN211575647U/en",
|
69 |
summarizer.summary_options,
|
70 |
-
summarizer.model_names[
|
71 |
-
summarizer.model_names[
|
72 |
-
summarizer.model_names[
|
73 |
True,
|
74 |
350
|
75 |
],
|
@@ -94,8 +94,8 @@ entries = [
|
|
94 |
[
|
95 |
"https://patents.google.com/patent/US10125002B2",
|
96 |
summarizer.summary_options,
|
97 |
-
summarizer.model_names[
|
98 |
-
summarizer.model_names[
|
99 |
summarizer.model_names[2],
|
100 |
True,
|
101 |
400
|
@@ -103,9 +103,9 @@ entries = [
|
|
103 |
[
|
104 |
"https://patents.google.com/patent/US10125002B2/en",
|
105 |
summarizer.summary_options,
|
106 |
-
summarizer.model_names[
|
107 |
-
summarizer.model_names[
|
108 |
-
summarizer.model_names[
|
109 |
True,
|
110 |
350
|
111 |
]
|
|
|
22 |
[
|
23 |
"https://patents.google.com/patent/US9820315B2",
|
24 |
summarizer.summary_options,
|
25 |
+
summarizer.model_names[3],
|
26 |
+
summarizer.model_names[0],
|
27 |
summarizer.model_names[2],
|
28 |
True,
|
29 |
400
|
|
|
31 |
[
|
32 |
"https://patents.google.com/patent/US10263802B2/en?q=smart+user+interface&oq=smart+user+interface",
|
33 |
summarizer.summary_options,
|
34 |
+
summarizer.model_names[3],
|
35 |
+
summarizer.model_names[0],
|
36 |
+
summarizer.model_names[2],
|
37 |
True,
|
38 |
350
|
39 |
],
|
|
|
58 |
[
|
59 |
"https://patents.google.com/patent/CN211575647U",
|
60 |
summarizer.summary_options,
|
61 |
+
summarizer.model_names[3],
|
62 |
+
summarizer.model_names[0],
|
63 |
summarizer.model_names[2],
|
64 |
True,
|
65 |
400
|
|
|
67 |
[
|
68 |
"https://patents.google.com/patent/CN211575647U/en",
|
69 |
summarizer.summary_options,
|
70 |
+
summarizer.model_names[3],
|
71 |
+
summarizer.model_names[0],
|
72 |
+
summarizer.model_names[2],
|
73 |
True,
|
74 |
350
|
75 |
],
|
|
|
94 |
[
|
95 |
"https://patents.google.com/patent/US10125002B2",
|
96 |
summarizer.summary_options,
|
97 |
+
summarizer.model_names[3],
|
98 |
+
summarizer.model_names[0],
|
99 |
summarizer.model_names[2],
|
100 |
True,
|
101 |
400
|
|
|
103 |
[
|
104 |
"https://patents.google.com/patent/US10125002B2/en",
|
105 |
summarizer.summary_options,
|
106 |
+
summarizer.model_names[3],
|
107 |
+
summarizer.model_names[0],
|
108 |
+
summarizer.model_names[2],
|
109 |
True,
|
110 |
350
|
111 |
]
|