Instructions to use solarpunkin/OpenELM-450M-gsm8k-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use solarpunkin/OpenELM-450M-gsm8k-LoRA with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("path-to-your-project/models/openelm-450m") model = PeftModel.from_pretrained(base_model, "solarpunkin/OpenELM-450M-gsm8k-LoRA") - Transformers
How to use solarpunkin/OpenELM-450M-gsm8k-LoRA with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("solarpunkin/OpenELM-450M-gsm8k-LoRA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!