Skip to search boxSkip to navigationSkip to main content

Legal Text Generation Using Transformer Models for Contract Drafting

  • Muayad Hassan Al-Tawalbeh(corresponding author)
    ,
  • Mahmoud Mokhtar Abdelmoghies
    ,
  • Nawel Ben Sassi
    ,
  • Majd Waleed Almanasra
    ,
  • ,
  • Ahmed Ali
*Corresponding author for this work
  • City University College of Ajman
    ,
  • Prince Mohammad Bin Fahd University
    ,
  • Applied Science Private University
    ,
  • University of Edinburgh
Research Output:
Chapter in Book/Report/Conference proceeding
Conference contribution
Research
Peer-review

Abstract

Contracts drafting is a thorough task that requires a high level of specialization and precision. The productive possibilities of NLP's evolution of legal experts automation have attracted people's considerable interest, especially when it comes to transformer-based models such as GPT, BERT that generate some exceptional texts. This study investigates the applicability of transformers for the creation of top-notch legal paragraphs customized for contracts. By adapting these models to the specifics of the field, we want to determine whether they can effectively generate the appropriate, decent, and lawfully concluded sentence clauses. We confront the issues of ensuring legal compliance and dealing with regulatory language as well as the one of avoiding the generation of biased or otherwise inappropriate content. The study is based on metrics like BLEU, ROUGE, and expert legal review to measure the generated text's quality. The results of our experiments showcase that transformer-based models can bring about a reduction in drafting time while preserving legal accuracy. This study is aimed at contributing to the swiftly developing AI applications in law area by shedding light on the potential and future avenues for automated text generation's use in law practice.

Research Output Information

Output type

Research Output:
Chapter in Book/Report/Conference proceeding
Conference contribution
Research
Peer-review

Original language

English

Publication milestones

  • Published - 2025

Publication status

Published - 2025

Publisher

Institute of Electrical and Electronics Engineers Inc.

Publication series

  • Publication series name: 2025 International Conference on Business Intelligence for Technology Innovation, ICBITI 2025

ISBN (Electronic)

9798331538248

Publication IDs

  • Scopus: 105040584816

Host publication title

2025 International Conference on Business Intelligence for Technology Innovation, ICBITI 2025

Related Event

Title

2025 International Conference on Business Intelligence for Technology Innovation, ICBITI 2025

Event type

Conference

Date

16/04/2025 - 18/04/2025

Location

DubaiUnited Arab Emirates