optimizer:
class_path: torch.optim.AdamW
init_args:
lr: 0.0005
weight_decay: 0.01
precision: bf16-mixed
seed: 42
train:
global_batch_size: 1024
max_seq_length: 2048
max_tokens: 600000000000
micro_batch_size: 8
This repository hosts multiple revisions of the model.
To load a specific revision, use the revision parameter. For example:
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("locuslab/_base--score0_with_123rephrase_with_45refusal-600B-step-60000", revision="final")
tokenizer = AutoTokenizer.from_pretrained("locuslab/_base--score0_with_123rephrase_with_45refusal-600B-step-60000", revision="final")
Replace "final" with the desired revision.
model-00001-of-00002.safetensors 5.0 GBmodel-00002-of-00002.safetensors 2.2 GBtraining_args.bin 5.9 kB