Text Generation
PEFT
Safetensors
lora
qlora
tinyllama
instruction-tuning
pharmaceutical
medical
causal-lm
sft
Instructions to use ssuvetha/pharma-tinyllama-instruction-lora-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ssuvetha/pharma-tinyllama-instruction-lora-adapter with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("/content/pharma_tinyllama_merged_model") model = PeftModel.from_pretrained(base_model, "ssuvetha/pharma-tinyllama-instruction-lora-adapter") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!