Sort some imports

This commit is contained in:
oobabooga 2023-06-25 01:44:36 -03:00
parent 365b672531
commit f0fcd1f697
8 changed files with 60 additions and 33 deletions

View file

@ -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):