CodeWithKyrian / transformers-php

Transformers PHP is a toolkit for PHP developers to add machine learning magic to their projects easily.
https://codewithkyrian.github.io/transformers-php/
Apache License 2.0
530 stars 28 forks source link

Set [MASK] usage in prompts for default Xenova/bert-base-uncased model #15

Closed takielias closed 6 months ago

takielias commented 6 months ago

BERT-based models utilize [MASK] tokens. The default model is Xenova/bert-base-uncased, hence, the default prompt incorporates [MASK] tokens.

CodeWithKyrian commented 6 months ago

Thanks for your contribution!