Instructions to use tianzl66/Llama-3.1-8B-Instruct-CommonSense170K-LoRA-Epoch2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use tianzl66/Llama-3.1-8B-Instruct-CommonSense170K-LoRA-Epoch2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/root/autodl-tmp/Llama-3.1-8B-Instruct") model = PeftModel.from_pretrained(base_model, "tianzl66/Llama-3.1-8B-Instruct-CommonSense170K-LoRA-Epoch2") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!