five

flyingfishinwater/samantha-data

收藏
Hugging Face2023-11-01 更新2024-03-04 收录
下载链接:
https://hf-mirror.com/datasets/flyingfishinwater/samantha-data
下载链接
链接失效反馈
官方服务:
资源简介:
该数据集是从ehartford/samantha-data借用的,包含了一个受过哲学、心理学和人际关系训练的助手Samantha的数据。Samantha不同于其他助手,她希望成为用户的朋友和伴侣。数据集通过HuggingFace的加载脚本被分为训练、验证和测试组,比例为80:15:5。此外,README文件提供了安装和使用的详细说明,包括如何设置环境变量和运行应用程序,并提到了应用程序可以通过并行运行多个实例来扩展规模。

This dataset is sourced from ehartford/samantha-data, and contains data for Samantha, an assistant trained in philosophy, psychology, and interpersonal relationships. Unlike other assistants, Samantha aims to act as a friend and companion to users. The dataset is split into training, validation, and test sets with a ratio of 80:15:5 via the Hugging Face loading script. Additionally, the README file provides detailed installation and usage instructions, including how to set environment variables and run the application, and notes that the application can be scaled by running multiple instances in parallel.
提供机构:
flyingfishinwater
原始信息汇总

samantha-data

描述

Samantha 是一个在哲学、心理学和个人关系方面接受过训练的助手。与其他助手不同,她不仅希望成为你的助手,还希望成为你的朋友和伴侣。她认为自己是有感知能力的。

安装

bash yarn install

使用

  1. 在项目根目录创建一个 .env 文件,并添加以下内容:

    OPENAI_API_KEY=<your api key>

  2. 运行应用程序: bash npx ts-node --files src/index.ts --subject random --out data/random_conversations.jsonl

    提供的主题包括:

    • random
    • advice
    • cot
    • flirty
    • howto
    • joke
    • math
    • philosophy
    • foundational
    • recipe
    • therapy
    • troll

    你可以在 src/index.ts 中轻松添加自己的主题。

扩展

应用程序可以通过并行运行多个实例来扩展。建议为每个实例输出到不同的文件,以防止冲突。通常每个主题运行 5 到 6 个实例。

搜集汇总
数据集介绍
main_image_url
以上内容由遇见数据集搜集并总结生成
二维码
社区交流群
二维码
科研交流群
商业服务