Code Monkey home page Code Monkey logo

Comments (4)

danielhanchen avatar danielhanchen commented on July 23, 2024 1

@lapp0 Oops apologies I didn't reply - I made CodeLlama-34b work, and it has a RoPE scaling factor of 1000000. So Yi-34B with the extra RoPE Scaling should work fine!!

from unsloth.

danielhanchen avatar danielhanchen commented on July 23, 2024

@lapp0 Yes technically RoPE scaling was just added as a preliminary support.
You can either change max_seq_length to whatever number you desire, and I will handle RoPE scaling internally.

Or you can add a RoPE scaling dictionary yourself.

This is all preliminary support though

from unsloth.

lapp0 avatar lapp0 commented on July 23, 2024

Does unsloth currently implement the expected behavior of rope theta being set by the base models config.json on hf?

e.g. https://huggingface.co/chargoddard/Yi-34B-Llama/blob/main/config.json#L18

Or are there any issues I might run into which I should be aware of when dealing with long context base models?

from unsloth.

danielhanchen avatar danielhanchen commented on July 23, 2024

@lapp0 I'm not 100% sure - I think it'll use the internal rope theta / scaling if you don't touch rope_scaling as the parameter. I'll have to get back to you

from unsloth.

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.