Research Article
PerAnSel: A Novel Deep Neural Network-Based System for Persian Question Answering
Algorithm 1
Algorithm of BERT language model.
| Input: a sentence/pair of sentences | | Output: new embeddings for input tokens | | | | | | | | for alldo | | for alldo | | for alldo | | | | | | | | | | end for | | | | | | end for | | | | end for | | return inputs |
|