Coder Social home page Coder Social logo

Comments (4)

ErikTromp avatar ErikTromp commented on June 12, 2024

Err what command did you run exactly because for me it looks like this:
Untitled

Which is the direct result of:
!python LLaMa2lang/translate_oasst.py hi /content/drive/MyDrive/oasst_checkpoints/hi 200 20

The structure should be: target_language/fold/from_source_language/actual_checkpoint_files. You seem to be missing both the target language and fold folders, which get created here https://github.com/UnderstandLingBV/LLaMa2lang/blob/main/translate_oasst.py#L115

from llama2lang.

mpazdzioch avatar mpazdzioch commented on June 12, 2024

It's all good, I get it now:) The way I read the docs is I should use [checkpoint] folder for the first step then [checkpoint] + [target_lang] for the 2nd step but both are really the same folder.

from llama2lang.

damodharanj avatar damodharanj commented on June 12, 2024

@mpazdzioch Even i got the same structure. What did you do to get back to the original format ?

from llama2lang.

ErikTromp avatar ErikTromp commented on June 12, 2024

You need to make sure you pass the right folders on, example:

python LLaMa2lang/combine_checkpoints.py ./oasst_checkpoints/pl ./oasst_checkpoints/pl_out
python LLaMa2lang/create_thread_prompts.py ./oasst_checkpoints/pl_out "test" ./oasst_checkpoints/pl_threads

from llama2lang.

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.