Skip to content

Commit

Permalink
spell fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
graviraja committed Aug 5, 2020
1 parent 2923288 commit bd2acd6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -451,13 +451,13 @@ A CRF calculates not only the emission scores but also the `transition scores`,

![ner](assets/images/applications/classification/bilstm_crf.png)

### Day 81: NER Decoding using Vitebri Algorithm
### Day 81: NER Decoding using Viterbi Algorithm

For decoding, `Vitebri` algorithm is used.
For decoding, `Viterbi` algorithm is used.

Since we're using CRFs, we're not so much predicting the right label at each word as we are predicting the right label sequence for a word sequence. Viterbi Decoding is a way to do exactly this – find the most optimal tag sequence from the scores computed by a Conditional Random Field.

![ner](assets/images/applications/classification/vitebri.png)
![ner](assets/images/applications/classification/viterbi.png)

Checkout the code in `applications/classification` folder

Expand Down
2 changes: 1 addition & 1 deletion applications/classification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ Without a CRF, we would have simply used a single linear layer to transform the

A CRF calculates not only the emission scores but also the `transition scores`, which are the likelihood of a word being a certain tag considering the previous word was a certain tag. Therefore the transition scores measure how likely it is to transition from one tag to another.

For decoding, `Vitebri` algorithm is used.
For decoding, `Viterbi` algorithm is used.

Since we're using CRFs, we're not so much predicting the right label at each word as we are predicting the right label sequence for a word sequence. Viterbi Decoding is a way to do exactly this – find the most optimal tag sequence from the scores computed by a Conditional Random Field.
4 changes: 2 additions & 2 deletions applications/classification/ner_tagging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ Probability of a tag depends on the input and previously predicted token:

![ner](../../../assets/images/applications/classification/bilstm_crf.png)

For decoding, `Vitebri` algorithm is used.
For decoding, `Viterbi` algorithm is used.

Since we're using CRFs, we're not so much predicting the right label at each word as we are predicting the right label sequence for a word sequence. Viterbi Decoding is a way to do exactly this – find the most optimal tag sequence from the scores computed by a Conditional Random Field.

![ner](../../../assets/images/applications/classification/vitebri.png)
![ner](../../../assets/images/applications/classification/viterbi.png)

#### Resources

Expand Down

0 comments on commit bd2acd6

Please sign in to comment.