Downloads · 30 days
36
6% of all-time downloads
liswei/Taiwan-ELM-270M
Taiwan-ELM-270M is a text generation model from liswei. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
<center <img src="https://huggingface.co/liswei/Taiwan-ELM/resolve/main/Taiwan%20ELM%20Logo.jpeg" alt="Efficient LLM for Taiwan" </center
Downloads · 30 days
36
6% of all-time downloads
All-time downloads
626
Public
Parameters
310M
40 GB on disk
Likes
2
Public
Click a slice to open those files.
.pt25.1 GB · 65%
From the Hugging Face model README
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.