Skip to content

Commit

Permalink
initial commit (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbogunowicz authored Aug 8, 2023
1 parent a0b6088 commit 91f6774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deepsparse/transformers/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def create_causal_mask(
dtype: numpy.dtype = numpy.int64,
) -> numpy.ndarray:
"""
Compute a causal from a set of module inputs.
Compute a causal mask from a set of module inputs.
In transformers, a causal mask is a boolean mask that is used to
prevent information from future positions in a sequence from
being used to predict the current position. Each element of the mask
Expand Down

0 comments on commit 91f6774

Please sign in to comment.