Instructions to use NayanPal/truthtriage-llama2-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use NayanPal/truthtriage-llama2-7b with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/llama-2-7b-bnb-4bit") model = PeftModel.from_pretrained(base_model, "NayanPal/truthtriage-llama2-7b") - Transformers
How to use NayanPal/truthtriage-llama2-7b with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("NayanPal/truthtriage-llama2-7b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!