23ws-LLMcoder/LLMcoder-GitHub-Python-Mix-Direct
Dataset Card for LLMcoder-GitHub-Python-Mix-Direct Python target autocomplete suggestions in the format of conversations for OpenAI's fine-tuning. Dataset Details Dataset Description Curated by: [More Information Needed] Funded by [optional]: [More Information Needed] Shared by [optional]: [More Information Needed] Language(s) (NLP): [More Information Needed] License: [More Information Needed] Dataset Sources [optional] The data… See the full description on the dataset page: https://huggingface.co/datasets/23ws-LLMcoder/LLMcoder-GitHub-Python-Mix-Direct.
0216
1 for source in [line.strip() for line in source_file]:2 tokens = source.split(':')3 if len(tokens) == 1:4 host = tokens[0]5 port = 270176 elif len(tokens) == 2:7 host, port = tokens8 port = int(port)9 else:10 raise ValueError("%s is not a valid source", source)11 12 sources.append(dict(host=host, port=port, db=db, collection=collection))13 14 return sources