Downloads · 30 days
50
0% of all-time downloads
alger-ia/dziribert_sentiment
dziribert_sentiment is a text classification model from alger-ia. Use it when you need a label for a piece of text. It is set up for transformers.
<img src="https://raw.githubusercontent.com/alger-ia/dziribert/main/dziribertdrawing.png" alt="drawing" width="25%" height="25%" align="right"/
Downloads · 30 days
50
0% of all-time downloads
All-time downloads
17.3K
Public
Parameters
124M
1.5 GB on disk
Likes
9
Public
Click a slice to open those files.
.bin498 MB · 50%
How the weights are stored.
F32124M · 100%
From the Hugging Face model README
DziriBERT is the first Transformer-based Language Model that has been pre-trained specifically for the Algerian Dialect. It handles Algerian text contents written using both Arabic and Latin characters. This is a fine-tuned version that is ready to use for sentiment classification.
For more information, please visit our paper: https://arxiv.org/pdf/2109.12346.pdf.
from transformers import BertTokenizer, BertForSequenceClassification
tokenizer = BertTokenizer.from_pretrained("alger-ia/dziribert_sentiment")
model = BertForSequenceClassification.from_pretrained("alger-ia/dziribert_sentiment")
You can find a fine-tuning script in our Github repo: https://github.com/alger-ia/dziribert
@article{dziribert,
title={DziriBERT: a Pre-trained Language Model for the Algerian Dialect},
author={Abdaoui, Amine and Berrimi, Mohamed and Oussalah, Mourad and Moussaoui, Abdelouahab},
journal={arXiv preprint arXiv:2109.12346},
year={2021}
}
Please contact [email protected] for any question, feedback or request.