Skip to content

Commit

Permalink
Merge pull request #86 from ArneBinder/fix_brat_revisions
Browse files Browse the repository at this point in the history
Fix brat revisions
  • Loading branch information
ArneBinder authored Dec 7, 2023
2 parents 5664d1d + 844dd84 commit 6739d47
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dataset_builders/pie/brat/brat.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

class Brat(BratBuilder):
BASE_DATASET_PATH = "DFKI-SLT/brat"
BASE_DATASET_REVISION = "052163d34b4429d81003981bc10674cef54aa0b8"
BASE_DATASET_REVISION = "844de61e8a00dc6a93fc29dc185f6e617131fbf1"
4 changes: 3 additions & 1 deletion src/pie_datasets/builders/brat.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ class BratBuilder(GeneratorBasedBuilder):
]

BASE_DATASET_PATH = "DFKI-SLT/brat"
BASE_DATASET_REVISION = "70446e79e089d5e5cd5f3426061991a2fcfbf529"
BASE_DATASET_REVISION = (
None # it is highly recommended to set this to a commit hash in any derived builder
)

def _generate_document(self, example, **kwargs):
return example_to_document(
Expand Down

0 comments on commit 6739d47

Please sign in to comment.