Instructions to use sidmanale643/medLLAMA_3x with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use sidmanale643/medLLAMA_3x 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, "sidmanale643/medLLAMA_3x") - Transformers
How to use sidmanale643/medLLAMA_3x with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="sidmanale643/medLLAMA_3x")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("sidmanale643/medLLAMA_3x", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Gated model You can list files but not access them
Preview of files found in this repository