Instructions to use Softechlb/Llama_2_7B_fintuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Softechlb/Llama_2_7B_fintuned with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("TinyPixel/Llama-2-7B-bf16-sharded") model = PeftModel.from_pretrained(base_model, "Softechlb/Llama_2_7B_fintuned") - Notebooks
- Google Colab
- Kaggle
Ctrl+K