acecalisto3 commited on
Commit
e988684
·
verified ·
1 Parent(s): c156661

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ class CustomDataset(torch.utils.data.Dataset):
140
  text,
141
  max_length=self.max_length,
142
  padding='max_length',
143
- trunc ation=True,
144
  return_attention_mask=True,
145
  return_tensors='pt',
146
  )
 
140
  text,
141
  max_length=self.max_length,
142
  padding='max_length',
143
+ truncation=True,
144
  return_attention_mask=True,
145
  return_tensors='pt',
146
  )