Danish Foundation Models org
edited 5 days ago

Addition of domsdatabasen.dk

This pull request adds data from domsdatabasen.dk, along with a create.py script to reproduce the dataset/update it.

  • I have run the test suite using make test and all tests pass
  • I have added/changed a dataset and have
    • I have updated descriptive statistics using make update-descriptive-statistics
    • I have bumped the version use make bump-version
  • If I have added a create.py script I have added the script dependencies required to run that script.
  • I have updated the CHANGELOG.md if appropriate
Danish Foundation Models org

@KennethEnevoldsen will you have a look?

I have yet to bump the version and add changelog. Waiting for PR/73 to close first.

kris927b changed pull request status to open
Danish Foundation Models org

I have now merged the PR/73 changes into this, and bumped version and added changelog.

Danish Foundation Models org
  1. Why do we see the edits for pr/73?
  2. For the script, I think it looks fine. Note that you can create additional scripts to import from if you need to structure things
  3. I would move os.environ inside the if main or main function (so that it is not set at import)
  4. # Download PDFs in parallel seems like unused code - would delete
  5. I would move ## Dataset Description up so that it is above the added segments (which I would say fall under ## Dataset Description

Otherwise, looks great! Pretty cool to see that we are approaching 5B tokens

Danish Foundation Models org

Thanks for the review @KennethEnevoldsen !

I have fixed the things you have pointed out.

To answer 1., I think the reason is because this PR started before PR/73 was merged. As a result, merging those changes into this branch makes them show up here as well.

If no other objections, then I will merge this in.

kris927b changed pull request status to merged

Sign up or log in to comment