Instructions to use dmallick27/llama_2_sample_demo_model_for_TC_Extraction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use dmallick27/llama_2_sample_demo_model_for_TC_Extraction with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "dmallick27/llama_2_sample_demo_model_for_TC_Extraction") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Add base_model information to model
#1 opened almost 3 years ago
by
librarian-bot