Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jiesutd committed Sep 24, 2018
1 parent 447a3f9 commit bc1675d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/crf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# @Author: Jie Yang
# @Date: 2017-12-04 23:19:38
# @Last Modified by: Jie Yang, Contact: [email protected]
# @Last Modified time: 2018-05-16 16:57:39
# @Last Modified time: 2018-09-24 23:15:31
from __future__ import print_function
import torch
import torch.autograd as autograd
Expand Down Expand Up @@ -32,7 +32,7 @@ def __init__(self, tagset_size, gpu):
super(CRF, self).__init__()
print("build CRF...")
self.gpu = gpu
# Matrix of transition parameters. Entry i,j is the score of transitioning *to* i *from* j.
# Matrix of transition parameters. Entry i,j is the score of transitioning from i to j.
self.tagset_size = tagset_size
# # We add 2 here, because of START_TAG and STOP_TAG
# # transitions (f_tag_size, t_tag_size), transition value from f_tag to t_tag
Expand Down

0 comments on commit bc1675d

Please sign in to comment.