Skip to content

minor bug fixes #4

@ad6398

Description

@ad6398
  1. Fair sequence bug
    torch.div(self.indices_buf, vocab_size, out=self.beams_buf) gives error, it should be replaced by torch.floor_divide(self.indices_buf, vocab_size, out=self.beams_buf)

  2. File naming error:
    in data/stage_segmentation notebook file names generated is _sent_trans_cons_label_2.pkl but it is expected as _sent_trans_cons_label.pkl by other part of codes.

  3. Synatx error
    in data/read_labels notebook line 33 has missing : in if condition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions