File size: 1,129 Bytes
6c61f12 406e6a5 6c61f12 f243d54 6c61f12 462345b f243d54 6c61f12 462345b f243d54 6c61f12 462345b d2c1e50 462345b 267f19c 462345b 56ccb38 462345b 267f19c 462345b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
---
tags:
- biogpt
- boolean-query
- biomedical
- systematic-review
- pubmed
license: unknown
model-index:
- name: BioGPT-BQF-Title-Small
results:
- task:
type: text-generation
name: Text Generation
dataset:
name: CLEF TAR
type: biomedical
metrics:
- name: Precision @100
type: precision
value: 0.1410
- name: Recall @1000
type: recall
value: 0.1825
---
# BioGPT-BQF-Title-Small
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
```python
from transformers import BioGptForCausalLM, BioGptTokenizer
model = BioGptForCausalLM.from_pretrained("AI4BSLR/BioGPT-BQF-Title-Small")
tokenizer = BioGptTokenizer.from_pretrained("AI4BSLR/BioGPT-BQF-Title-Small")
input_text = "Title: Heterogeneity in Lung Cancer, Query: "
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|