Giter Site home page Giter Site logo

spellsynth's Introduction

Spellsynth

Currently under construction. Please check back later.

Introduction

Spellsynth is system for creating synthetic datasets to fine-tune powerful LLM translators.

In addition to code and instructions, this repo contains two Spellsynth fine-tuning datasets, each of about 20,000,000 tokens:

  • spellsynth-el
  • kaleidograph

The datasets in data/final are freely licensed. They are intended as fine-tuning data for state-of-the-art LLMs like Mistral's mixtral-8x7b, Meta's llama models, or OpenAI's gpt-4.

In the interests of reproducibility, this research has used only open weights models and publicly available data.

Prerequisites

  • Python >3.11.6 installed
  • pip installed

Setup

Create a Virtual Environment

python3 -m venv myenv
source myenv/bin/activate  # On Windows, use `myenv\Scripts\activate`

Install Dependencies

pip install -r requirements.txt

Environment Variables

Create a .env file in the project root directory and add the following:

TOGETHER_API_KEY='[YOUR API KEY]'

You only need API keys for the platforms you are using. Any platform that can serve language models like mixtral-8x7b-instruct (or equivalent) and embedding models like m2-bert-80M-2k-retrieval (or equivalent) will likely work. I have used Together.ai.

Data

Sourcing

Specification

Example

spellsynth's People

Contributors

archie-mckenzie avatar

Watchers

Kostas Georgiou avatar  avatar

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.