Giter VIP home page Giter VIP logo

Comments (1)

Beomi avatar Beomi commented on June 10, 2024 3

안녕하세요!

해당하는 경우는 답변의 말투를 바꿔서 finetune해보는 것이 더 좋을 듯 합니다.

특히, 이런 경우는 원본 데이터와 함께, 신규 데이터의 instruct에 ‘아래 대답을 00한 말투로 대답해줘’ 라는 프롬프트를 추가해서 학습시킬 경우 여러 말투를 한 모델 내에 학습시킬 수 있고, prompt를 바꾸는 것만으로도 말투를 조절할 수 있는 가이드를 모델에게 제공할 수 있습니다 :)

즉, 원본 데이터 + 반말로 변환한 데이터(+ “반말로 대답해”와 같은 instruct prompt 추가) + 기타 말투 데이터(+ 해당 말투 설명하는 instruct prompt 추가) 와 같이 학습하시는게 좋을 것 같습니다 :)

만약 데이터를 전체 변환하는게 힘드시다면, KoAlpaca-polyglot 모델을 받아서 수백-수천개 수준을 말투만 변환시켜서 finetune 시키거나, 혹은 LoRA로 학습시켜 보는 것도 괜찮은 방법일 듯 합니다.

from koalpaca.

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.