Lightning-AI / Lightning-AI/litgpt
Training lasts just 150 seconds for TinyLlama OpenWebtext dataset
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.7k
- Forks
- 1.5k
- Avg merge
- 15h 37m
- Merged PRs (30d)
- 1
Description
Hello
I am trying to train a model on openwebtext dataset and TinyLlama model, as specified here ([https://github.com/Lightning-AI/litgpt/blob/main/tutorials/0_to_litgpt.md#pretrain-llms](https://github.com/Lightning-AI/litgpt/blob/main/tutorials/0_to_litgpt.md#pretrain-llms)) but the training lasts for just 150 seconds.
I am not sure where does it gets it's configuration from or how do i make sure the training runs longer for a better model. Can anyone help me out with that?
Command used
`CUDA_VISIBLE_DEVICES=0,1,2 TORCHDYNAMO_DISABLE=1 TORCHDYNAMO_SUPPRESS_ERRORS=True litgpt pretrain --model_name tiny-llama-1.1b --data OpenWebText --tokenizer_dir checkpoints/TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T --train.max_tokens 100000 --out_dir out/custom-model --train.global_batch_size 64 --eval.max_iters 10000 --train.micro_batch_size 2 --train.log_interval 2
`
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with tutorials/0_to_litgpt.md#pretrain-llms and the litgpt pretrain entry point, then reproduce the supplied command with its token, batch, and evaluation settings. Done means identifying which configuration controls the short run and verifying the expected training duration or documenting the remaining limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100