Spaces:
Running
Running
arvind6599
commited on
Commit
·
f4069c7
1
Parent(s):
25af880
Model info
Browse files- .gitignore +3 -1
- app.py +7 -4
.gitignore
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
test/
|
2 |
|
3 |
test.py
|
4 |
-
hg_secrets.py
|
|
|
|
|
|
1 |
test/
|
2 |
|
3 |
test.py
|
4 |
+
hg_secrets.py
|
5 |
+
|
6 |
+
*.json
|
app.py
CHANGED
@@ -338,6 +338,9 @@ def build_interface():
|
|
338 |
|
339 |
This task involves processing a user query to determine the relevance to the intended task, followed by analyzing textual data to extract information about law firms representing parties (Buyer, Seller, and Third Parties) and verifying the presence of a target company. For reference, see this sample agreement: [SEC Agreement Example](https://www.sec.gov/Archives/edgar/data/28452/000119312505012401/dex101.htm)
|
340 |
|
|
|
|
|
|
|
341 |
The system is designed to sequentially leverage three LLM functions:
|
342 |
|
343 |
### Step 1: LLM1
|
@@ -380,11 +383,11 @@ The goal is to identify the representative law firms of involved parties and det
|
|
380 |
**Key Considerations:**
|
381 |
- The output must adhere to the prescribed JSON format for the final step.
|
382 |
- Ensure the system can accurately extract and classify relevant information from the input paragraphs.
|
383 |
-
"""
|
384 |
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
**User Query:**
|
389 |
```
|
390 |
Is Kirkland & Ellis present in the agreement?
|
|
|
338 |
|
339 |
This task involves processing a user query to determine the relevance to the intended task, followed by analyzing textual data to extract information about law firms representing parties (Buyer, Seller, and Third Parties) and verifying the presence of a target company. For reference, see this sample agreement: [SEC Agreement Example](https://www.sec.gov/Archives/edgar/data/28452/000119312505012401/dex101.htm)
|
340 |
|
341 |
+
> **Note:**
|
342 |
+
> This evaluation system uses the `gpt-4o-mini` model with a temperature setting of `0.2` for all LLM steps.
|
343 |
+
|
344 |
The system is designed to sequentially leverage three LLM functions:
|
345 |
|
346 |
### Step 1: LLM1
|
|
|
383 |
**Key Considerations:**
|
384 |
- The output must adhere to the prescribed JSON format for the final step.
|
385 |
- Ensure the system can accurately extract and classify relevant information from the input paragraphs.
|
386 |
+
"""
|
387 |
|
388 |
+
# Example Inputs and Outputs in an Accordion
|
389 |
+
with gr.Accordion("Example Workflow", open=False):
|
390 |
+
gr.Markdown("""
|
391 |
**User Query:**
|
392 |
```
|
393 |
Is Kirkland & Ellis present in the agreement?
|