Skip to content

Fix unpack in latin_sequence_labeling.py#26

Open
willem640 wants to merge 1 commit intodbamman:masterfrom
willem640:patch-1
Open

Fix unpack in latin_sequence_labeling.py#26
willem640 wants to merge 1 commit intodbamman:masterfrom
willem640:patch-1

Conversation

@willem640
Copy link

This might be because of changed behaviour in a new python version. Unpacking the bert output into sequence_outputs and pooled_outputs gave those values the name of the keys, and not the actual tensors. This PR fixes it by getting the values

This might be because of changed behaviour in a new python version.  Unpacking the bert output into sequence_outputs and pooled_outputs gave those values the name of the keys, and not the actual tensors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant