alclam-base-v2-DID / README.md
rahbi's picture
Update README.md
b309438 verified
metadata
license: apache-2.0

Pipeline usage:

from transformers import pipeline

classifier = pipeline("text-classification", model="rahbi/alclam-base-v2-DID")
result = classifier("ما ذلحين والله ما عاد اصدقك")
print(result)

Output:

[{'label': 'يمني', 'score': 0.999321460723877}]

If you use AlcLaM, please cite the paper:

@article{murtadha2024alclam,
    author       = {Murtadha, Ahmed and Saghir, Alfasly and Wen, Bo and Jamaal, Qasem and  Mohammed, Ahmed and Liu, Yunfeng},
    title        = {AlcLaM: Arabic Dialectal Language Model},
    journal      = {Arabic NLP 2024},
    year         = {2024},
    url          = {https://arxiv.org/abs/2407.13097},
    eprinttype    = {arXiv},
    eprint       = {2407.13097}
}```