def join_str_list(str_list):
    """Join a list of strings, handling spaces appropriately"""
    result = ""
    for s in str_list:
        if s.startswith("##"):
            result += s[2:]
        else:
            result += " " + s
    return result
Join a list of strings, handling spaces appropriately
training/DeepSpeed-Domino/megatron/data/realm_dataset_utils.py