Skip to content

TransformerEncoder is not causal #2478

Closed
@bigheary

Description

@bigheary

Add Link

https://pytorch.org/tutorials/beginner/transformer_tutorial.html

image

for language modeling, src_mask should be mask future words

Describe the bug

is there anything wrong?

Describe your environment

colab

cc @pytorch/team-text-core @Nayef211 @sekyondaMeta @svekars @carljparker @NicolasHug @kit1980 @subramen

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions