Giter Site home page Giter Site logo

vicuna_to_alpacan's Introduction

Description

This conversion script is designed to convert vicuna datasets to a more alpaca-like format. To be used with the trainer found here: https://github.com/oobabooga/text-generation-webui/wiki/Using-LoRAs#training-a-lora This was designed to conform to SOME of the format from the conv_vicuna_v1_1 format from the FastChat Github repo (https://github.com/lm-sys/FastChat/blob/main/fastchat/conversation.py) while working within the format of Ooba's Trainer. Some liberties were taken on this format adaptation...

Note about versions

3 Different versions. Not sure which is best. (B is probably the best for booga)

Make sure whatever version you pick matches the vicuna-format JSON

How to use Script

  1. Convert vicuna json to alpaca format with python format_B.py --input <path_to_vicuna_dataset>
  2. Copy the datasets folder to text-generation-webui/training/datasets
  3. Copy the formats folder to text-generation-webui/training/formats

Still Totally Mostly Untested WIP

Patch Training Data Logging

  1. Copy the training_logData.diff file to "text-generation-webui/modules/"
  2. Run command patch training.py training_logData.diff
  3. Logs now sent to "text-generation-webui/logs/"

vicuna_to_alpacan's People

Contributors

practical-dreamer avatar

Stargazers

 avatar Emma avatar Nelson Milian avatar  avatar  avatar Kunat Pipatanakul avatar  avatar Dr. Soni avatar  avatar HoTaek Joo avatar  avatar  avatar

Watchers

 avatar

Forkers

hotco87

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.