<commit_before>import os
# Current directory
os.path.dirname(__file__)
# Parent directory
os.path.dirname(os.path.dirname(__file__))<commit_msg>reference for getting current directory of script in python<commit_after>import os
# Current directory
# If you call this from the current directory without abspath,
# then it will not work since __file__ is a relative path
os.path.dirname(os.path.abspath(__file__))
{'fraction_non_alphanumeric': 0.07804878048780488, 'fraction_numerical': 0.0, 'mean_word_length': 6.339285714285714, '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': '5244479', 'n_tokens_mistral': 114, 'n_tokens_neox': 113, 'n_words': 41}