Downloads · 30 days
9
16% of all-time downloads
yaser-j/qwen2.5-3b-syn-adapter
qwen2.5-3b-syn-adapter is a text generation model from yaser-j. Use it when you need the model to write or continue text. It is set up for peft.
A LoRA made for the ORKG Ask synthesis usecase. It expects a research question, and a list of five (5) abstracts!
Downloads · 30 days
9
16% of all-time downloads
All-time downloads
55
Public
Repo size
318 MB
Likes
0
Public
Click a slice to open those files.
.safetensors120 MB · 88%
From the Hugging Face model README
A LoRA made for the ORKG Ask synthesis usecase. It expects a research question, and a list of five (5) abstracts!
The model also supports 13 languages and 4 diffierent language tones.
Finetuned using unsloth with a dataset created using larger LLMs like GPT-4o.
Languages supported are:
Language tones supported:
The language tones are described as follows:
Child (10–11 years old):
Teenager:
Adult:
Researcher:
The system prompt of the model is:
Generate a comprehensive answer to the given research question (but no more than three/four sentences)
solely based on the content provided.
Cite the number of the content referenced for each claim like this:
[1] for a single reference or [2][3] for multiple references.
Generate the synthesis in the "{language}" language, and phrase the complexity of the text to be suitable for a/an {level}.
The user prompt should look like this:
# Research Question: {{ question }}
# Abstracts:
Abstract #1:
Title Here
Abstract text here
Abstract #2:
Title Here
Abstract text here
Abstract #3:
Title Here
Abstract text here
Abstract #4:
Title Here
Abstract text here
Abstract #5:
Title Here
Abstract text here
# Answer with inline-citations:
The model should be used in chat mode or use the chat template (check tokenizer) and feed it to a normal generation endpoint.
r=16
target_modules=["q_proj", "k_proj", "v_proj", "o_proj","gate_proj", "up_proj", "down_proj"]
lora_alpha=32
lora_dropout=0
seed=42
per_device_train_batch_size=16
gradient_accumulation_steps=8
warmup_steps=5
num_train_epochs=3
learning_rate=2e-4
bf16=True
optim="adamw_torch_fused"
weight_decay=0.01
lr_scheduler_type="linear"
seed=42
Trained on responses only!!
ORKG Ask Team - [email protected]