Skip to content

Reference code to fine-tune arabertv2 model for [MASK] prediction #116

Answered by WissamAntoun
kwcckw asked this question in Q&A
Discussion options

You must be logged in to vote

for Masked Language modeling I suggest you use https://github.com/huggingface/transformers/blob/master/examples/pytorch/language-modeling/run_mlm.py script from huggingface. You can apply AraBERT preprocessing, before sending the training sentences to the script

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kwcckw
Comment options

Answer selected by kwcckw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants