Skip to content

Using BookParse to act on multiple files, but create one dataset? #7

Description

@JMarshQPK

Where you call the PDF path, can I give the code a directory with many files in it?
The end goal is still one dataset.
Would it be better or worse to combine the files into a single file? In other words, combining the data as 1. pre-input, or 2. post-output.

EDIT: I'm already exceeding a token count with one file. I think it's limiting to 2048 per transformers limits. I'm curious how you were able to run a novel through it which would have ~100k tokens.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions