myrkur/persian-dpo
收藏资源简介:
该存储库包含原始Alpaca数据集的波斯语翻译,以及使用LLama3 70B模型生成的额外偏好数据。该数据集已准备好用于使用直接偏好优化(DPO)或类似方法进行语言模型对齐。它包含大约39,000条波斯语记录。原始Alpaca数据集是用于训练和评估语言模型的文本数据集合,包含多样且全面的文本片段,适用于自然语言处理任务。原始Alpaca数据集已被精心翻译成波斯语,以支持波斯语处理任务和研究。使用LLama3 70B模型生成的偏好数据有助于语言模型对齐,帮助微调语言模型以更好地理解和生成基于用户偏好的文本。每个记录包括:`instruction`(翻译成波斯语的原始Alpaca提示)、`id`(记录的唯一标识符)、`output`(ChatGPT对提示的波斯语响应)、`llama-generation`(Llama3 70B生成的偏好数据)、`good`(Llama3 70B偏好的响应)、`bad`(Llama3 70B不偏好的响应)。
This repository contains the Persian translation of the original Alpaca dataset, along with additional preference data generated using the LLama3 70B model. This dataset is ready for language model alignment via Direct Preference Optimization (DPO) or similar methods, and includes approximately 39,000 Persian-language records. The original Alpaca dataset is a collection of textual data used for training and evaluating language models, featuring diverse and comprehensive text snippets suitable for natural language processing (NLP) tasks. The original Alpaca dataset has been meticulously translated into Persian to support Persian-language NLP tasks and related research. The preference data generated by the LLama3 70B model facilitates language model alignment, aiding in the fine-tuning of language models to better comprehend and generate text aligned with user preferences. Each record includes the following fields: `instruction`: The original Alpaca prompt translated into Persian `id`: The unique identifier of the record `output`: The Persian response from ChatGPT to the prompt `llama-generation`: Preference data generated by the Llama3 70B model `good`: The response preferred by Llama3 70B `bad`: The response not preferred by Llama3 70B
Persian Alpaca Preference Dataset
数据集描述
原始Alpaca数据集
Alpaca数据集是一个用于训练和评估语言模型的文本数据集合。它包含多样化和全面的文本片段,适用于自然语言处理任务。
波斯语翻译
原始的Alpaca数据集已被精心翻译成波斯语,以支持波斯语处理任务和研究。
偏好数据集
使用LLama3 70B模型生成了偏好数据,以促进语言模型对齐。这部分数据集有助于微调语言模型,使其更好地理解和根据用户偏好生成文本。
每个记录包括:
instruction: 原始Alpaca提示翻译成波斯语。id: 记录的唯一标识符。output: chatgpt对提示的波斯语响应。llama-generation: Llama3 70B生成的偏好数据。good: Llama3 70B偏好的响应。bad: Llama3 70B不偏好的响应。
使用
该数据集可用于多种自然语言处理任务,包括但不限于:
- 语言模型训练和微调
- 文本生成
- 情感分析
研究人员和开发者可以使用此数据集来提高其模型在波斯语处理能力,特别是在用户偏好起关键作用的对齐任务中。




