Skip to content

Commit d2a83aa

Browse files
josejuanmartinezjsl-modelsMary-Scigadde5300Jose J. Martinez
authored
Legal 1.7.0rc0.1 (JohnSnowLabs#13470)
* 2023-01-26-legclf_agreement_of_purchase_and_sale_bert_en (JohnSnowLabs#13418) * Add model 2023-01-26-legclf_agreement_of_purchase_and_sale_bert_en * Update 2023-01-26-legclf_agreement_of_purchase_and_sale_bert_en.md * Add model 2023-01-26-legclf_confidential_treatment_bert_en * Update 2023-01-26-legclf_confidential_treatment_bert_en.md * Add model 2023-01-26-legclf_form_of_indemnification_agreement_bert_en * Update 2023-01-26-legclf_form_of_indemnification_agreement_bert_en.md * Add model 2023-01-26-legclf_independent_contractor_agreement_bert_en * Update 2023-01-26-legclf_independent_contractor_agreement_bert_en.md * Add model 2023-01-26-legclf_non_competition_agreement_bert_en * Update 2023-01-26-legclf_non_competition_agreement_bert_en.md * Add model 2023-01-26-legclf_principal_underwriting_agreement_bert_en * Update 2023-01-26-legclf_principal_underwriting_agreement_bert_en.md * Add model 2023-01-26-legclf_settlement_agreement_and_mutual_release_bert_en * Update 2023-01-26-legclf_settlement_agreement_and_mutual_release_bert_en.md * Add model 2023-01-26-legclf_shareholder_services_agreement_bert_en * Update 2023-01-26-legclf_shareholder_services_agreement_bert_en.md * Add model 2023-01-26-legclf_term_loan_credit_agreement_bert_en * Update 2023-01-26-legclf_term_loan_credit_agreement_bert_en.md * Add model 2023-01-26-legclf_trademark_license_agreement_bert_en * Update 2023-01-26-legclf_trademark_license_agreement_bert_en.md Co-authored-by: Mary-Sci <meryemyildiz366@gmail.com> Co-authored-by: Merve Ertas Uslu <67653613+Mary-Sci@users.noreply.github.com> * 2023-01-27-legclf_termination_for_convenience_clause_en (JohnSnowLabs#13425) * Add model 2023-01-27-legclf_termination_for_convenience_clause_en * Update 2023-01-27-legclf_termination_for_convenience_clause_en.md * Add model 2023-01-27-legclf_indemnification_procedures_clause_en * Update 2023-01-27-legclf_indemnification_procedures_clause_en.md * Add model 2023-01-27-legclf_absence_of_litigation_clause_en * Update 2023-01-27-legclf_absence_of_litigation_clause_en.md * Add model 2023-01-27-legclf_capital_expenditures_clause_en * Update 2023-01-27-legclf_capital_expenditures_clause_en.md * Add model 2023-01-27-legclf_application_of_trust_money_clause_en * Update 2023-01-27-legclf_application_of_trust_money_clause_en.md * Add model 2023-01-27-legclf_deposit_of_redemption_price_clause_en * Update 2023-01-27-legclf_deposit_of_redemption_price_clause_en.md * Add model 2023-01-27-legclf_disclosure_of_information_clause_en * Update 2023-01-27-legclf_disclosure_of_information_clause_en.md * Add model 2023-01-27-legclf_benefits_of_indenture_clause_en * Update 2023-01-27-legclf_benefits_of_indenture_clause_en.md * Add model 2023-01-27-legclf_satisfaction_and_discharge_of_indenture_clause_en * Update 2023-01-27-legclf_satisfaction_and_discharge_of_indenture_clause_en.md * Add model 2023-01-27-legclf_method_of_exercise_clause_en * Update 2023-01-27-legclf_method_of_exercise_clause_en.md Co-authored-by: Mary-Sci <meryemyildiz366@gmail.com> Co-authored-by: Merve Ertas Uslu <67653613+Mary-Sci@users.noreply.github.com> * 2023-01-29-legclf_master_administrative_services_agreement_bert_en (JohnSnowLabs#13427) * Add model 2023-01-29-legclf_master_administrative_services_agreement_bert_en * Add model 2023-01-29-legclf_standstill_agreement_bert_en * Add model 2023-01-29-legclf_adoption_agreement_bert_en * Add model 2023-01-29-legclf_compensation_agreement_bert_en * Add model 2023-01-29-legclf_investment_advisory_and_management_agreement_bert_en * Add model 2023-01-29-legclf_sublicense_agreement_bert_en * Add model 2023-01-29-legclf_retirement_agreement_bert_en * Add model 2023-01-29-legclf_noncompetition_agreement_bert_en * Add model 2023-01-29-legclf_arrangement_agreement_bert_en * Add model 2023-01-29-legclf_performance_share_award_agreement_bert_en * Update 2023-01-29-legclf_standstill_agreement_bert_en.md * Update 2023-01-29-legclf_adoption_agreement_bert_en.md * Update 2023-01-29-legclf_arrangement_agreement_bert_en.md * Update 2023-01-29-legclf_compensation_agreement_bert_en.md * Update 2023-01-29-legclf_investment_advisory_and_management_agreement_bert_en.md * Update 2023-01-29-legclf_master_administrative_services_agreement_bert_en.md * Update 2023-01-29-legclf_noncompetition_agreement_bert_en.md * Update 2023-01-29-legclf_performance_share_award_agreement_bert_en.md * Update 2023-01-29-legclf_retirement_agreement_bert_en.md * Update 2023-01-29-legclf_sublicense_agreement_bert_en.md --------- Co-authored-by: Mary-Sci <meryemyildiz366@gmail.com> Co-authored-by: Merve Ertas Uslu <67653613+Mary-Sci@users.noreply.github.com> * 2023-01-29-legclf_other_definitional_provisions_clause_en (JohnSnowLabs#13428) * Add model 2023-01-29-legclf_other_definitional_provisions_clause_en * Add model 2023-01-29-legclf_due_authorization_clause_en * Add model 2023-01-29-legclf_due_authorization_clause_en * Add model 2023-01-29-legclf_assignment_and_subletting_clause_en * Add model 2023-01-29-legclf_titles_and_subtitles_clause_en * Add model 2023-01-29-legclf_no_material_adverse_effect_clause_en * Add model 2023-01-29-legclf_subcontractors_clause_en * Add model 2023-01-29-legclf_military_leave_clause_en * Add model 2023-01-29-legclf_fringe_benefits_clause_en * Add model 2023-01-29-legclf_cusip_numbers_clause_en * Update 2023-01-29-legclf_due_authorization_clause_en.md * Update 2023-01-29-legclf_assignment_and_subletting_clause_en.md * Update 2023-01-29-legclf_cusip_numbers_clause_en.md * Update 2023-01-29-legclf_fringe_benefits_clause_en.md * Update 2023-01-29-legclf_military_leave_clause_en.md * Update 2023-01-29-legclf_no_material_adverse_effect_clause_en.md * Update 2023-01-29-legclf_other_definitional_provisions_clause_en.md * Update 2023-01-29-legclf_subcontractors_clause_en.md * Update 2023-01-29-legclf_titles_and_subtitles_clause_en.md --------- Co-authored-by: Mary-Sci <meryemyildiz366@gmail.com> Co-authored-by: Merve Ertas Uslu <67653613+Mary-Sci@users.noreply.github.com> * 2023-01-29-legclf_maintenance_of_insurance_clause_en (JohnSnowLabs#13429) * Add model 2023-01-29-legclf_maintenance_of_insurance_clause_en * Update 2023-01-29-legclf_maintenance_of_insurance_clause_en.md * Add model 2023-01-29-legclf_board_of_directors_clause_en * Update 2023-01-29-legclf_board_of_directors_clause_en.md * Add model 2023-01-29-legclf_reimbursement_of_expenses_clause_en * Update 2023-01-29-legclf_reimbursement_of_expenses_clause_en.md * Add model 2023-01-29-legclf_conditions_of_underwriters_obligations_clause_en * Update 2023-01-29-legclf_conditions_of_underwriters_obligations_clause_en.md * Add model 2023-01-29-legclf_quiet_enjoyment_clause_en * Update 2023-01-29-legclf_quiet_enjoyment_clause_en.md * Add model 2023-01-29-legclf_right_of_first_refusal_clause_en * Update 2023-01-29-legclf_right_of_first_refusal_clause_en.md * Add model 2023-01-29-legclf_waiver_of_subrogation_clause_en * Update 2023-01-29-legclf_waiver_of_subrogation_clause_en.md * Add model 2023-01-29-legclf_annual_bonus_clause_en * Update 2023-01-29-legclf_annual_bonus_clause_en.md * Add model 2023-01-29-legclf_business_expenses_clause_en * Update 2023-01-29-legclf_business_expenses_clause_en.md * Add model 2023-01-29-legclf_non_exclusivity_clause_en * Update 2023-01-29-legclf_non_exclusivity_clause_en.md --------- Co-authored-by: Mary-Sci <meryemyildiz366@gmail.com> Co-authored-by: Merve Ertas Uslu <67653613+Mary-Sci@users.noreply.github.com> * 2023-01-30-legqa_roberta_cuad_large_en (JohnSnowLabs#13430) * Add model 2023-01-30-legqa_roberta_cuad_large_en * Update 2023-01-30-legqa_roberta_cuad_large_en.md * Update 2023-01-30-legqa_roberta_cuad_large_en.md * Add model 2023-01-30-legqa_roberta_cuad_small_en * Add model 2023-01-30-legqa_roberta_cuad_base_en --------- Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> Co-authored-by: Jose J. Martinez <36634572+josejuanmartinez@users.noreply.github.com> * 2023-01-30-legner_roberta_zeroshot_cuad_base_en (JohnSnowLabs#13431) * Add model 2023-01-30-legner_roberta_zeroshot_cuad_base_en * Add model 2023-01-30-legner_roberta_zeroshot_cuad_small_en * Add model 2023-01-30-legner_roberta_zeroshot_cuad_large_en --------- Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Update 2023-01-30-legqa_roberta_cuad_base_en.md * Update 2023-01-30-legqa_roberta_cuad_large_en.md * Update 2023-01-30-legqa_roberta_cuad_small_en.md * Add model 2023-01-31-legclf_bert_maud_en (JohnSnowLabs#13444) Co-authored-by: gadde5300 <gadde5300@gmail.com> * 2023-02-02-legclf_sales_agreement_bert_en (JohnSnowLabs#13460) * Add model 2023-02-02-legclf_sales_agreement_bert_en * Update 2023-02-02-legclf_sales_agreement_bert_en.md * Add model 2023-02-02-legclf_second_supplemental_indenture_bert_en * Update 2023-02-02-legclf_second_supplemental_indenture_bert_en.md * Add model 2023-02-02-legclf_subordination_agreement_bert_en * Update 2023-02-02-legclf_subordination_agreement_bert_en.md * Add model 2023-02-02-legclf_forbearance_agreement_bert_en * Update 2023-02-02-legclf_forbearance_agreement_bert_en.md * Add model 2023-02-02-legclf_acquisition_agreement_bert_en * Update 2023-02-02-legclf_acquisition_agreement_bert_en.md * Add model 2023-02-02-legclf_private_placement_warrants_purchase_agreement_bert_en * Update 2023-02-02-legclf_private_placement_warrants_purchase_agreement_bert_en.md * Add model 2023-02-02-legclf_stock_pledge_agreement_bert_en * Update 2023-02-02-legclf_stock_pledge_agreement_bert_en.md * Add model 2023-02-02-legclf_third_supplemental_indenture_bert_en * Update 2023-02-02-legclf_third_supplemental_indenture_bert_en.md * Add model 2023-02-02-legclf_limited_liability_company_operating_agreement_bert_en * Update 2023-02-02-legclf_limited_liability_company_operating_agreement_bert_en.md * Add model 2023-02-02-legclf_nonstatutory_stock_option_agreement_bert_en * Update 2023-02-02-legclf_nonstatutory_stock_option_agreement_bert_en.md --------- Co-authored-by: Mary-Sci <meryemyildiz366@gmail.com> Co-authored-by: Merve Ertas Uslu <67653613+Mary-Sci@users.noreply.github.com> * Add model 2023-02-02-legmulticlf_mnda_sections_en (JohnSnowLabs#13462) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2023-02-02-legpipe_ner_contract_doc_parties_alias_former_en (JohnSnowLabs#13461) Co-authored-by: gadde5300 <gadde5300@gmail.com> * Sync Legal and Master (JohnSnowLabs#13469) * Updates doc with FINLEG 1.6.0 * Fixed some md files (JohnSnowLabs#13400) * Uptade ocr cards (JohnSnowLabs#13407) * 428 release candidate (JohnSnowLabs#13406) * SPARKNLP-726 Fix metadata in XXXForSequenceClassification results (JohnSnowLabs#13396) - This will fix the issue with optional key in metadata. This `"Some(POSITIVE)"` will be `"POSITIVE"` * SPARKNLP-724 Adding configuration to skip light pipeline input validation (JohnSnowLabs#13402) * Bump version & update CHANGELOG [run doc] * Update Scala and Python APIs * Release Spark NLP 4.2.8 on Conda [skip test] Co-authored-by: Danilo Burbano <37355249+danilojsl@users.noreply.github.com> Co-authored-by: github-actions <action@github.com> * update scala (JohnSnowLabs#13412) * remove {{ (JohnSnowLabs#13413) * Upd tab2 (JohnSnowLabs#13416) * remove {{ * remove {{ * add tabs fix (JohnSnowLabs#13417) * 4.2.8 Release Note Update (JohnSnowLabs#13422) * Update quickstart.md * [skip ci] Commit to branch 4.2.8-healthcare-docs-f7c11b955d888f94fe5e10c9e818e887dc6addc0-10 (JohnSnowLabs#13414) Co-authored-by: jsl-builder <jsl-builder@johnsnowlabs.com> * Delete 2022-07-07-bert_qa_legal_en_3_0.md * Delete 2022-06-20-roberta_qa_legal_qa_en_3_0.md * Delete 2022-06-06-bert_qa_bert_large_question_answering_finetuned_legal_en_3_0.md * Delete 2022-12-02-roberta_qa_base_cuad_finetuned_en.md * Delete 2022-12-02-roberta_qa_marshmellow77_base_cuad_en.md * Delete 2022-06-20-roberta_qa_marshmellow77_roberta_base_cuad_en_3_0.md * Delete 2022-06-20-roberta_qa_roberta_base_on_cuad_en_3_0.md * Delete 2022-12-02-roberta_qa_base_on_cuad_en.md * update image path (JohnSnowLabs#13439) * Update Input output (JohnSnowLabs#13451) * Fix the typo in docs * Update DeIdentification.md (JohnSnowLabs#13449) * Update DeIdentification.md * Update DeIdentification.md * Updated AssertionDL md file * rename some demos (JohnSnowLabs#13458) Old Title: New Title: Classify Self Report Age - Tweet Classify Self-Reported Age from Posts Classify Self-Reported Covid-19 Symptoms - Tweet Classify Self-Reported Covid-19 Symptoms from Posts Detect Adverse Drug Events in Tweet Detect Adverse Drug Events from Posts Classify Stance / Premise About Health Mandates in Tweets Classify Stance About Public Health Mandates from Posts Classify Self Report Vaccination Status - Tweet Classify Self Report Vaccination Status from Posts * Finance NLP 1.7.0rc0.1 (JohnSnowLabs#13468) * 2023-01-31-finclf_bert_broker_sentiment_analysis_en (JohnSnowLabs#13446) * Add model 2023-01-31-finclf_bert_broker_sentiment_analysis_en * Update 2023-01-31-finclf_bert_broker_sentiment_analysis_en.md * Update 2023-01-31-finclf_bert_broker_sentiment_analysis_en.md --------- Co-authored-by: gadde5300 <gadde5300@gmail.com> Co-authored-by: GADDE SAI SHAILESH <69344247+gadde5300@users.noreply.github.com> * 2023-01-31-finclf_bert_broker_recommendation_en (JohnSnowLabs#13445) * Add model 2023-01-31-finclf_bert_broker_recommendation_en * Update 2023-01-31-finclf_bert_broker_recommendation_en.md --------- Co-authored-by: gadde5300 <gadde5300@gmail.com> Co-authored-by: GADDE SAI SHAILESH <69344247+gadde5300@users.noreply.github.com> * Add model 2023-02-01-finner_capital_calls_en (JohnSnowLabs#13450) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2023-02-03-finclf_customer_service_category_en (JohnSnowLabs#13463) Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> * Update 2023-02-03-finclf_customer_service_category_en.md * 2023-02-03-finclf_customer_service_intent_type_en (JohnSnowLabs#13465) * Add model 2023-02-03-finclf_customer_service_intent_type_en * Update 2023-02-03-finclf_customer_service_intent_type_en.md --------- Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> * 2023-02-03-finmulticlf_customer_service_lin_features_en (JohnSnowLabs#13466) * Add model 2023-02-03-finmulticlf_customer_service_lin_features_en * Update 2023-02-03-finmulticlf_customer_service_lin_features_en.md * Update 2023-02-03-finmulticlf_customer_service_lin_features_en.md --------- Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> Co-authored-by: Jose J. Martinez <36634572+josejuanmartinez@users.noreply.github.com> * Sync finance with master (JohnSnowLabs#13467) * Updates doc with FINLEG 1.6.0 * Fixed some md files (JohnSnowLabs#13400) * Uptade ocr cards (JohnSnowLabs#13407) * 428 release candidate (JohnSnowLabs#13406) * SPARKNLP-726 Fix metadata in XXXForSequenceClassification results (JohnSnowLabs#13396) - This will fix the issue with optional key in metadata. This `"Some(POSITIVE)"` will be `"POSITIVE"` * SPARKNLP-724 Adding configuration to skip light pipeline input validation (JohnSnowLabs#13402) * Bump version & update CHANGELOG [run doc] * Update Scala and Python APIs * Release Spark NLP 4.2.8 on Conda [skip test] Co-authored-by: Danilo Burbano <37355249+danilojsl@users.noreply.github.com> Co-authored-by: github-actions <action@github.com> * update scala (JohnSnowLabs#13412) * remove {{ (JohnSnowLabs#13413) * Upd tab2 (JohnSnowLabs#13416) * remove {{ * remove {{ * add tabs fix (JohnSnowLabs#13417) * 4.2.8 Release Note Update (JohnSnowLabs#13422) * Update quickstart.md * [skip ci] Commit to branch 4.2.8-healthcare-docs-f7c11b955d888f94fe5e10c9e818e887dc6addc0-10 (JohnSnowLabs#13414) Co-authored-by: jsl-builder <jsl-builder@johnsnowlabs.com> * Delete 2022-07-07-bert_qa_legal_en_3_0.md * Delete 2022-06-20-roberta_qa_legal_qa_en_3_0.md * Delete 2022-06-06-bert_qa_bert_large_question_answering_finetuned_legal_en_3_0.md * Delete 2022-12-02-roberta_qa_base_cuad_finetuned_en.md * Delete 2022-12-02-roberta_qa_marshmellow77_base_cuad_en.md * Delete 2022-06-20-roberta_qa_marshmellow77_roberta_base_cuad_en_3_0.md * Delete 2022-06-20-roberta_qa_roberta_base_on_cuad_en_3_0.md * Delete 2022-12-02-roberta_qa_base_on_cuad_en.md * update image path (JohnSnowLabs#13439) * Update Input output (JohnSnowLabs#13451) * Fix the typo in docs * Update DeIdentification.md (JohnSnowLabs#13449) * Update DeIdentification.md * Update DeIdentification.md * Updated AssertionDL md file * rename some demos (JohnSnowLabs#13458) Old Title: New Title: Classify Self Report Age - Tweet Classify Self-Reported Age from Posts Classify Self-Reported Covid-19 Symptoms - Tweet Classify Self-Reported Covid-19 Symptoms from Posts Detect Adverse Drug Events in Tweet Detect Adverse Drug Events from Posts Classify Stance / Premise About Health Mandates in Tweets Classify Stance About Public Health Mandates from Posts Classify Self Report Vaccination Status - Tweet Classify Self Report Vaccination Status from Posts --------- Co-authored-by: Jose J. Martinez <jose.martinez@wayops.eu> Co-authored-by: Damla Gurbaz <81505007+Damla-Gurbaz@users.noreply.github.com> Co-authored-by: Aymane Chilah <a.chilah@hotmail.com> Co-authored-by: Maziyar Panahi <maziyar.panahi@iscpif.fr> Co-authored-by: Danilo Burbano <37355249+danilojsl@users.noreply.github.com> Co-authored-by: github-actions <action@github.com> Co-authored-by: Lev <agsfer@gmail.com> Co-authored-by: Cabir C <64752006+Cabir40@users.noreply.github.com> Co-authored-by: jsl-builder <48132196+jsl-builder@users.noreply.github.com> Co-authored-by: jsl-builder <jsl-builder@johnsnowlabs.com> Co-authored-by: Vildan <64216738+Meryem1425@users.noreply.github.com> --------- Co-authored-by: jsl-models <74001263+jsl-models@users.noreply.github.com> Co-authored-by: gadde5300 <gadde5300@gmail.com> Co-authored-by: GADDE SAI SHAILESH <69344247+gadde5300@users.noreply.github.com> Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> Co-authored-by: Jose J. Martinez <jose.martinez@wayops.eu> Co-authored-by: Damla Gurbaz <81505007+Damla-Gurbaz@users.noreply.github.com> Co-authored-by: Aymane Chilah <a.chilah@hotmail.com> Co-authored-by: Maziyar Panahi <maziyar.panahi@iscpif.fr> Co-authored-by: Danilo Burbano <37355249+danilojsl@users.noreply.github.com> Co-authored-by: github-actions <action@github.com> Co-authored-by: Lev <agsfer@gmail.com> Co-authored-by: Cabir C <64752006+Cabir40@users.noreply.github.com> Co-authored-by: jsl-builder <48132196+jsl-builder@users.noreply.github.com> Co-authored-by: jsl-builder <jsl-builder@johnsnowlabs.com> Co-authored-by: Vildan <64216738+Meryem1425@users.noreply.github.com> --------- Co-authored-by: Jose J. Martinez <jose.martinez@wayops.eu> Co-authored-by: Damla Gurbaz <81505007+Damla-Gurbaz@users.noreply.github.com> Co-authored-by: Aymane Chilah <a.chilah@hotmail.com> Co-authored-by: Maziyar Panahi <maziyar.panahi@iscpif.fr> Co-authored-by: Danilo Burbano <37355249+danilojsl@users.noreply.github.com> Co-authored-by: github-actions <action@github.com> Co-authored-by: Lev <agsfer@gmail.com> Co-authored-by: Cabir C <64752006+Cabir40@users.noreply.github.com> Co-authored-by: jsl-builder <48132196+jsl-builder@users.noreply.github.com> Co-authored-by: jsl-builder <jsl-builder@johnsnowlabs.com> Co-authored-by: Vildan <64216738+Meryem1425@users.noreply.github.com> Co-authored-by: jsl-models <74001263+jsl-models@users.noreply.github.com> Co-authored-by: gadde5300 <gadde5300@gmail.com> Co-authored-by: GADDE SAI SHAILESH <69344247+gadde5300@users.noreply.github.com> Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> --------- Co-authored-by: jsl-models <74001263+jsl-models@users.noreply.github.com> Co-authored-by: Mary-Sci <meryemyildiz366@gmail.com> Co-authored-by: Merve Ertas Uslu <67653613+Mary-Sci@users.noreply.github.com> Co-authored-by: gadde5300 <gadde5300@gmail.com> Co-authored-by: Jose J. Martinez <jose.martinez@wayops.eu> Co-authored-by: Damla Gurbaz <81505007+Damla-Gurbaz@users.noreply.github.com> Co-authored-by: Aymane Chilah <a.chilah@hotmail.com> Co-authored-by: Maziyar Panahi <maziyar.panahi@iscpif.fr> Co-authored-by: Danilo Burbano <37355249+danilojsl@users.noreply.github.com> Co-authored-by: github-actions <action@github.com> Co-authored-by: Lev <agsfer@gmail.com> Co-authored-by: Cabir C <64752006+Cabir40@users.noreply.github.com> Co-authored-by: jsl-builder <48132196+jsl-builder@users.noreply.github.com> Co-authored-by: jsl-builder <jsl-builder@johnsnowlabs.com> Co-authored-by: Vildan <64216738+Meryem1425@users.noreply.github.com> Co-authored-by: GADDE SAI SHAILESH <69344247+gadde5300@users.noreply.github.com> Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com>
1 parent 1cb8f50 commit d2a83aa

File tree

68 files changed

+7927
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+7927
-0
lines changed
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
---
2+
layout: model
3+
title: Legal Agreement Of Purchase And Sale Document Classifier (Bert Sentence Embeddings)
4+
author: John Snow Labs
5+
name: legclf_agreement_of_purchase_and_sale_bert
6+
date: 2023-01-26
7+
tags: [en, legal, classification, agreement, purchase, sale, licensed, bert, tensorflow]
8+
task: Text Classification
9+
language: en
10+
edition: Legal NLP 1.0.0
11+
spark_version: 3.0
12+
supported: true
13+
engine: tensorflow
14+
annotator: LegalClassifierDLModel
15+
article_header:
16+
type: cover
17+
use_language_switcher: "Python-Scala-Java"
18+
---
19+
20+
## Description
21+
22+
The `legclf_agreement_of_purchase_and_sale_bert` model is a Bert Sentence Embeddings Document Classifier used to classify if the document belongs to the class `agreement-of-purchase-and-sale` (check [Lawinsider](https://www.lawinsider.com/tags) for similar document type classification) or not (Binary Classification).
23+
24+
Unlike the Longformer model, this model is lighter in terms of inference time.
25+
26+
## Predicted Entities
27+
28+
`agreement-of-purchase-and-sale`, `other`
29+
30+
{:.btn-box}
31+
<button class="button button-orange" disabled>Live Demo</button>
32+
<button class="button button-orange" disabled>Open in Colab</button>
33+
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/legal/models/legclf_agreement_of_purchase_and_sale_bert_en_1.0.0_3.0_1674731506904.zip){:.button.button-orange}
34+
[Copy S3 URI](s3://auxdata.johnsnowlabs.com/legal/models/legclf_agreement_of_purchase_and_sale_bert_en_1.0.0_3.0_1674731506904.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3}
35+
36+
## How to use
37+
38+
39+
40+
<div class="tabs-box" markdown="1">
41+
{% include programmingLanguageSelectScalaPythonNLU.html %}
42+
43+
```python
44+
45+
document_assembler = nlp.DocumentAssembler()\
46+
.setInputCol("text")\
47+
.setOutputCol("document")
48+
49+
embeddings = nlp.BertSentenceEmbeddings.pretrained("sent_bert_base_cased", "en")\
50+
.setInputCols("document")\
51+
.setOutputCol("sentence_embeddings")
52+
53+
doc_classifier = legal.ClassifierDLModel.pretrained("legclf_agreement_of_purchase_and_sale_bert", "en", "legal/models")\
54+
.setInputCols(["sentence_embeddings"])\
55+
.setOutputCol("category")
56+
57+
nlpPipeline = nlp.Pipeline(stages=[
58+
document_assembler,
59+
embeddings,
60+
doc_classifier])
61+
62+
df = spark.createDataFrame([["YOUR TEXT HERE"]]).toDF("text")
63+
64+
model = nlpPipeline.fit(df)
65+
66+
result = model.transform(df)
67+
68+
```
69+
70+
</div>
71+
72+
## Results
73+
74+
```bash
75+
76+
+-------+
77+
|result|
78+
+-------+
79+
|[agreement-of-purchase-and-sale]|
80+
|[other]|
81+
|[other]|
82+
|[agreement-of-purchase-and-sale]|
83+
84+
```
85+
86+
{:.model-param}
87+
## Model Information
88+
89+
{:.table-model}
90+
|---|---|
91+
|Model Name:|legclf_agreement_of_purchase_and_sale_bert|
92+
|Compatibility:|Legal NLP 1.0.0+|
93+
|License:|Licensed|
94+
|Edition:|Official|
95+
|Input Labels:|[sentence_embeddings]|
96+
|Output Labels:|[class]|
97+
|Language:|en|
98+
|Size:|22.5 MB|
99+
100+
## References
101+
102+
Legal documents, scrapped from the Internet, and classified in-house + SEC documents + Lawinsider categorization
103+
104+
## Benchmarking
105+
106+
```bash
107+
108+
109+
label precision recall f1-score support
110+
agreement-of-purchase-and-sale 0.96 0.98 0.97 51
111+
other 0.99 0.98 0.99 116
112+
accuracy - - 0.98 167
113+
macro-avg 0.98 0.98 0.98 167
114+
weighted-avg 0.98 0.98 0.98 167
115+
116+
```
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
---
2+
layout: model
3+
title: Legal Confidential Treatment Document Classifier (Bert Sentence Embeddings)
4+
author: John Snow Labs
5+
name: legclf_confidential_treatment_bert
6+
date: 2023-01-26
7+
tags: [en, legal, classification, confidential, treatment, licensed, bert, tensorflow]
8+
task: Text Classification
9+
language: en
10+
edition: Legal NLP 1.0.0
11+
spark_version: 3.0
12+
supported: true
13+
engine: tensorflow
14+
annotator: LegalClassifierDLModel
15+
article_header:
16+
type: cover
17+
use_language_switcher: "Python-Scala-Java"
18+
---
19+
20+
## Description
21+
22+
The `legclf_confidential_treatment_bert` model is a Bert Sentence Embeddings Document Classifier used to classify if the document belongs to the class `confidential-treatment` (check [Lawinsider](https://www.lawinsider.com/tags) for similar document type classification) or not (Binary Classification).
23+
24+
Unlike the Longformer model, this model is lighter in terms of inference time.
25+
26+
## Predicted Entities
27+
28+
`confidential-treatment`, `other`
29+
30+
{:.btn-box}
31+
<button class="button button-orange" disabled>Live Demo</button>
32+
<button class="button button-orange" disabled>Open in Colab</button>
33+
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/legal/models/legclf_confidential_treatment_bert_en_1.0.0_3.0_1674732030348.zip){:.button.button-orange}
34+
[Copy S3 URI](s3://auxdata.johnsnowlabs.com/legal/models/legclf_confidential_treatment_bert_en_1.0.0_3.0_1674732030348.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3}
35+
36+
## How to use
37+
38+
39+
40+
<div class="tabs-box" markdown="1">
41+
{% include programmingLanguageSelectScalaPythonNLU.html %}
42+
43+
```python
44+
45+
document_assembler = nlp.DocumentAssembler()\
46+
.setInputCol("text")\
47+
.setOutputCol("document")
48+
49+
embeddings = nlp.BertSentenceEmbeddings.pretrained("sent_bert_base_cased", "en")\
50+
.setInputCols("document")\
51+
.setOutputCol("sentence_embeddings")
52+
53+
doc_classifier = legal.ClassifierDLModel.pretrained("legclf_confidential_treatment_bert", "en", "legal/models")\
54+
.setInputCols(["sentence_embeddings"])\
55+
.setOutputCol("category")
56+
57+
nlpPipeline = nlp.Pipeline(stages=[
58+
document_assembler,
59+
embeddings,
60+
doc_classifier])
61+
62+
df = spark.createDataFrame([["YOUR TEXT HERE"]]).toDF("text")
63+
64+
model = nlpPipeline.fit(df)
65+
66+
result = model.transform(df)
67+
68+
```
69+
70+
</div>
71+
72+
## Results
73+
74+
```bash
75+
76+
+-------+
77+
|result|
78+
+-------+
79+
|[confidential-treatment]|
80+
|[other]|
81+
|[other]|
82+
|[confidential-treatment]|
83+
84+
```
85+
86+
{:.model-param}
87+
## Model Information
88+
89+
{:.table-model}
90+
|---|---|
91+
|Model Name:|legclf_confidential_treatment_bert|
92+
|Compatibility:|Legal NLP 1.0.0+|
93+
|License:|Licensed|
94+
|Edition:|Official|
95+
|Input Labels:|[sentence_embeddings]|
96+
|Output Labels:|[class]|
97+
|Language:|en|
98+
|Size:|22.7 MB|
99+
100+
## References
101+
102+
Legal documents, scrapped from the Internet, and classified in-house + SEC documents + Lawinsider categorization
103+
104+
## Benchmarking
105+
106+
```bash
107+
108+
109+
label precision recall f1-score support
110+
confidential-treatment 0.98 0.98 0.98 55
111+
other 0.99 0.99 0.99 116
112+
accuracy - - 0.99 171
113+
macro-avg 0.99 0.99 0.99 171
114+
weighted-avg 0.99 0.99 0.99 171
115+
116+
```
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
---
2+
layout: model
3+
title: Legal Form Of Indemnification Agreement Document Classifier (Bert Sentence Embeddings)
4+
author: John Snow Labs
5+
name: legclf_form_of_indemnification_agreement_bert
6+
date: 2023-01-26
7+
tags: [en, legal, classification, indemnification, agreement, licensed, bert, tensorflow]
8+
task: Text Classification
9+
language: en
10+
edition: Legal NLP 1.0.0
11+
spark_version: 3.0
12+
supported: true
13+
engine: tensorflow
14+
annotator: LegalClassifierDLModel
15+
article_header:
16+
type: cover
17+
use_language_switcher: "Python-Scala-Java"
18+
---
19+
20+
## Description
21+
22+
The `legclf_form_of_indemnification_agreement_bert` model is a Bert Sentence Embeddings Document Classifier used to classify if the document belongs to the class `form-of-indemnification-agreement` (check [Lawinsider](https://www.lawinsider.com/tags) for similar document type classification) or not (Binary Classification).
23+
24+
Unlike the Longformer model, this model is lighter in terms of inference time.
25+
26+
## Predicted Entities
27+
28+
`form-of-indemnification-agreement`, `other`
29+
30+
{:.btn-box}
31+
<button class="button button-orange" disabled>Live Demo</button>
32+
<button class="button button-orange" disabled>Open in Colab</button>
33+
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/legal/models/legclf_form_of_indemnification_agreement_bert_en_1.0.0_3.0_1674732486525.zip){:.button.button-orange}
34+
[Copy S3 URI](s3://auxdata.johnsnowlabs.com/legal/models/legclf_form_of_indemnification_agreement_bert_en_1.0.0_3.0_1674732486525.zip){:.button.button-orange.button-orange-trans.button-icon.button-copy-s3}
35+
36+
## How to use
37+
38+
39+
40+
<div class="tabs-box" markdown="1">
41+
{% include programmingLanguageSelectScalaPythonNLU.html %}
42+
43+
```python
44+
45+
document_assembler = nlp.DocumentAssembler()\
46+
.setInputCol("text")\
47+
.setOutputCol("document")
48+
49+
embeddings = nlp.BertSentenceEmbeddings.pretrained("sent_bert_base_cased", "en")\
50+
.setInputCols("document")\
51+
.setOutputCol("sentence_embeddings")
52+
53+
doc_classifier = legal.ClassifierDLModel.pretrained("legclf_form_of_indemnification_agreement_bert", "en", "legal/models")\
54+
.setInputCols(["sentence_embeddings"])\
55+
.setOutputCol("category")
56+
57+
nlpPipeline = nlp.Pipeline(stages=[
58+
document_assembler,
59+
embeddings,
60+
doc_classifier])
61+
62+
df = spark.createDataFrame([["YOUR TEXT HERE"]]).toDF("text")
63+
64+
model = nlpPipeline.fit(df)
65+
66+
result = model.transform(df)
67+
68+
```
69+
70+
</div>
71+
72+
## Results
73+
74+
```bash
75+
76+
+-------+
77+
|result|
78+
+-------+
79+
|[form-of-indemnification-agreement]|
80+
|[other]|
81+
|[other]|
82+
|[form-of-indemnification-agreement]|
83+
84+
```
85+
86+
{:.model-param}
87+
## Model Information
88+
89+
{:.table-model}
90+
|---|---|
91+
|Model Name:|legclf_form_of_indemnification_agreement_bert|
92+
|Compatibility:|Legal NLP 1.0.0+|
93+
|License:|Licensed|
94+
|Edition:|Official|
95+
|Input Labels:|[sentence_embeddings]|
96+
|Output Labels:|[class]|
97+
|Language:|en|
98+
|Size:|22.4 MB|
99+
100+
## References
101+
102+
Legal documents, scrapped from the Internet, and classified in-house + SEC documents + Lawinsider categorization
103+
104+
## Benchmarking
105+
106+
```bash
107+
108+
109+
label precision recall f1-score support
110+
form-of-indemnification-agreement 1.00 0.97 0.99 36
111+
other 0.98 1.00 0.99 65
112+
accuracy - - 0.99 101
113+
macro-avg 0.99 0.99 0.99 101
114+
weighted-avg 0.99 0.99 0.99 101
115+
116+
```

0 commit comments

Comments
 (0)