<commit_before>from cpuinfo import cpuinfo
_info = cpuinfo.get_cpu_info()
try:
    from .. import _cpp
    physical_thread_count = _cpp.get_max_threads()
except ImportError:
    physical_thread_count = _info['count']


def name():
    return _info['brand']


def physical_core_count():
    return physical_thread_count<commit_msg>Really fix the cpuinfo physical thread count<commit_after>from cpuinfo import cpuinfo
_info = cpuinfo.get_cpu_info()
try:
    from .. import _cpp
    physical_thread_count = _cpp.get_max_threads()
except AttributeError:
    physical_thread_count = _info['count']


def name():
    return _info['brand']


def physical_core_count():
    return physical_thread_count
{'fraction_non_alphanumeric': 0.08645533141210375, 'fraction_numerical': 0.0, 'mean_word_length': 4.94017094017094, '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': '210800', 'n_tokens_mistral': 217, 'n_tokens_neox': 211, 'n_words': 53}