Sort some imports
This commit is contained in:
parent
365b672531
commit
f0fcd1f697
8 changed files with 60 additions and 33 deletions
|
@ -3,9 +3,11 @@ import math
|
|||
import torch
|
||||
import transformers
|
||||
from transformers import LogitsWarper
|
||||
from transformers.generation.logits_process import (LogitNormalization,
|
||||
LogitsProcessorList,
|
||||
TemperatureLogitsWarper)
|
||||
from transformers.generation.logits_process import (
|
||||
LogitNormalization,
|
||||
LogitsProcessorList,
|
||||
TemperatureLogitsWarper
|
||||
)
|
||||
|
||||
|
||||
class TailFreeLogitsWarper(LogitsWarper):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue