Update README.md
Browse files
README.md
CHANGED
|
@@ -31,8 +31,11 @@ from transformers import pipeline
|
|
| 31 |
|
| 32 |
qa_pipeline = pipeline("question-answering", model="srraghuram/roberta-cuad-clause-extraction")
|
| 33 |
|
| 34 |
-
result = qa_pipeline(
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
## Limitations
|
| 38 |
- Trained on commercial contracts, may not generalize to other legal document types
|
|
|
|
| 31 |
|
| 32 |
qa_pipeline = pipeline("question-answering", model="srraghuram/roberta-cuad-clause-extraction")
|
| 33 |
|
| 34 |
+
result = qa_pipeline(
|
| 35 |
+
question="Highlight the parts related to Governing Law",
|
| 36 |
+
context="Your contract text here..."
|
| 37 |
+
)
|
| 38 |
+
print(result)
|
| 39 |
|
| 40 |
## Limitations
|
| 41 |
- Trained on commercial contracts, may not generalize to other legal document types
|