Comments (3)
Hi @daehuikim we've just released all the training code for Zephyr, so it should now be possible to reproduce our models with a few lines of code :)
from alignment-handbook.
@lewtun Thanks for giving such a good example!
I am still curious how to adapt my own dataset that is not on hub.
For example, when i try to train with config like below,
datasets_mixer:
dataset_1: 0.5 # Use 50% of the training examples
dataset_2: 0.66 # Use 66% of the training examples
dataset_3: 0.10 # Use 10% of the training examples
localdataset_name:0.001 #how can it be done?
dataset_splits:
- train_xxx # The training splits to mix
- test_xxx # The test splits to mix
FileNotFoundError: Couldn't find a dataset script at localdataset_name.py or any data file in the same directory.
I got errors like this. I hope to adapt my dataset which exist in local disk to models.
So I checked utils.py in alignment also however, I have no idea how to modify this.
If you have any idea or update, I am pleased to be informed again please. :)
from alignment-handbook.
Hi @daehuikim. We did not consider this use case. Are you unable to push there dataset to the hub, even as a private dataset?
Otherwise you would need to use Dataset.from_dict
similar to load your dataset as a custom dataset or provide a custom dataset script file.
from alignment-handbook.
Related Issues (20)
- cannot replicate DPO results of zephyr HOT 5
- Major bug: Chat template is not actually applied in run_sft.py and run_dpo.py HOT 7
- Estimated Time for SFT Fine-Tuning of Mistral-7B Model HOT 1
- Minor question about PAD token and EOS token. HOT 2
- Downloading latest CUDA version (11.6 or above) for MacOS to use FlashAttention
- Not able to run Zephyr 7B Gemma with 4 80GB A100s HOT 1
- Early Stopping Issue when used with ConstantLengthDataset
- Is there a way to freeze some layers of a model ?
- Missing config_qlora.yaml
- How to select parts to bp in sft
- Can any one share the script what params should be passed to run_dpo.py HOT 1
- Efficient dialog data format for KTO training
- Can we please add the option to work with a tokenized dataset, escpailly for the CPT task.
- Constitutional AI models do not achieve MT-Bench scores as reported
- Multi-GPU Training with DPO Full Parameter Stucks
- Cannot reproduce zephyr-7b-gemma-v0.1 HOT 2
- CPT training is giving pretty unstalbe results with the learning rate 2e-5. HOT 1
- Method to disable evaluation
- Different dtype while saving optimizer with FSDP HOT 2
- Dependency updates for QLoRA+FSDP
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 alignment-handbook.