fix whitespace for patch check
This commit is contained in:
@@ -49,6 +49,7 @@ ORIGINAL_LLAMA_FCLM_CODE = """
|
|||||||
cache_position=cache_position,
|
cache_position=cache_position,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
hidden_states = outputs[0]
|
hidden_states = outputs[0]
|
||||||
# Only compute necessary logits, and do not upcast them to float if we are not computing the loss
|
# Only compute necessary logits, and do not upcast them to float if we are not computing the loss
|
||||||
logits = self.lm_head(hidden_states[:, -num_logits_to_keep:, :])
|
logits = self.lm_head(hidden_states[:, -num_logits_to_keep:, :])
|
||||||
|
|||||||
Reference in New Issue
Block a user