mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-04 14:17:28 +00:00
Fix an import
This commit is contained in:
parent
8cfd7f976b
commit
e243424ba1
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,6 @@ import datetime
|
|||
from pathlib import Path
|
||||
|
||||
import pandas as pd
|
||||
from datasets import load_dataset
|
||||
from tqdm import tqdm
|
||||
|
||||
from modules import shared
|
||||
|
|
@ -39,6 +38,7 @@ def calculate_perplexity(models, input_dataset, stride, _max_length):
|
|||
'''
|
||||
|
||||
import torch
|
||||
from datasets import load_dataset
|
||||
|
||||
from modules.torch_utils import clear_torch_cache
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue