Downloads · 30 days
40
4% of all-time downloads
BSVGK/gemma-1.1-2b-it-drugbank-kg2text-merged-v2
gemma-1.1-2b-it-drugbank-kg2text-merged-v2 is a text generation model from BSVGK. Use it when you need the model to write or continue text. The card lists the license as mit.
This is the full merged model of Gemma 1.1 2B IT fine-tuned with LoRA to generate fluent, hallucination-free natural language drug descriptions from pharmaceutical RDF knowledge graph triples sourced from DrugBank. It…
Downloads · 30 days
40
4% of all-time downloads
All-time downloads
994
Public
Parameters
2.5B
5 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors5 GB · 99%
From the Hugging Face model README
This is the full merged model of Gemma 1.1 2B IT fine-tuned with LoRA to generate fluent, hallucination-free natural language drug descriptions from pharmaceutical RDF knowledge graph triples sourced from DrugBank. It was developed as part of a UEL–Depixen industrial placement research project focused on building trustworthy, domain-specific SLMs.
This is the recommended model for inference — no additional adapter loading required.
For the LoRA adapter only, use: 👉 BSVGK/gemma-1.1-2b-it-drugbank-kg2text-lora-v2
| Metric | Score |
|---|---|
| BLEU Score | 0.9737 |
| BERTScore F1 | 0.9896 |
| Fact F1 | 0.9966 |
| Hallucination Rate | 0.54% |
| Test Samples | 254 unseen DrugBank entries |
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained( "BSVGK/gemma-1.1-2b-it-drugbank-kg2text-merged-v2" ) model = AutoModelForCausalLM.from_pretrained( "BSVGK/gemma-1.1-2b-it-drugbank-kg2text-merged-v2" )
prompt = """Generate a natural language description from the following RDF triples:
Triples:
Description:"""
inputs = tokenizer(prompt, return_tensors="pt") outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0], skip_special_tokens=True))
| Merged Model v2 | LoRA Adapter v2 | |
|---|---|---|
| Inference | ✅ Direct — no base model needed | ❌ Requires base model + PEFT |
| Storage | Larger (full model) | Smaller (adapter only) |
| Speed | Faster to load | Slower to load |
| Recommended for | Production inference | Research & experimentation |
This model is intended for research purposes only. It should not be used for clinical decision-making or medical advice. Always consult a qualified healthcare professional.
@misc{bubathula2026drugbank_merged, author = {Sai Venkata Gopala Krishna Bubathula}, title = {Gemma 1.1 2B IT Merged Model v2: KG-to-Text Generation for DrugBank Pharmaceutical Data}, year = {2026}, publisher = {HuggingFace}, url = {https://huggingface.co/BSVGK/gemma-1.1-2b-it-drugbank-kg2text-merged-v2}, institution = {University of East London & Depixen} }
Sai Venkata Gopala Krishna Bubathula