<commit_before>pybind11_add_module(_core.so MODULE
    core_module.cc
    array.cc
    array_index.cc
    axes.cc
    backend.cc
    backward.cc
    backprop_mode.cc
    chainer_interop.cc
    check_backward.cc
    context.cc
    device.cc
    dtype.cc
    error.cc
    graph.cc
    routines.cc
    scalar.cc
    shape.cc
    slice.cc
    strides.cc
    testing/device_buffer.cc
    testing/testing_module.cc
    )

if(${APPLE})
    target_link_libraries(_core.so PRIVATE chainerx)
else()
    target_link_libraries(_core.so PRIVATE "-Wl,-R,'$ORIGIN/.'" chainerx)
endif()<commit_msg>Fix macOS rpath for libchainerx.dylib<commit_after>pybind11_add_module(_core.so MODULE
    core_module.cc
    array.cc
    array_index.cc
    axes.cc
    backend.cc
    backward.cc
    backprop_mode.cc
    chainer_interop.cc
    check_backward.cc
    context.cc
    device.cc
    dtype.cc
    error.cc
    graph.cc
    routines.cc
    scalar.cc
    shape.cc
    slice.cc
    strides.cc
    testing/device_buffer.cc
    testing/testing_module.cc
    )

if(${APPLE})
    target_link_libraries(_core.so PRIVATE "-Wl,-rpath,@loader_path" chainerx)
else()
    target_link_libraries(_core.so PRIVATE "-Wl,-R,'$ORIGIN/.'" chainerx)
endif()
{'fraction_non_alphanumeric': 0.09719934102141681, 'fraction_numerical': 0.0032948929159802307, 'mean_word_length': 2.6930091185410334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2967396', 'n_tokens_mistral': 462, 'n_tokens_neox': 459, 'n_words': 70}