Coder Social home page Coder Social logo

Comments (3)

lewtun avatar lewtun commented on May 9, 2024 2

Hi @daehuikim we've just released all the training code for Zephyr, so it should now be possible to reproduce our models with a few lines of code :)

from alignment-handbook.

daehuikim avatar daehuikim commented on May 9, 2024

@lewtun Thanks for giving such a good example!
I am still curious how to adapt my own dataset that is not on hub.
For example, when i try to train with config like below,

datasets_mixer:
    dataset_1: 0.5  # Use 50% of the training examples
    dataset_2: 0.66 # Use 66% of the training examples
    dataset_3: 0.10 # Use 10% of the training examples
    localdataset_name:0.001 #how can it be done?

dataset_splits:
- train_xxx         # The training splits to mix
- test_xxx          # The test splits to mix

FileNotFoundError: Couldn't find a dataset script at localdataset_name.py or any data file in the same directory.

I got errors like this. I hope to adapt my dataset which exist in local disk to models.
So I checked utils.py in alignment also however, I have no idea how to modify this.
If you have any idea or update, I am pleased to be informed again please. :)

from alignment-handbook.

edbeeching avatar edbeeching commented on May 9, 2024

Hi @daehuikim. We did not consider this use case. Are you unable to push there dataset to the hub, even as a private dataset?
Otherwise you would need to use Dataset.from_dict similar to load your dataset as a custom dataset or provide a custom dataset script file.

from alignment-handbook.

Related Issues (20)

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.