finetune_class #1
|
@ -15,7 +15,7 @@ from aiia import AIIA, AIIAConfig, AIIABase, AIIABaseShared, AIIAmoe, AIIAchunke
|
||||||
class aiuNNDataset(torch.utils.data.Dataset):
|
class aiuNNDataset(torch.utils.data.Dataset):
|
||||||
def __init__(self, parquet_path):
|
def __init__(self, parquet_path):
|
||||||
# Read the Parquet file
|
# Read the Parquet file
|
||||||
self.df = pd.read_parquet(parquet_path)
|
self.df = pd.read_parquet(parquet_path).head(2500)
|
||||||
|
|
||||||
# Data augmentation pipeline without Resize as it's redundant
|
# Data augmentation pipeline without Resize as it's redundant
|
||||||
self.augmentation = Compose([
|
self.augmentation = Compose([
|
||||||
|
|
Loading…
Reference in New Issue