Giter VIP home page Giter VIP logo

pokemon_llm_finetuner's Introduction

Pokemon LLM Finetuner

This project is intended to act as a tutorial for fine-tuning LLMs. It intends to provide a method to fine-tune the Helsinki NLP English to German LLM so that it can properly translate Pokemon names.

Alt Text

Background

At the moment, inputting a phrase like "Squirtle, I choose you!" into the base LLM will lead to the incorect translation "Squirtle, ich wähle dich!". The goal is to fine-tune the LLM so that it can properly translate the phrase to "Schiggy, ich wähle dich!".

This project is based on the Hugging Face Transformers library and the Hugging Face Datasets library. These are powerful tools that make it easy to fine-tune and use LLMs.

This project makes use of the Helsinki NLP English to German LLM, but is adatptable to other LLMs.

Installation

This entire project can run on the free tier of Google Colab. Open the provided notebook in Colab and run the first cell to install the necessary libraries.

Next, input your Hugging Face API token in the second cell.

Credits

This projects was created by AJ Grant

The Pokemon data used in this project comes from this forum post

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.