>
Fa   |   Ar   |   En
   using gpt-2 model and hazm library for persian text generation  
   
نویسنده soluki m. ,askarinejadamiri z. ,zanjani n.
منبع journal of electrical and computer engineering innovations - 2024 - دوره : 12 - شماره : 2 - صفحه:295 -304
چکیده    Background and objectives: this article explores a method for generating persian texts using the gpt-2 language model and the hazm library. researchers and writers often require tools that can assist them in the writing process and even think on their behalf in various domains. by leveraging the gpt-2 model, it becomes possible to generate acceptable and creative texts, which increases writing speed and efficiency, thus mitigating the high costs associated with article writing.methods: in this research, the gpt-2 model is employed to generate and predict persian texts. the hazm library is utilized for natural language processing and automated text generation. the results of this study are evaluated using different datasets and output representations, demonstrating that employing the hazm library with input data exceeding 1000 yields superior outcomes compared to other text generation methodsresults: through extensive experimentation and analysis, the study demonstrates the effectiveness of this combination in generating coherent and contextually appropriate text in the persian language. the results highlight the potential of leveraging advanced language models and linguistic processing tools for enhancing natural language generation tasks in persian. the findings of this research contribute to the growing field of persian language processing and provide valuable insights for researchers and practitioners working on text generation applications in similar languages.conclusion: overall, this study showcases the promising capabilities of the gpt-2 model and hazm library in persian text generation, underscoring their potential for future advancements in the field this research serves as a valuable guide and tool for generating persian texts in the field of research and scientific writing, contributing to cost and time reduction in article writing
کلیدواژه persian text genertion ,hazm library ,gpt-2 model
آدرس computer science of refah university college, iran, computer science of refah university college, iran, computer science of refah university college, iran
پست الکترونیکی nastaran.zanjani@gmail.com
 
     
   
Authors
  
 
 

Copyright 2023
Islamic World Science Citation Center
All Rights Reserved