BioGPT-BQF-TMK-Large

Fine-tuned BioGPT for Biomedical Boolean Query Formalization using Titles only.

Model Details

  • Base Model: BioGPT
  • Fine-tuned on: Semi-synthetic generated data
  • Task: Boolean Query Generation for PubMed searches

How to Use

from transformers import BioGptForCausalLM, BioGptTokenizer

model = BioGptForCausalLM.from_pretrained("AI4BSLR/BioGPT-BQF-TMK-Large")
tokenizer = BioGptTokenizer.from_pretrained("AI4BSLR/BioGPT-BQF-TMK-Large")

input_text = "Title: Heterogeneity in Lung Cancer, MeSH: Biomarkers, Tumor, Genetic Heterogeneity, Keywords: Biomarkers, Query: "
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Downloads last month
3
Safetensors
Model size
347M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Evaluation results