Views
No views yet
python train.py --actor-model facebook/opt-1.3b --reward-model facebook/opt-350m --deployment-type single_node| Parameter | Value |
|---|---|
| Parameters | 1.3B |
| Model type | OPT |
| FFN Dimensions | 8192 |
| Hidden Size | 2048 |
| Max Position Embedding | 2048 |
| Attention Heads | 32 |
| Hidden layers | 24 |
| Parameter | Value |
|---|---|
| Train Batch size | 32 |
| Train micro batch size | 4 |
| ZeRO stage | 2 |
| FP16 | True |
| Gradient clipping | 1.0 |
| Dropout | 0.1 |
| Bias | True |
| Prescale gradients | True |
1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3tokenizer = AutoTokenizer.from_pretrained("AdamG012/chat-opt-1.3b-sft-deepspeed")
4
5model = AutoModelForCausalLM.from_pretrained("AdamG012/chat-opt-1.3b-sft-deepspeed")1# Make sure you have git-lfs installed (https://git-lfs.github.com)
2git lfs install
3git clone https://huggingface.co/AdamG012/chat-opt-1.3b-sft-deepspeed
4
5# if you want to clone without large files – just their pointers
6# prepend your git clone with the following env var:
7GIT_LFS_SKIP_SMUDGE=1