DadmaTools V2: an Adapter-Based Natural Language Processing Toolkit for the Persian Language

Sadegh Jafari, Farhan Farsi, Navid Ebrahimi, Mohamad Bagher Sajadi, Sauleh Eetemadi


Abstract
DadmaTools V2 is a comprehensive repository designed to enhance NLP capabilities for the Persian language, catering to industry practitioners seeking practical and efficient solutions. The toolkit provides extensive code examples demonstrating the integration of its models with popular NLP frameworks such as Trankit and Transformers, as well as deep learning frameworks like PyTorch. Additionally, DadmaTools supports widely used Persian embeddings and datasets, ensuring robust language processing capabilities. The latest version of DadmaTools introduces an adapter-based technique, significantly reducing memory usage by employing a shared pre-trained model across various tasks, supplemented with task-specific adapter layers. This approach eliminates the need to maintain multiple pre-trained models and optimize resource utilization. Enhancements in this version include adding new modules such as a sentiment detector, an informal-to-formal text converter, and a spell checker, further expanding the toolkit’s functionality. DadmaTools V2 thus represents a powerful, efficient, and versatile resource for advancing Persian NLP applications.
Anthology ID:
2025.abjadnlp-1.5
Volume:
Proceedings of the 1st Workshop on NLP for Languages Using Arabic Script
Month:
January
Year:
2025
Address:
Abu Dhabi, UAE
Editor:
Mo El-Haj
Venues:
AbjadNLP | WS
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
37–43
Language:
URL:
https://aclanthology.org/2025.abjadnlp-1.5/
DOI:
Bibkey:
Cite (ACL):
Sadegh Jafari, Farhan Farsi, Navid Ebrahimi, Mohamad Bagher Sajadi, and Sauleh Eetemadi. 2025. DadmaTools V2: an Adapter-Based Natural Language Processing Toolkit for the Persian Language. In Proceedings of the 1st Workshop on NLP for Languages Using Arabic Script, pages 37–43, Abu Dhabi, UAE. Association for Computational Linguistics.
Cite (Informal):
DadmaTools V2: an Adapter-Based Natural Language Processing Toolkit for the Persian Language (Jafari et al., AbjadNLP 2025)
Copy Citation:
PDF:
https://aclanthology.org/2025.abjadnlp-1.5.pdf
Optionalsupplementarymaterial:
 2025.abjadnlp-1.5.OptionalSupplementaryMaterial.zip