Views
No views yet
Update 13'th July 2025: Added video review on youtube
Qwen/Qwen2.5-0.5B-Instruct on MultiClinSum training data and rationale composed for them.
Results obtained by this model were used to form submission for BioASQ-2025 Workshop / CLEF 2025.
Qwen/Qwen2.5-72B-Instruct first for infering rationale for the training data (read further for greater detail).en, fr, pt, estransformers pipelines API.huggingface_qwen.py: https://github.com/nicolay-r/nlp-thirdgate/blob/9e46629792e9a53871710884f7b9e2fe42666aa7/llm/transformers_qwen2.py1from bulk_chain.api import iter_content
2from bulk_chain.core.utils import dynamic_init
3
4content_it = iter_content(
5 schema={"schema": [
6 {"prompt": "Summarize: {input}", "out": "summary"}]
7 },
8 llm=dynamic_init(
9 class_filepath="huggingface_qwen.py",
10 class_name="Qwen2")(
11 api_token="YOUR_HF_API_KEY_GOES_HERE",
12 model_name="nicolay-r/qwen25-05b-multiclinsum-distil",
13 temp=0.1,
14 use_bf16=True,
15 max_new_tokens=args.max_tokens,
16 device=args.device
17 ),
18 infer_mode="batch",
19 batch_size=4,
20 return_mode="record",
21 # INPUT TEXTS:
22 input_dicts_it=[
23 {"input": "A patient 62 years old with ..."}
24 ],
25)
26
27for record in content_it:
28 # here is the result dictionary that includes summary.
29 print(record["summary"])rationale for summaries distillation.Qwen/Qwen2.5-72B-Instruct for infering rationale via the following script:open-router provider as remote API: https://openrouter.ai/qwen/qwen-2.5-72b-instructMultiClinSum dataset for fine-tuning at GoogleColab A100 (40GB VRAM) + 80GB RAM:fine-tuning pre-processing:3 epochs takes around ~1 hour using the GoogleColab A100.en, fr, pt, esrouge score.distil and standard versions to showcase results variation among multiple runs.Figure: the obtained results for this model correspond to thedistilversion 🟢

TO BE ADDED