Instructions to use 4daJ/llama2_SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use 4daJ/llama2_SFT with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/data/lizongyue/llm_factory/model/meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "4daJ/llama2_SFT") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload folder using huggingface_hub
Verified signaturee7eb52b -
Upload folder using huggingface_hub
Verified signaturea388d0e
-
Upload adapter_model.bin with huggingface_hub
Verified signature0f1c2e8 -
Upload README.md with huggingface_hub
Verified signature3b940d2 -
Upload README.md with huggingface_hub
Verified signature915f506 -
Upload README.md with huggingface_hub
Verified signature917bfb9 -
initial commit
Verified signature906bc8c