Efficient LLM for Taiwan
Taiwan ELM is a family of Efficient LLMs for Taiwan base on apple/OpenELM. The project aims to provide an efficient model for researchers without access to large-scale computing resources.
The model is trained using a custom fork of LLaMA-Factory on 2B Traditional Chinese tokens and 500K instruction samples. We will extend the model to train on larger data sets and different base models if there is sufficient demand.
We release both pre-trained base models and instruction tuned variants with 270M and 1.1B parameters. Along with the model, datasets used to train the base and instruction-tuned models are also released.
List of released models:
List of released datasets:
We adapt the LLaMA2 template:
<s>[INST] <<SYS>>
{{ system_prompt }}
<</SYS>>
{{ user_message }} [/INST]
The model could be load via AutoModelForCausalLM with trust_remote_code=True:
taiwanelm_270m = AutoModelForCausalLM.from_pretrained("liswei/Taiwan-ELM-270M", trust_remote_code=True)
We also support additional generation methods and speculative generation, please find reference at OpenELM#usage.
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 liswei/Taiwan-ELM-270M ./model-foldercheckpoint-12000/optimizer.pt 2.5 GBcheckpoint-16000/optimizer.pt 2.5 GBcheckpoint-20000/optimizer.pt 2.5 GBcheckpoint-24000/optimizer.pt 2.5 GBcheckpoint-28000/optimizer.pt 2.5 GBcheckpoint-32000/optimizer.pt 2.5 GBcheckpoint-36000/optimizer.pt 2.5 GBcheckpoint-4000/optimizer.pt 2.5 GBcheckpoint-40000/optimizer.pt 2.5 GBcheckpoint-8000/optimizer.pt 2.5 GBcheckpoint-12000/model.safetensors 1.2 GBcheckpoint-16000/model.safetensors 1.2 GBcheckpoint-20000/model.safetensors 1.2 GBcheckpoint-24000/model.safetensors 1.2 GBcheckpoint-28000/model.safetensors 1.2 GBcheckpoint-32000/model.safetensors 1.2 GBcheckpoint-36000/model.safetensors 1.2 GBcheckpoint-4000/model.safetensors 1.2 GBcheckpoint-40000/model.safetensors 1.2 GBcheckpoint-8000/model.safetensors 1.2 GBmodel.safetensors 1.2 GBcheckpoint-12000/rng_state.pth 14.2 kBcheckpoint-16000/rng_state.pth 14.2 kBcheckpoint-20000/rng_state.pth 14.2 kBcheckpoint-24000/rng_state.pth 14.2 kBcheckpoint-28000/rng_state.pth 14.2 kBcheckpoint-32000/rng_state.pth 14.2 kBcheckpoint-36000/rng_state.pth 14.2 kBcheckpoint-4000/rng_state.pth 14.2 kBcheckpoint-40000/rng_state.pth 14.2 kBcheckpoint-8000/rng_state.pth 14.2 kBcheckpoint-12000/training_args.bin 5.2 kBcheckpoint-16000/training_args.bin 5.2 kBcheckpoint-20000/training_args.bin 5.2 kBcheckpoint-24000/training_args.bin 5.2 kBcheckpoint-28000/training_args.bin 5.2 kBcheckpoint-32000/training_args.bin 5.2 kBcheckpoint-36000/training_args.bin 5.2 kBcheckpoint-4000/training_args.bin 5.2 kBcheckpoint-40000/training_args.bin 5.2 kBcheckpoint-8000/training_args.bin 5.2 kBtraining_args.bin 5.2 kBcheckpoint-12000/scheduler.pt 1.1 kBcheckpoint-16000/scheduler.pt 1.1 kBcheckpoint-20000/scheduler.pt 1.1 kBcheckpoint-24000/scheduler.pt 1.1 kBcheckpoint-28000/scheduler.pt 1.1 kBcheckpoint-32000/scheduler.pt 1.1 kBcheckpoint-36000/scheduler.pt 1.1 kBcheckpoint-4000/scheduler.pt 1.1 kBcheckpoint-40000/scheduler.pt 1.1 kBcheckpoint-8000/scheduler.pt 1.1 kB