Comments (4)
How many different responses do you expect? I could see that there might not be enough variety in the responses in a large batch and maybe training on smaller batches would help.
from trl.
@simonlevine what architecture are you using? Can you share with us the logs of your training?
Also I second @lvwerra 's comment about the batches
from trl.
Hi, thank you for the advice, I'll tune the batch size (and forward batch size). Without going into too much detail, architecture is akin to GPT (2), but trained to generate biological sequences. The prompt is about 100 characters and the response is a fixed length of about 30. I can share training logs when I have more consistent results. Thanks agaIn!
from trl.
Ok, I am closing this for now - feel free to reopen if there are any news :)
from trl.
Related Issues (20)
- TR-DPO : Why is the loss not changing at all, and reward/accuracies and reward/margins always = 0? HOT 1
- scripts/dpo.py : Unable to train custom gpt2 model
- Support packing for pretokenized datasets
- DPO Evalution with WandB triggers a `cannot pickle '_thread.lock' object` failure HOT 11
- Will long text be truncated and split into different examples when using packing?
- Some questions about PPO trainer
- Processing issue in Anthropic HH dataset HOT 1
- prompts are not used in `WinRateCallback` HOT 1
- Use `WinRateCallback` without `ref_model` HOT 3
- Bugs in examples/scripts/chat.py
- CUDA error in PPO Trainer
- RPO Loss Inconsistency
- Incorrect reference responses when using PEFT with PPOTrainer HOT 1
- Online DPO scheduler step before optimizer step HOT 1
- push_to_hub from local model HOT 1
- ImportError: cannot import name 'DDPOConfig' from 'trl' (unknown location)
- Why are instructions not masked when performing VSFT for LLaVa?
- SFTTrainer for non-packed dataset HOT 1
- DPO training on LLAMA-2 completely corrupts the model
- Dataset format for `ORPOTrainer` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trl.