Downloads · 30 days
6
18% of all-time downloads
ThakrePranjal/pharma-tinyllama-domain-lora
pharma-tinyllama-domain-lora is a machine learning model from ThakrePranjal. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
This is a LoRA adapter for TinyLlama/TinyLlama-1.1B-Chat-v1.0, trained via domain-adaptive continued pretraining on a pharmaceutical text corpus.
Downloads · 30 days
6
18% of all-time downloads
All-time downloads
34
Public
Repo size
50.5 MB
Likes
0
Public
Click a slice to open those files.
.safetensors50.5 MB · 93%
From the Hugging Face model README
This is a LoRA adapter for TinyLlama/TinyLlama-1.1B-Chat-v1.0, trained
via domain-adaptive continued pretraining on a pharmaceutical text corpus.
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model_name = "TinyLlama/TinyLlama-1.1B-Chat-v1.0"
adapter_repo = "ThakrePranjal/pharma-tinyllama-domain-lora"
base_model = AutoModelForCausalLM.from_pretrained(base_model_name)
model = PeftModel.from_pretrained(base_model, adapter_repo)
tokenizer = AutoTokenizer.from_pretrained(adapter_repo)
Trained on ThakrePranjal/pharma-domain-corpus, a cleaned pharmaceutical text corpus.
Continued pretraining / domain adaptation for pharma-domain text generation. This is not an instruction-tuned model — it continues text rather than following instructions. See the companion instruction-tuning notebook for an instruction-following variant.
Trained on a small/sample pharma corpus; not validated for clinical or production use. Outputs should be verified against authoritative sources.