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/score0_only-600B-mbs8-gbs1024-16feb_step-00240000", revision="final")
tokenizer = AutoTokenizer.from_pretrained("locuslab/score0_only-600B-mbs8-gbs1024-16feb_step-00240000", revision="final")
Replace "final" with the desired revision.
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo locuslab/base-smollm2-1.7bscore0_only-600B-mbs8-gbs1024-16feb_step-00240000 ./model-folder