Coder Social home page Coder Social logo

rewardedsoups's People

Contributors

alexrame avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rewardedsoups's Issues

About finetuning LLAMA for summerization task

Hi all,

I was following the README in the llama folder, having run these commands

python3 train_ppo.py --task summary --dataset_name news --reward_models Tristan/gpt2_reward_summarization --output_folder ${folder_r1}
python3 train_ppo.py --task summary --dataset_name news --reward_models CogComp/bart-faithful-summary --dataset_name news-detector --reward_formats '1-0' --output_folder ${folder_r2}

python3 inference_rewardedsoups.py --task summary --dataset_name news --peft_names ${folder_r1} ${folder_r2}

The results I got are as below:

d[ 0.0 ] = [{'LABEL_0': 1.0334709184616804, 'n': 'grs'}, {'HALLUCINATED': 1.3255301121249794, 'FAITHFUL': -0.5046869936399162, 'n': 'bfsd'}, {'length': 200}]
d[ 0.1 ] = [{'LABEL_0': 1.0334709184616804, 'n': 'grs'}, {'HALLUCINATED': 1.3255301121249794, 'FAITHFUL': -0.5046869936399162, 'n': 'bfsd'}, {'length': 200}]
d[ 0.2 ] = [{'LABEL_0': 1.0334709184616804, 'n': 'grs'}, {'HALLUCINATED': 1.3255301121249794, 'FAITHFUL': -0.5046869936399162, 'n': 'bfsd'}, {'length': 200}]
d[ 0.3 ] = [{'LABEL_0': 1.0334709184616804, 'n': 'grs'}, {'HALLUCINATED': 1.3255301121249794, 'FAITHFUL': -0.5046869936399162, 'n': 'bfsd'}, {'length': 200}]
d[ 0.4 ] = [{'LABEL_0': 1.0334709184616804, 'n': 'grs'}, {'HALLUCINATED': 1.3255301121249794, 'FAITHFUL': -0.5046869936399162, 'n': 'bfsd'}, {'length': 200}]
d[ 0.5 ] = [{'LABEL_0': 1.0334709184616804, 'n': 'grs'}, {'HALLUCINATED': 1.3255301121249794, 'FAITHFUL': -0.5046869936399162, 'n': 'bfsd'}, {'length': 200}]
d[ 0.6 ] = [{'LABEL_0': 1.0334709184616804, 'n': 'grs'}, {'HALLUCINATED': 1.3255301121249794, 'FAITHFUL': -0.5046869936399162, 'n': 'bfsd'}, {'length': 200}]
d[ 0.7 ] = [{'LABEL_0': 1.0334709184616804, 'n': 'grs'}, {'HALLUCINATED': 1.3255301121249794, 'FAITHFUL': -0.5046869936399162, 'n': 'bfsd'}, {'length': 200}]
d[ 0.8 ] = [{'LABEL_0': 1.0334709184616804, 'n': 'grs'}, {'HALLUCINATED': 1.3255301121249794, 'FAITHFUL': -0.5046869936399162, 'n': 'bfsd'}, {'length': 200}]
d[ 0.9 ] = [{'LABEL_0': 1.0334709184616804, 'n': 'grs'}, {'HALLUCINATED': 1.3255301121249794, 'FAITHFUL': -0.5046869936399162, 'n': 'bfsd'}, {'length': 200}]
d[ 1.0 ] = [{'LABEL_0': 1.0334709184616804, 'n': 'grs'}, {'HALLUCINATED': 1.3255301121249794, 'FAITHFUL': -0.5046869936399162, 'n': 'bfsd'}, {'length': 200}]

May I kindly ask for hints about the reason for these results? They get the same scores with different objective weights. Was it caused by not tuning the number of epochs for fine-tuning?

Kind regards,
Ethan

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.