Skip to content

Commit

Permalink
Add code-prose tagger to init import.
Browse files Browse the repository at this point in the history
Additionally update commentary and word choice.
  • Loading branch information
no0p committed Feb 28, 2025
1 parent db8b744 commit e715591
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions python/dolma/taggers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from . import (
c4,
code,
code_composition,
gopher,
jigsaw,
language,
Expand Down
8 changes: 4 additions & 4 deletions tests/python/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@


# The default multiprocessing start method is "fork" which is not compatible with
# with runtime assertions that it is set to spawn. When running unit tests, it's
# possible to call an external library that sets the start method to "fork".
# Here we enforce the start method to be "spawn" for all tests before executing.
# with runtime assertions that it is set to "spawn". When running unit tests, it's
# possible to call an external library that sets the start method to the default.
# Here we set the start method to be "spawn" for all tests before executing.
@pytest.fixture(scope="session", autouse=True)
def initialize_data_environment():
def initialize_multiprocessing_start_method():
try:
multiprocessing.set_start_method("spawn")
except Exception:
Expand Down

0 comments on commit e715591

Please sign in to comment.