mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-30 17:52:35 +06:00
more typo fixes
This commit is contained in:
parent
7316b0d6d0
commit
8f91b4de91
@ -70,9 +70,9 @@ An example on how to use this class is given in the `run_classifier.py` script w
|
||||
|
||||
### 3. `BertForQuestionAnswering`
|
||||
|
||||
`BertForSequenceClassification` is a fine-tuning model that includes `BertModel` with a two-class classifiers on top of the full sequence of last hidden states.
|
||||
`BertForSequenceClassification` is a fine-tuning model that includes `BertModel` with a tokens classifiers on top of the full sequence of last hidden states.
|
||||
|
||||
The token classifier takes as input the full sequence of the last hidden state and compute two scores for each tokens that can for example respectively be the score that a given token is a `start_span` or `end_span` token (see Figures 3c and 3d in the BERT paper).
|
||||
The tokens classifier takes as input the full sequence of the last hidden state and compute several (e.g. two) scores for each tokens that can for example respectively be the score that a given token is a `start_span` and a `end_span` token (see Figures 3c and 3d in the BERT paper).
|
||||
|
||||
An example on how to use this class is given in the `run_squad.py` script which can be used to fine-tune a token classifier using BERT, for example for the SQuAS task.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user