Skip to content

Commit 48fa535

Browse files
josejuanmartinezjsl-modelsgadde5300Jose J. Martinezbunyamin-polat
authored
Models hub legal (#13185)
* 2022-09-19-legre_indemnifications_en (#12758) * Add model 2022-09-19-legre_indemnifications_en * Add model 2022-09-19-legner_bert_indemnifications_en Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * 2022-09-20-legclf_cuad_confidentiality_clause_en (#12770) * Add model 2022-09-20-legclf_cuad_confidentiality_clause_en * Add model 2022-09-20-legclf_cuad_indemnifications_clause_en * Add model 2022-09-20-legclf_cuad_licenses_clause_en * Add model 2022-09-20-legclf_cuad_obligations_clause_en * Add model 2022-09-20-legclf_cuad_whereas_clause_en Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-09-27-legclf_cuad_licenses_clause_en (#12827) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-09-27-legclf_cuad_indemnifications_clause_en (#12828) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-09-27-legner_bert_indemnifications_en (#12831) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-09-27-legassertion_time_en (#12832) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-09-27-legner_br_base_pt (#12837) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-09-27-legner_br_large_pt (#12839) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-09-28-legre_indemnifications_en (#12849) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-09-28-legner_br_bert_large_pt (#12850) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * 2022-09-28-legner_br_bert_base_pt (#12852) * Add model 2022-09-28-legner_br_bert_base_pt * Add model 2022-09-28-legner_law_money_es * Add model 2022-09-28-legner_laws_treaties_es * Add model 2022-09-28-legclf_enforcement_clause_en * Add model 2022-09-28-legclf_enforceability_clause_en * Add model 2022-09-28-legclf_environmental_matters_clause_en Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * 2022-10-02-legner_arabert_arabic_ar (#12876) * Add model 2022-10-02-legner_arabert_arabic_ar * Add model 2022-10-02-legner_courts_de * Add model 2022-10-02-legner_bert_large_courts_de * Add model 2022-10-02-legner_bert_base_courts_de * Update 2022-10-02-legner_bert_large_courts_de.md * Update 2022-10-02-legner_arabert_arabic_ar.md Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> Co-authored-by: Jose J. Martinez <36634572+josejuanmartinez@users.noreply.github.com> * Add model 2022-10-02-legner_bert_base_courts_de (#12878) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * 2022-10-17-legner_confidentiality_en (#12942) * Add model 2022-10-17-legner_confidentiality_en * Update 2022-10-17-legner_confidentiality_en.md * Add model 2022-10-17-legner_warranty_en * Update 2022-10-17-legner_warranty_en.md * Update 2022-10-17-legner_warranty_en.md Co-authored-by: gadde5300 <gadde5300@gmail.com> Co-authored-by: GADDE SAI SHAILESH <69344247+gadde5300@users.noreply.github.com> * Add model 2022-10-18-legclf_cuad_warranty_clause_en (#12947) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * 2022-10-18-legre_confidentiality_en (#12948) * Add model 2022-10-18-legre_confidentiality_en * Update 2022-10-18-legre_confidentiality_en.md * Update 2022-10-18-legre_confidentiality_en.md * Update 2022-10-18-legre_confidentiality_en.md Co-authored-by: gadde5300 <gadde5300@gmail.com> Co-authored-by: GADDE SAI SHAILESH <69344247+gadde5300@users.noreply.github.com> Co-authored-by: Jose J. Martinez <36634572+josejuanmartinez@users.noreply.github.com> * 2022-10-19-legre_warranty_en (#12951) * Add model 2022-10-19-legre_warranty_en * Update 2022-10-19-legre_warranty_en.md * Update 2022-10-19-legre_warranty_en.md Co-authored-by: gadde5300 <gadde5300@gmail.com> Co-authored-by: GADDE SAI SHAILESH <69344247+gadde5300@users.noreply.github.com> * 2022-10-21-legclf_consulting_agreement_en (#12968) * Add model 2022-10-21-legclf_consulting_agreement_en * Add model 2022-10-21-legclf_credit_agreement_en * Add model 2022-10-21-legclf_employment_agreement_en * Add model 2022-10-21-legclf_lease_agreement_en * Add model 2022-10-21-legclf_loan_agreement_en * Add model 2022-10-21-legclf_management_contract_en * Add model 2022-10-21-legclf_purchase_agreement_en * Add model 2022-10-21-legclf_service_agreement_en Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Removes wrong version of leg models * 2022-10-24-legclf_consulting_agreement_en (#12979) * Add model 2022-10-24-legclf_consulting_agreement_en * Add model 2022-10-24-legclf_credit_agreement_en * Add model 2022-10-24-legclf_employment_agreement_en * Add model 2022-10-24-legclf_lease_agreement_en * Add model 2022-10-24-legclf_loan_agreement_en * Add model 2022-10-24-legclf_management_contract_en * Add model 2022-10-24-legclf_purchase_agreement_en * Add model 2022-10-24-legclf_service_agreement_en Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * 2022-10-25-legner_indian_court_judgement_en (#12986) * Add model 2022-10-25-legner_indian_court_judgement_en * Update 2022-10-25-legner_indian_court_judgement_en.md Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> * Fixes benchmark format * 2022-10-25-legner_indian_court_preamble_en (#12987) * Add model 2022-10-25-legner_indian_court_preamble_en * Update 2022-10-25-legner_indian_court_preamble_en.md Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> * Update 2022-10-25-legner_indian_court_judgement_en.md * 2022-10-25-legclf_bert_swiss_judgements_it (#12990) * Add model 2022-10-25-legclf_bert_swiss_judgements_it * Update 2022-10-25-legclf_bert_swiss_judgements_it.md * Update 2022-10-25-legclf_bert_swiss_judgements_it.md * Add model 2022-10-25-legclf_bert_swiss_judgements_fr * Update 2022-10-25-legclf_bert_swiss_judgements_fr.md * Add model 2022-10-25-legclf_bert_swiss_judgements_de * Update 2022-10-25-legclf_bert_swiss_judgements_de.md * Update 2022-10-25-legclf_bert_swiss_judgements_fr.md * Update 2022-10-25-legclf_bert_swiss_judgements_it.md * Add model 2022-10-25-legclf_bert_swiss_judgements_en * Update 2022-10-25-legclf_bert_swiss_judgements_de.md * Update 2022-10-25-legclf_bert_swiss_judgements_en.md * Update 2022-10-25-legclf_bert_swiss_judgements_fr.md * Update 2022-10-25-legclf_bert_swiss_judgements_it.md * Create 2022-10-25-legclf_bert_swiss_judgements_en.md * Update 2022-10-25-legclf_bert_swiss_judgements_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> * 2022-10-27-legclf_bert_swiss_judgements_de (#12994) * Add model 2022-10-27-legclf_bert_swiss_judgements_de * Update 2022-10-27-legclf_bert_swiss_judgements_de.md * Add model 2022-10-27-legclf_bert_swiss_judgements_en * Update 2022-10-27-legclf_bert_swiss_judgements_en.md * Add model 2022-10-27-legclf_bert_swiss_judgements_fr * Add model 2022-10-27-legclf_bert_swiss_judgements_it * Update 2022-10-27-legclf_bert_swiss_judgements_it.md * Update 2022-10-27-legclf_bert_swiss_judgements_fr.md * Update 2022-10-27-legclf_bert_swiss_judgements_en.md Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> * Fixes pipeline name * 2022-11-02-legre_contract_doc_parties_md_en (#13021) * Add model 2022-11-02-legre_contract_doc_parties_md_en * Update 2022-11-02-legre_contract_doc_parties_md_en.md Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> * 2022-11-03-legre_obligations_md_en (#13028) * Add model 2022-11-03-legre_obligations_md_en * Update 2022-11-03-legre_obligations_md_en.md * Update 2022-11-03-legre_obligations_md_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> * Add model 2022-11-09-legner_termination_en (#13054) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * 2022-11-09-legclf_cuad_termination_clause_en (#13055) * Add model 2022-11-09-legclf_cuad_termination_clause_en * Update 2022-11-09-legclf_cuad_termination_clause_en.md Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> Co-authored-by: Jose J. Martinez <36634572+josejuanmartinez@users.noreply.github.com> * 2022-11-09-legre_confidentiality_md_en (#13057) * Add model 2022-11-09-legre_confidentiality_md_en * Update 2022-11-09-legre_confidentiality_md_en.md * Update 2022-11-09-legre_confidentiality_md_en.md * Add model 2022-11-09-legre_indemnifications_md_en * Update 2022-11-09-legre_indemnifications_md_en.md * Add model 2022-11-09-legre_whereas_md_en * Update 2022-11-09-legre_whereas_md_en.md * Update 2022-11-09-legre_confidentiality_md_en.md * Add model 2022-11-09-legre_grants_md_en * Update 2022-11-09-legre_grants_md_en.md * Update 2022-11-09-legre_confidentiality_md_en.md * Update 2022-11-09-legre_grants_md_en.md * Update 2022-11-09-legre_indemnifications_md_en.md * Add model 2022-11-10-legclf_judgement_en * Delete 2022-11-10-legclf_judgement_en.md * Add model 2022-11-10-legclf_judgement_medium_de * Add model 2022-11-10-legclf_judgement_de * Update 2022-11-09-legre_confidentiality_md_en.md * Update 2022-11-09-legre_grants_md_en.md * Update 2022-11-09-legre_indemnifications_md_en.md * Update 2022-11-09-legre_grants_md_en.md * Update 2022-11-10-legclf_judgement_de.md * Update 2022-11-10-legclf_judgement_medium_de.md Co-authored-by: gadde5300 <gadde5300@gmail.com> Co-authored-by: GADDE SAI SHAILESH <69344247+gadde5300@users.noreply.github.com> * 2022-11-10-legclf_contribution_agreement_en (#13066) * Add model 2022-11-10-legclf_contribution_agreement_en * Add model 2022-11-10-legclf_custodian_agreement_en * Add model 2022-11-10-legclf_exchange_agreement_en * Add model 2022-11-10-legclf_general_distribution_agreement_en * Add model 2022-11-10-legclf_guarantee_agreement_en * Add model 2022-11-10-legclf_intercreditor_agreement_en * Add model 2022-11-10-legclf_master_repurchase_agreement_en * Add model 2022-11-10-legclf_pledge_and_security_agreement_en * Add model 2022-11-10-legclf_share_exchange_agreement_en * Add model 2022-11-10-legclf_terms_agreement_en Co-authored-by: gadde5300 <gadde5300@gmail.com> * 2022-11-10-legner_romanian_official_sm_ro (#13067) * Add model 2022-11-10-legner_romanian_official_sm_ro * Update 2022-11-10-legner_romanian_official_sm_ro.md * Add model 2022-11-10-legner_romanian_official_md_ro * Update 2022-11-10-legner_romanian_official_md_ro.md * Update 2022-11-10-legner_romanian_official_md_ro.md * Update 2022-11-10-legner_romanian_official_sm_ro.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> * 2022-11-10-legner_romanian_official_lg_ro (#13068) * Add model 2022-11-10-legner_romanian_official_lg_ro * Update 2022-11-10-legner_romanian_official_lg_ro.md * Update 2022-11-10-legner_romanian_official_lg_ro.md Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> * Update 2022-11-03-legre_obligations_md_en.md * Update 2022-11-09-legner_termination_en.md * Update 2022-11-09-legclf_cuad_termination_clause_en.md * 2022-11-10-legclf_asset_purchase_agreement_en (#13071) * Add model 2022-11-10-legclf_asset_purchase_agreement_en * Update 2022-11-10-legclf_asset_purchase_agreement_en.md Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> * 2022-11-10-legclf_distribution_agreement_en (#13072) * Add model 2022-11-10-legclf_distribution_agreement_en * Update 2022-11-10-legclf_distribution_agreement_en.md * Add model 2022-11-10-legclf_executive_employment_agreement_en * Update 2022-11-10-legclf_executive_employment_agreement_en.md * Add model 2022-11-10-legclf_indemnification_agreement_en * Update 2022-11-10-legclf_indemnification_agreement_en.md * Add model 2022-11-10-legclf_loan_and_security_agreement_en * Update 2022-11-10-legclf_loan_and_security_agreement_en.md * Update 2022-11-10-legclf_loan_and_security_agreement_en.md * Add model 2022-11-10-legclf_participation_agreement_en * Update 2022-11-10-legclf_participation_agreement_en.md * Add model 2022-11-10-legclf_securities_purchase_agreement_en * Update 2022-11-10-legclf_securities_purchase_agreement_en.md * Add model 2022-11-10-legclf_security_agreement_en * Update 2022-11-10-legclf_security_agreement_en.md * Add model 2022-11-10-legclf_subscription_agreement_en * Update 2022-11-10-legclf_subscription_agreement_en.md * Add model 2022-11-10-legclf_stock_purchase_agreement_en * Update 2022-11-10-legclf_stock_purchase_agreement_en.md Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> * 2022-11-10-legclf_agreement_and_declaration_en (#13073) * Add model 2022-11-10-legclf_agreement_and_declaration_en * Update 2022-11-10-legclf_agreement_and_declaration_en.md * Add model 2022-11-10-legclf_control_agreement_en * Update 2022-11-10-legclf_control_agreement_en.md * Add model 2022-11-10-legclf_stockholder_agreement_en * Update 2022-11-10-legclf_stockholder_agreement_en.md * Add model 2022-11-10-legclf_equity_distribution_agreement_en * Update 2022-11-10-legclf_equity_distribution_agreement_en.md * Add model 2022-11-10-legclf_exclusive_license_agreement_en * Update 2022-11-10-legclf_exclusive_license_agreement_en.md * Add model 2022-11-10-legclf_investment_subadvisory_agreement_en * Update 2022-11-10-legclf_investment_subadvisory_agreement_en.md * Add model 2022-11-10-legclf_limited_partnership_agreement_en * Update 2022-11-10-legclf_limited_partnership_agreement_en.md * Add model 2022-11-10-legclf_master_lease_agreement_en * Update 2022-11-10-legclf_master_lease_agreement_en.md * Add model 2022-11-10-legclf_sublease_agreement_en * Update 2022-11-10-legclf_sublease_agreement_en.md * Add model 2022-11-10-legclf_transition_services_agreement_en * Update 2022-11-10-legclf_transition_services_agreement_en.md Co-authored-by: gokhanturer <mgturer@gmail.com> Co-authored-by: Gökhan <81560784+gokhanturer@users.noreply.github.com> * Changes text in termination card * Add model 2022-11-11-legclf_sbert_cuad_termination_clause_en (#13076) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Fixes typos * 2022-11-16-legclf_administration_agreement_en (#13093) * Add model 2022-11-16-legclf_administration_agreement_en * Update 2022-11-16-legclf_administration_agreement_en.md * Add model 2022-11-16-legclf_joint_filing_agreement_en * Update 2022-11-16-legclf_joint_filing_agreement_en.md * Add model 2022-11-16-legclf_letter_agreement_en * Update 2022-11-16-legclf_letter_agreement_en.md * Add model 2022-11-16-legclf_note_purchase_agreement_en * Update 2022-11-16-legclf_note_purchase_agreement_en.md * Update 2022-11-16-legclf_note_purchase_agreement_en.md * Add model 2022-11-16-legclf_operating_agreement_en * Update 2022-11-16-legclf_operating_agreement_en.md * Add model 2022-11-16-legclf_rights_agreement_en * Update 2022-11-16-legclf_rights_agreement_en.md * Add model 2022-11-16-legclf_separation_agreement_en * Update 2022-11-16-legclf_separation_agreement_en.md * Update 2022-11-16-legclf_separation_agreement_en.md * Add model 2022-11-16-legclf_settlement_agreement_en * Update 2022-11-16-legclf_settlement_agreement_en.md * Add model 2022-11-16-legclf_trust_agreement_en * Update 2022-11-16-legclf_trust_agreement_en.md * Add model 2022-11-16-legclf_voting_agreement_en * Update 2022-11-16-legclf_voting_agreement_en.md Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> * 2022-11-16-legclf_employee_benefit_plans_md_en (#13098) * Add model 2022-11-16-legclf_employee_benefit_plans_md_en * Add model 2022-11-16-legclf_grievance_procedure_md_en * Add model 2022-11-16-legclf_indemnification_md_en * Add model 2022-11-16-legclf_indemnification_and_contribution_md_en * Add model 2022-11-16-legclf_method_of_payment_md_en * Add model 2022-11-16-legclf_power_of_attorney_md_en * Add model 2022-11-16-legclf_termination_md_en * Add model 2022-11-16-legclf_whereas_md_en Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-11-17-legclf_introduction_clause_en (#13101) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-11-17-legclf_cuad_signers_clause_en (#13103) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-11-21-legner_dates_sm_en (#13118) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-11-21-legclf_dates_sm_en (#13120) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * 2022-11-24-legclf_administration_agreement_en (#13137) * Add model 2022-11-24-legclf_administration_agreement_en * Update 2022-11-24-legclf_administration_agreement_en.md * Add model 2022-11-24-legclf_joint_filing_agreement_en * Update 2022-11-24-legclf_joint_filing_agreement_en.md * Add model 2022-11-24-legclf_letter_agreement_en * Update 2022-11-24-legclf_letter_agreement_en.md * Add model 2022-11-24-legclf_note_purchase_agreement_en * Update 2022-11-24-legclf_note_purchase_agreement_en.md * Add model 2022-11-24-legclf_operating_agreement_en * Update 2022-11-24-legclf_operating_agreement_en.md * Add model 2022-11-24-legclf_rights_agreement_en * Update 2022-11-24-legclf_rights_agreement_en.md * Add model 2022-11-24-legclf_separation_agreement_en * Update 2022-11-24-legclf_separation_agreement_en.md * Add model 2022-11-24-legclf_settlement_agreement_en * Update 2022-11-24-legclf_settlement_agreement_en.md * Add model 2022-11-24-legclf_trust_agreement_en * Add model 2022-11-24-legclf_voting_agreement_en * Update 2022-11-24-legclf_trust_agreement_en.md * Update 2022-11-24-legclf_voting_agreement_en.md Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> * Add model 2022-11-25-legclf_introduction_clause_cuad_en (#13148) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * 2022-11-24-legclf_administration_agreement_bert_en (#13140) * Add model 2022-11-24-legclf_administration_agreement_bert_en * Update 2022-11-24-legclf_administration_agreement_bert_en.md * Add model 2022-11-24-legclf_agreement_and_declaration_bert_en * Update 2022-11-24-legclf_agreement_and_declaration_bert_en.md * Add model 2022-11-24-legclf_asset_purchase_agreement_bert_en * Update 2022-11-24-legclf_asset_purchase_agreement_bert_en.md * Add model 2022-11-24-legclf_consulting_agreement_bert_en * Update 2022-11-24-legclf_consulting_agreement_bert_en.md * Add model 2022-11-24-legclf_contribution_agreement_bert_en * Update 2022-11-24-legclf_contribution_agreement_bert_en.md * Add model 2022-11-24-legclf_control_agreement_bert_en * Update 2022-11-24-legclf_control_agreement_bert_en.md * Add model 2022-11-24-legclf_credit_agreement_bert_en * Update 2022-11-24-legclf_credit_agreement_bert_en.md * Add model 2022-11-24-legclf_custodian_agreement_bert_en * Update 2022-11-24-legclf_custodian_agreement_bert_en.md * Add model 2022-11-24-legclf_distribution_agreement_bert_en * Update 2022-11-24-legclf_distribution_agreement_bert_en.md * Add model 2022-11-24-legclf_employment_agreement_bert_en * Update 2022-11-24-legclf_employment_agreement_bert_en.md * Add model 2022-11-24-legclf_equity_distribution_agreement_bert_en * Update 2022-11-24-legclf_equity_distribution_agreement_bert_en.md * Add model 2022-11-24-legclf_exchange_agreement_bert_en * Update 2022-11-24-legclf_exchange_agreement_bert_en.md * Add model 2022-11-24-legclf_exclusive_license_agreement_bert_en * Update 2022-11-24-legclf_exclusive_license_agreement_bert_en.md * Add model 2022-11-24-legclf_executive_employment_agreement_bert_en * Update 2022-11-24-legclf_executive_employment_agreement_bert_en.md * Update 2022-11-24-legclf_administration_agreement_bert_en.md * Update 2022-11-24-legclf_agreement_and_declaration_bert_en.md * Update 2022-11-24-legclf_asset_purchase_agreement_bert_en.md * Update 2022-11-24-legclf_consulting_agreement_bert_en.md * Update 2022-11-24-legclf_contribution_agreement_bert_en.md * Update 2022-11-24-legclf_control_agreement_bert_en.md * Update 2022-11-24-legclf_credit_agreement_bert_en.md * Update 2022-11-24-legclf_custodian_agreement_bert_en.md * Update 2022-11-24-legclf_distribution_agreement_bert_en.md * Update 2022-11-24-legclf_employment_agreement_bert_en.md * Update 2022-11-24-legclf_equity_distribution_agreement_bert_en.md * Update 2022-11-24-legclf_exclusive_license_agreement_bert_en.md * Add model 2022-11-24-legclf_general_distribution_agreement_bert_en * Update 2022-11-24-legclf_general_distribution_agreement_bert_en.md * Add model 2022-11-24-legclf_guarantee_agreement_bert_en * Update 2022-11-24-legclf_guarantee_agreement_bert_en.md * Add model 2022-11-24-legclf_indemnification_agreement_bert_en * Update 2022-11-24-legclf_indemnification_agreement_bert_en.md * Add model 2022-11-24-legclf_intercreditor_agreement_bert_en * Update 2022-11-24-legclf_intercreditor_agreement_bert_en.md * Add model 2022-11-24-legclf_investment_subadvisory_agreement_bert_en * Update 2022-11-24-legclf_investment_subadvisory_agreement_bert_en.md * Add model 2022-11-24-legclf_joint_filing_agreement_bert_en * Update 2022-11-24-legclf_joint_filing_agreement_bert_en.md * Add model 2022-11-24-legclf_lease_agreement_bert_en * Add model 2022-11-24-legclf_letter_agreement_bert_en * Update 2022-11-24-legclf_lease_agreement_bert_en.md * Update 2022-11-24-legclf_letter_agreement_bert_en.md * Add model 2022-11-24-legclf_limited_partnership_agreement_bert_en * Update 2022-11-24-legclf_limited_partnership_agreement_bert_en.md * Add model 2022-11-24-legclf_loan_agreement_bert_en * Update 2022-11-24-legclf_loan_agreement_bert_en.md * Add model 2022-11-25-legclf_loan_and_security_agreement_bert_en * Add model 2022-11-25-legclf_management_contract_bert_en * Add model 2022-11-25-legclf_master_lease_agreement_bert_en * Update 2022-11-25-legclf_loan_and_security_agreement_bert_en.md * Update 2022-11-25-legclf_management_contract_bert_en.md * Update 2022-11-25-legclf_master_lease_agreement_bert_en.md * Add model 2022-11-25-legclf_master_repurchase_agreement_bert_en * Add model 2022-11-25-legclf_note_purchase_agreement_bert_en * Add model 2022-11-25-legclf_operating_agreement_bert_en * Add model 2022-11-25-legclf_participation_agreement_bert_en * Add model 2022-11-25-legclf_pledge_and_security_agreement_bert_en * Update 2022-11-25-legclf_master_repurchase_agreement_bert_en.md * Update 2022-11-25-legclf_note_purchase_agreement_bert_en.md * Update 2022-11-25-legclf_operating_agreement_bert_en.md * Update 2022-11-25-legclf_participation_agreement_bert_en.md * Update 2022-11-25-legclf_pledge_and_security_agreement_bert_en.md * Add model 2022-11-25-legclf_purchase_agreement_bert_en * Add model 2022-11-25-legclf_rights_agreement_bert_en * Add model 2022-11-25-legclf_securities_purchase_agreement_bert_en * Update 2022-11-25-legclf_purchase_agreement_bert_en.md * Update 2022-11-25-legclf_rights_agreement_bert_en.md * Update 2022-11-25-legclf_securities_purchase_agreement_bert_en.md * Update 2022-11-25-legclf_securities_purchase_agreement_bert_en.md * Add model 2022-11-25-legclf_security_agreement_bert_en * Add model 2022-11-25-legclf_separation_agreement_bert_en * Add model 2022-11-25-legclf_service_agreement_bert_en * Add model 2022-11-25-legclf_settlement_agreement_bert_en * Update 2022-11-25-legclf_security_agreement_bert_en.md * Update 2022-11-25-legclf_separation_agreement_bert_en.md * Update 2022-11-25-legclf_service_agreement_bert_en.md * Update 2022-11-25-legclf_settlement_agreement_bert_en.md * Add model 2022-11-25-legclf_share_exchange_agreement_bert_en * Add model 2022-11-25-legclf_stock_purchase_agreement_bert_en * Add model 2022-11-25-legclf_stockholder_agreement_bert_en * Add model 2022-11-25-legclf_sublease_agreement_bert_en * Add model 2022-11-25-legclf_subscription_agreement_bert_en * Add model 2022-11-25-legclf_terms_agreement_bert_en * Add model 2022-11-25-legclf_transition_services_agreement_bert_en * Add model 2022-11-25-legclf_trust_agreement_bert_en * Add model 2022-11-25-legclf_voting_agreement_bert_en * Update 2022-11-25-legclf_share_exchange_agreement_bert_en.md * Update 2022-11-25-legclf_stock_purchase_agreement_bert_en.md * Update 2022-11-25-legclf_stockholder_agreement_bert_en.md * Update 2022-11-25-legclf_sublease_agreement_bert_en.md * Update 2022-11-25-legclf_subscription_agreement_bert_en.md * Update 2022-11-25-legclf_terms_agreement_bert_en.md * Update 2022-11-25-legclf_transition_services_agreement_bert_en.md * Update 2022-11-25-legclf_trust_agreement_bert_en.md * Update 2022-11-25-legclf_voting_agreement_bert_en.md Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> * 2022-11-25-legclf_employee_benefit_plans_md_en (#13149) * Add model 2022-11-25-legclf_employee_benefit_plans_md_en * Add model 2022-11-25-legclf_grievance_procedure_md_en * Add model 2022-11-25-legclf_indemnification_and_contribution_md_en * Add model 2022-11-25-legclf_indemnification_md_en * Add model 2022-11-25-legclf_power_of_attorney_md_en * Add model 2022-11-25-legclf_method_of_payment_md_en * Add model 2022-11-25-legclf_whereas_md_en * Add model 2022-11-25-legclf_termination_md_en Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * 2022-11-25-legclf_vacancies_clause_en (#13147) * Add model 2022-11-25-legclf_vacancies_clause_en * Add model 2022-11-25-legclf_subcontracting_clause_en * Update 2022-11-25-legclf_subcontracting_clause_en.md * Add model 2022-11-25-legclf_third_party_rights_clause_en * Update 2022-11-25-legclf_subcontracting_clause_en.md * Add model 2022-11-25-legclf_conversion_clause_en * Update 2022-11-25-legclf_conversion_clause_en.md * Add model 2022-11-25-legclf_indemnification_and_insurance_clause_en * Update 2022-11-25-legclf_indemnification_and_insurance_clause_en.md * Update 2022-11-25-legclf_third_party_rights_clause_en.md * Add model 2022-11-25-legclf_expiration_date_clause_en * Update 2022-11-25-legclf_expiration_date_clause_en.md * Add model 2022-11-25-legclf_limitation_clause_en * Add model 2022-11-25-legclf_paid_holidays_clause_en * Add model 2022-11-25-legclf_expenses_indemnity_damage_waiver_clause_en * Add model 2022-11-25-legclf_hazardous_materials_clause_en * Add model 2022-11-25-legclf_non_contravention_clause_en * Add model 2022-11-25-legclf_hazardous_materials_clause_en * Add model 2022-11-25-legclf_additional_covenants_clause_en * Add model 2022-11-25-legclf_non_contravention_clause_en * Add model 2022-11-25-legclf_bulletin_boards_clause_en * Add model 2022-11-25-legclf_other_definitions_clause_en * Add model 2022-11-25-legclf_exclusive_remedy_clause_en * Add model 2022-11-25-legclf_opinions_of_counsel_clause_en * Add model 2022-11-25-legclf_formation_clause_en * Add model 2022-11-25-legclf_escrow_clause_en * Add model 2022-11-25-legclf_w_i_t_n_e_s_s_e_t_h_clause_en * Add model 2022-11-25-legclf_risk_of_loss_clause_en * Add model 2022-11-25-legclf_ofac_clause_en * Add model 2022-11-25-legclf_delays_or_omissions_clause_en * Add model 2022-11-25-legclf_leave_of_absence_clause_en * Add model 2022-11-25-legclf_prepayment_clause_en * Add model 2022-11-25-legclf_register_clause_en * Add model 2022-11-25-legclf_vacancies_clause_en Co-authored-by: gadde5300 <gadde5300@gmail.com> Co-authored-by: GADDE SAI SHAILESH <69344247+gadde5300@users.noreply.github.com> * Add model 2022-11-25-legclf_cuad_whereas_clause_en (#13150) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-11-28-legclf_cuad_obligations_clause_en (#13157) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-11-28-legclf_cuad_confidentiality_clause_en (#13158) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-11-30-legner_force_majeure_en (#13170) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Add model 2022-11-30-legclf_cuad_force_majeure_clause_en (#13171) Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * 2022-11-30-legner_ronec_ro (#13175) * Add model 2022-11-30-legner_ronec_ro * Update 2022-11-30-legner_ronec_ro.md * Update 2022-11-30-legner_ronec_ro.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> * 2022-12-01-legner_whereas_md_en (#13176) * Add model 2022-12-01-legner_whereas_md_en * Add model 2022-12-01-legner_contract_doc_parties_md_en * Add model 2022-12-01-legner_warranty_md_en * Add model 2022-12-01-legner_grants_md_en * Add model 2022-12-01-legner_indemnifications_md_en * Add model 2022-12-01-legner_termination_md_en Co-authored-by: josejuanmartinez <jjmcarrascosa@gmail.com> * Delete old model cards * Update 2022-11-28-legclf_cuad_confidentiality_clause_en.md * Update 2022-11-30-legclf_cuad_force_majeure_clause_en.md * Update 2022-11-30-legclf_cuad_force_majeure_clause_en.md * Update 2022-11-28-legclf_cuad_obligations_clause_en.md * Update 2022-11-25-legclf_whereas_md_en.md * Update 2022-11-25-legclf_termination_md_en.md * Update 2022-11-25-legclf_power_of_attorney_md_en.md * Update 2022-11-25-legclf_method_of_payment_md_en.md * Update 2022-11-25-legclf_indemnification_md_en.md * Update 2022-11-17-legclf_cuad_signers_clause_en.md * Update 2022-11-16-legclf_power_of_attorney_md_en.md * Update 2022-11-25-legclf_indemnification_and_contribution_md_en.md * Update 2022-11-25-legclf_employee_benefit_plans_md_en.md * Update 2022-11-16-legclf_method_of_payment_md_en.md * Update 2022-11-16-legclf_indemnification_md_en.md * Update 2022-11-16-legclf_grievance_procedure_md_en.md * Update 2022-11-16-legclf_employee_benefit_plans_md_en.md * Update 2022-11-16-legclf_whereas_md_en.md * Update 2022-11-16-legclf_termination_md_en.md * Update 2022-11-25-legclf_grievance_procedure_md_en.md * Update 2022-11-21-legner_dates_sm_en.md * Update 2022-11-17-legclf_introduction_clause_en.md 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: Jose J. Martinez <jose.martinez@wayops.eu> Co-authored-by: bunyamin-polat <muhendisbp@gmail.com> Co-authored-by: Bünyamin Polat <78386903+bunyamin-polat@users.noreply.github.com> Co-authored-by: gokhanturer <mgturer@gmail.com> Co-authored-by: Gökhan <81560784+gokhanturer@users.noreply.github.com>
1 parent d420e16 commit 48fa535

File tree

120 files changed

+13484
-4
lines changed

Some content is hidden

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

120 files changed

+13484
-4
lines changed

docs/_posts/bunyamin-polat/2022-11-10-legner_romanian_official_lg_ro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ language: ro
1010
edition: Legal NLP 1.0.0
1111
spark_version: 3.0
1212
supported: true
13-
annotator: FinanceNerModel
13+
annotator: LegalNerModel
1414
article_header:
1515
type: cover
1616
use_language_switcher: "Python-Scala-Java"

docs/_posts/bunyamin-polat/2022-11-10-legner_romanian_official_md_ro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ language: ro
1010
edition: Legal NLP 1.0.0
1111
spark_version: 3.0
1212
supported: true
13-
annotator: FinanceNerModel
13+
annotator: LegalNerModel
1414
article_header:
1515
type: cover
1616
use_language_switcher: "Python-Scala-Java"

docs/_posts/bunyamin-polat/2022-11-10-legner_romanian_official_sm_ro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ language: ro
1010
edition: Legal NLP 1.0.0
1111
spark_version: 3.0
1212
supported: true
13-
annotator: FinanceNerModel
13+
annotator: LegalNerModel
1414
article_header:
1515
type: cover
1616
use_language_switcher: "Python-Scala-Java"
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
---
2+
layout: model
3+
title: Legal Administration Agreement Document Classifier (Bert Sentence Embeddings)
4+
author: John Snow Labs
5+
name: legclf_administration_agreement_bert
6+
date: 2022-11-24
7+
tags: [en, legal, classification, agreement, administration, licensed, bert]
8+
task: Text Classification
9+
language: en
10+
edition: Legal NLP 1.0.0
11+
spark_version: 3.0
12+
supported: true
13+
article_header:
14+
type: cover
15+
use_language_switcher: "Python-Scala-Java"
16+
---
17+
18+
## Description
19+
20+
The `legclf_administration_agreement_bert` model is a Bert Sentence Embeddings Document Classifier used to classify if the document belongs to the class `administration-agreement` (check [Lawinsider](https://www.lawinsider.com/tags) for similar document type classification) or not (Binary Classification).
21+
22+
Unlike the Longformer model, this model is lighter in terms of inference time.
23+
24+
## Predicted Entities
25+
26+
`administration-agreement`, `other`
27+
28+
{:.btn-box}
29+
<button class="button button-orange" disabled>Live Demo</button>
30+
<button class="button button-orange" disabled>Open in Colab</button>
31+
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/legal/models/legclf_administration_agreement_bert_en_1.0.0_3.0_1669300445143.zip){:.button.button-orange.button-orange-trans.arr.button-icon}
32+
33+
## How to use
34+
35+
36+
37+
<div class="tabs-box" markdown="1">
38+
{% include programmingLanguageSelectScalaPythonNLU.html %}
39+
40+
```python
41+
42+
document_assembler = nlp.DocumentAssembler()\
43+
.setInputCol("text")\
44+
.setOutputCol("document")
45+
46+
embeddings = nlp.BertSentenceEmbeddings.pretrained("sent_bert_base_cased", "en")\
47+
.setInputCols("document")\
48+
.setOutputCol("sentence_embeddings")
49+
50+
doc_classifier = legal.ClassifierDLModel.pretrained("legclf_administration_agreement_bert", "en", "legal/models")\
51+
.setInputCols(["sentence_embeddings"])\
52+
.setOutputCol("category")
53+
54+
nlpPipeline = nlp.Pipeline(stages=[
55+
document_assembler,
56+
embeddings,
57+
doc_classifier])
58+
59+
df = spark.createDataFrame([["YOUR TEXT HERE"]]).toDF("text")
60+
61+
model = nlpPipeline.fit(df)
62+
63+
result = model.transform(df)
64+
65+
```
66+
67+
</div>
68+
69+
## Results
70+
71+
```bash
72+
73+
+-------+
74+
|result|
75+
+-------+
76+
|[administration-agreement]|
77+
|[other]|
78+
|[other]|
79+
|[administration-agreement]|
80+
81+
```
82+
83+
{:.model-param}
84+
## Model Information
85+
86+
{:.table-model}
87+
|---|---|
88+
|Model Name:|legclf_administration_agreement_bert|
89+
|Compatibility:|Legal NLP 1.0.0+|
90+
|License:|Licensed|
91+
|Edition:|Official|
92+
|Input Labels:|[sentence_embeddings]|
93+
|Output Labels:|[class]|
94+
|Language:|en|
95+
|Size:|22.4 MB|
96+
97+
## References
98+
99+
Legal documents, scrapped from the Internet, and classified in-house + SEC documents + Lawinsider categorization
100+
101+
## Benchmarking
102+
103+
```bash
104+
105+
precision recall f1-score support
106+
107+
administration-agreement 0.88 0.81 0.84 26
108+
other 0.93 0.95 0.94 65
109+
110+
accuracy 0.91 91
111+
macro-avg 0.90 0.88 0.89 91
112+
weighted-avg 0.91 0.91 0.91 91
113+
114+
115+
```
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
---
2+
layout: model
3+
title: Legal Administration Agreement Document Classifier (Longformer)
4+
author: John Snow Labs
5+
name: legclf_administration_agreement
6+
date: 2022-11-24
7+
tags: [en, legal, classification, agreement, administration, licensed]
8+
task: Text Classification
9+
language: en
10+
edition: Legal NLP 1.0.0
11+
spark_version: 3.0
12+
supported: true
13+
article_header:
14+
type: cover
15+
use_language_switcher: "Python-Scala-Java"
16+
---
17+
18+
## Description
19+
20+
The `legclf_administration_agreement` model is a Legal Longformer Document Classifier to classify if the document belongs to the class `administration-agreement` (check [Lawinsider](https://www.lawinsider.com/tags) for similar document type classification) or not (Binary Classification).
21+
22+
Longformers have a restriction on 4096 tokens, so only the first 4096 tokens will be taken into account. We have realised that for the big majority of the documents in legal corpora, if they are clean and only contain the legal document without any extra information before, 4096 is enough to perform Document Classification.
23+
24+
If not, let us know and we can carry out another approach for you: getting chunks of 4096 tokens and average the embeddings, training with the averaged version, what means all document will be taken into account. But this theoretically should not be required.
25+
26+
## Predicted Entities
27+
28+
`administration-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_administration_agreement_en_1.0.0_3.0_1669290751753.zip){:.button.button-orange.button-orange-trans.arr.button-icon}
34+
35+
## How to use
36+
37+
38+
39+
<div class="tabs-box" markdown="1">
40+
{% include programmingLanguageSelectScalaPythonNLU.html %}
41+
42+
```python
43+
44+
document_assembler = nlp.DocumentAssembler()\
45+
.setInputCol("text")\
46+
.setOutputCol("document")\
47+
48+
tokenizer = nlp.Tokenizer()\
49+
.setInputCols(["document"])\
50+
.setOutputCol("token")
51+
52+
embeddings = nlp.LongformerEmbeddings.pretrained("legal_longformer_base", "en")\
53+
.setInputCols("document", "token")\
54+
.setOutputCol("embeddings")
55+
56+
sentence_embeddings = nlp.SentenceEmbeddings()\
57+
.setInputCols(["document", "embeddings"])\
58+
.setOutputCol("sentence_embeddings")\
59+
.setPoolingStrategy("AVERAGE")
60+
61+
doc_classifier = legal.ClassifierDLModel.pretrained("legclf_administration_agreement", "en", "legal/models")\
62+
.setInputCols(["sentence_embeddings"])\
63+
.setOutputCol("category")
64+
65+
nlpPipeline = nlp.Pipeline(stages=[
66+
document_assembler,
67+
tokenizer,
68+
embeddings,
69+
sentence_embeddings,
70+
doc_classifier])
71+
72+
df = spark.createDataFrame([["YOUR TEXT HERE"]]).toDF("text")
73+
74+
model = nlpPipeline.fit(df)
75+
76+
result = model.transform(df)
77+
78+
```
79+
80+
</div>
81+
82+
## Results
83+
84+
```bash
85+
86+
+-------+
87+
|result|
88+
+-------+
89+
|[administration-agreement]|
90+
|[other]|
91+
|[other]|
92+
|[administration-agreement]|
93+
94+
```
95+
96+
{:.model-param}
97+
## Model Information
98+
99+
{:.table-model}
100+
|---|---|
101+
|Model Name:|legclf_administration_agreement|
102+
|Compatibility:|Legal NLP 1.0.0+|
103+
|License:|Licensed|
104+
|Edition:|Official|
105+
|Input Labels:|[sentence_embeddings]|
106+
|Output Labels:|[class]|
107+
|Language:|en|
108+
|Size:|21.7 MB|
109+
110+
## References
111+
112+
Legal documents, scrapped from the Internet, and classified in-house + SEC documents + Lawinsider categorization
113+
114+
## Benchmarking
115+
116+
```bash
117+
118+
precision recall f1-score support
119+
120+
administration-agreement 0.93 0.93 0.93 29
121+
other 0.98 0.98 0.98 90
122+
123+
accuracy 0.97 119
124+
macro-avg 0.95 0.95 0.95 119
125+
weighted-avg 0.97 0.97 0.97 119
126+
127+
```
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
---
2+
layout: model
3+
title: Legal Agreement And Declaration Document Classifier (Bert Sentence Embeddings)
4+
author: John Snow Labs
5+
name: legclf_agreement_and_declaration_bert
6+
date: 2022-11-24
7+
tags: [en, legal, classification, agreement, declaration, licensed, bert]
8+
task: Text Classification
9+
language: en
10+
edition: Legal NLP 1.0.0
11+
spark_version: 3.0
12+
supported: true
13+
article_header:
14+
type: cover
15+
use_language_switcher: "Python-Scala-Java"
16+
---
17+
18+
## Description
19+
20+
The `legclf_agreement_and_declaration_bert` model is a Bert Sentence Embeddings Document Classifier used to classify if the document belongs to the class `agreement-and-declaration` (check [Lawinsider](https://www.lawinsider.com/tags) for similar document type classification) or not (Binary Classification).
21+
22+
Unlike the Longformer model, this model is lighter in terms of inference time.
23+
24+
## Predicted Entities
25+
26+
`agreement-and-declaration`, `other`
27+
28+
{:.btn-box}
29+
<button class="button button-orange" disabled>Live Demo</button>
30+
<button class="button button-orange" disabled>Open in Colab</button>
31+
[Download](https://s3.amazonaws.com/auxdata.johnsnowlabs.com/legal/models/legclf_agreement_and_declaration_bert_en_1.0.0_3.0_1669301061858.zip){:.button.button-orange.button-orange-trans.arr.button-icon}
32+
33+
## How to use
34+
35+
36+
37+
<div class="tabs-box" markdown="1">
38+
{% include programmingLanguageSelectScalaPythonNLU.html %}
39+
40+
```python
41+
42+
document_assembler = nlp.DocumentAssembler()\
43+
.setInputCol("text")\
44+
.setOutputCol("document")
45+
46+
embeddings = nlp.BertSentenceEmbeddings.pretrained("sent_bert_base_cased", "en")\
47+
.setInputCols("document")\
48+
.setOutputCol("sentence_embeddings")
49+
50+
doc_classifier = legal.ClassifierDLModel.pretrained("legclf_agreement_and_declaration_bert", "en", "legal/models")\
51+
.setInputCols(["sentence_embeddings"])\
52+
.setOutputCol("category")
53+
54+
nlpPipeline = nlp.Pipeline(stages=[
55+
document_assembler,
56+
embeddings,
57+
doc_classifier])
58+
59+
df = spark.createDataFrame([["YOUR TEXT HERE"]]).toDF("text")
60+
61+
model = nlpPipeline.fit(df)
62+
63+
result = model.transform(df)
64+
65+
```
66+
67+
</div>
68+
69+
## Results
70+
71+
```bash
72+
73+
+-------+
74+
|result|
75+
+-------+
76+
|[agreement-and-declaration]|
77+
|[other]|
78+
|[other]|
79+
|[agreement-and-declaration]|
80+
81+
```
82+
83+
{:.model-param}
84+
## Model Information
85+
86+
{:.table-model}
87+
|---|---|
88+
|Model Name:|legclf_agreement_and_declaration_bert|
89+
|Compatibility:|Legal NLP 1.0.0+|
90+
|License:|Licensed|
91+
|Edition:|Official|
92+
|Input Labels:|[sentence_embeddings]|
93+
|Output Labels:|[class]|
94+
|Language:|en|
95+
|Size:|22.8 MB|
96+
97+
## References
98+
99+
Legal documents, scrapped from the Internet, and classified in-house + SEC documents + Lawinsider categorization
100+
101+
## Benchmarking
102+
103+
```bash
104+
105+
precision recall f1-score support
106+
107+
agreement-and-declaration 1.00 0.98 0.99 43
108+
other 0.99 1.00 0.99 82
109+
110+
accuracy 0.99 125
111+
macro-avg 0.99 0.99 0.99 125
112+
weighted-avg 0.99 0.99 0.99 125
113+
114+
```

0 commit comments

Comments
 (0)