neoneye/base64-decode-v1
Dataset: Base64 decode version1 This dataset is for improving base64 decoding capabilities. The number of bytes that are in the base64 encoded data spans between 0..127 bytes. GPT 4o is great at base64 decoding. However llama3 is terrible at base64 decoding. Short examples of what data.jsonl looks like: {"instruction": "Transform base64 to HEX", "input": "464pNBlIObA=", "output": "e3ae2934194839b0"} {"instruction": "Decode Base64 to json", "input": "NQ==", "output": "[53]"}… See the full description on the dataset page: https://huggingface.co/datasets/neoneye/base64-decode-v1.
043
1import random2 3def generate_random_byte_array(length, seed):4 random.seed(seed)5 return bytearray(random.randint(0, 255) for _ in range(length))6 7if __name__ == "__main__":8 length = 109 seed = 4210 byte_array = generate_random_byte_array(length, seed)11 print(byte_array)12 