neoneye/base64-decode-v2
收藏资源简介:
--- license: mit task_categories: - translation language: - en tags: - code pretty_name: Base64 decode version2 size_categories: - 10K<n<100K configs: - config_name: default data_files: - split: train path: data/data.jsonl --- # Dataset: Base64 decode version2 This dataset is for improving base64 decoding capabilities. This improves on the [neoneye/base64-decode-v1](https://huggingface.co/datasets/neoneye/base64-decode-v1) dataset. Here number of bytes that are in the base64 encoded data spans between 0..255 bytes. Where version 1 spans between 0..127. Here 3 different random functions are used. Where version 1 uses 1 random function. `GPT 4o` is great at base64 decoding. However `llama3` is terrible at base64 decoding. Short examples of what `data.jsonl` looks like: ```text {"instruction": "Transform base64 to HEX", "input": "464pNBlIObA=", "output": "e3ae2934194839b0"} {"instruction": "Decode Base64 to json", "input": "NQ==", "output": "[53]"} {"instruction": "Base64 to Hexadecimal", "input": "ax0WaQ==", "output": "6b1d1669"} {"instruction": "convert base64 to Hexadecimal", "input": "8X43", "output": "f17e37"} {"instruction": "Change base64 to JSON", "input": "7MmBZO4=", "output": "[236,201,129,100,238]"} {"instruction": "Json from Base64", "input": "ytBBCmPRA6De+Ow=", "output": "[202,208,65,10,99,209,3,160,222,248,236]"} {"instruction": "BASE64 to Hex", "input": "m/A=", "output": "9bf0"} ``` # Generate dataset ``` PROMPT> python generate_dataset.py ``` This creates the `data.jsonl` file.
该数据集旨在提高base64解码能力。与前一版本相比,该版本中base64编码数据的字节范围扩展到了0到255字节,而前一版本仅为0到127字节。此外,该版本使用了三种不同的随机函数,而前一版本仅使用了一种。数据集中包含了从base64转换为HEX、JSON等的示例。GPT 4o在base64解码方面表现出色,而llama3则表现不佳。数据集通过运行generate_dataset.py脚本生成。
数据集概述:Base64 decode version2
数据集详情
- 许可证: MIT
- 任务类别: 翻译
- 语言: 英语
- 标签: 代码
- 美观名称: Base64 decode version2
- 大小类别: 10K<n<100K
- 配置:
- 配置名称: default
- 数据文件:
- 分割: train
- 路径: data/data.jsonl
数据集内容
- 目的: 用于提升base64解码能力。
- 改进: 相比neoneye/base64-decode-v1,本数据集在base64编码数据中的字节范围扩展至0..255,使用3种不同的随机函数。
- 示例:
{"instruction": "Transform base64 to HEX", "input": "464pNBlIObA=", "output": "e3ae2934194839b0"}{"instruction": "Decode Base64 to json", "input": "NQ==", "output": "[53]"}{"instruction": "Base64 to Hexadecimal", "input": "ax0WaQ==", "output": "6b1d1669"}{"instruction": "convert base64 to Hexadecimal", "input": "8X43", "output": "f17e37"}{"instruction": "Change base64 to JSON", "input": "7MmBZO4=", "output": "[236,201,129,100,238]"}{"instruction": "Json from Base64", "input": "ytBBCmPRA6De+Ow=", "output": "[202,208,65,10,99,209,3,160,222,248,236]"}{"instruction": "BASE64 to Hex", "input": "m/A=", "output": "9bf0"}



