Skip to content

Commit

Permalink
increases possible size of csv fields (#67)
Browse files Browse the repository at this point in the history
Co-authored-by: BPCZ <BPCZ@protonmail.com>
  • Loading branch information
emphaticism and BPCZ authored Dec 5, 2020
1 parent f7278bf commit a4f1d15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aitextgen/TokenDataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
import itertools
from tqdm.auto import tqdm
import numpy as np
import sys

csv.field_size_limit(sys.maxsize)

logger = logging.getLogger(__name__)
logger.setLevel(logging.INFO)
Expand Down

0 comments on commit a4f1d15

Please sign in to comment.