Qwen2.5-1.5B-Instruct-Titler
This model is a fine-tuned version of agentlans/Qwen2.5-1.5B-Instruct-drill on the agentlans/finewebedu-annotated dataset.
Model description
This model generates a title and a subtitle from a piece of text in XML format.
Input format:
Title:
{{YOUR_TEXT_HERE}}
Output format:
<titles>
<title>Title</title>
<subtitle>Subtitle</subtitle>
</titles>
Example
Click here for example input prompt
From Wikisource contributors. "Sophocles' King Oedipus." Wikisource . Wikisource , 13 Mar. 2025. Web. 19 Apr. 2025.
Summarize:
Oedipus. Children, descendants of old Cadmus, why do you come before me, why do you carry the branches of suppliants, while the city smokes with incense and murmurs with prayer and lamentation? I would not learn from any mouth but yours, old man, therefore I question you myself. Do you know of anything that I can do and have not done? How can I, being the man I am, being King Oedipus, do other than all I know? I were indeed hard of heart did I not pity such suppliants.
Priest. Oedipus, King of my country, you can see our ages who are before your door; some it may be too young for such a journey, and some too old, Priests of Zeus such as I, and these chosen young men; while the rest of the people crowd the market-places with their suppliant branches, for the city stumbles towards death, hardly able to raise up its head. A blight has fallen upon the fruitful blossoms of the land, a blight upon flock and field and upon the bed of marriage—plague ravages the city. Oedipus, King, not god but foremost of living men, seeing that when you first came to this town of Thebes you freed us from that harsh singer, the riddling sphinx, we beseech you, all we suppliants, to find some help. Whether you find it by your power as a man, or because, being near the gods, a god has whispered you. Uplift our State; think upon your fame; your coming brought us luck, be lucky to us still, remember that it is better to rule over men than over a waste place, since neither walled town nor ship is anything if it be empty and no man within it.
Oedipus. My unhappy children! I know well what need has brought you, what suffering you endure, yet sufferers though you be, there is not a single one whose suffering is as mine—each mourns himself, but my soul mourns the city, myself, and you. It is not therefore as if you came to arouse a sleeping man. No! Be certain that I have wept many tears and searched hither and thither for some remedy. I have already done the only thing that came in to my head for all my search. I have sent the son of Menoeceus, Creon, my own wife’s brother, to the Pythian House of Phoebus, to hear if deed or word of mine may yet deliver this town. I am troubled, for he is a long time away—a longer time than should be—but when he comes I shall not be an honest man unless I do whatever the god commands.
Priest. You have spoken at the right time. They have just signalled to us that Creon has arrived.
Oedipus. O King Apollo, may he bring brighter fortune, for his face is shining.
Priest. He brings good news, for he is crowned with bay.
Oedipus. We shall know soon. Brother-in-law, Menoeceus’ son, what news from the god?
Creon. Good news; for pain turns to pleasure when we have set the crooked straight.
Oedipus. But what is the oracle—so far the news is neither good nor bad.
Creon. If you would hear it with all these about you, I am ready to speak. Or do we go within?
Oedipus. Speak before all. The sorrow I endure is less for my own life than these.
Creon. Then, with your leave, I speak. Our lord Phoebus bids us drive out a defiling thing that has been cherished in this land.
Oedipus. By what purification?
Creon. King Laius was our king before you came to pilot us.
Oedipus. I know—but not of my own knowledge, for I never saw him.
Creon. He was killed; and the god now bids us revenge it on his murderers, whoever they be.
Oedipus. Where shall we come upon their track after all these years? Did he meet his death in house or field, at home or in some foreign land?
Creon. In a foreign land: he was journeying to Delphi.
Oedipus. Did no fellow-traveller see the deed? Was there none there who could be questioned?
Creon. All perished but one man who fled in terror and could tell for certain but one thing of all he had seen.
Oedipus. One thing might be a clue to many things.
Creon. He said that they were fallen upon by a great troop of robbers.
Oedipus. What robbers would be so daring unless bribed from here?
Creon. Such things were indeed guessed at, but Laius once dead no avenger arose. We were amid our troubles.
Oedipus. But when royalty had fallen what troubles could have hindered search?
Creon. The riddling sphinx put those dark things out of our thoughts—we thought of what had come to our own doors.
Oedipus. But I will start afresh and make the dark things plain. In doing right by Laius I protect myself, for whoever slew Laius might turn a hand against me. Come, my children, rise up from the altar steps; lift up these suppliant boughs and let all the children of Cadmus be called hither that I may search out everything and find for all happiness or misery as god wills.
Priest. May Phoebus, sender of the oracle, come with it and be our saviour and deliverer.
Output:
<titles>
<title>Oedipus Rex: Unraveling the Mysteries of Ancient Greek Tragedy</title>
<subtitle>A Study of Fate, Family, and Redemption through the Eyes of Sophocles' Masterpiece</subtitle>
</titles>
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 2
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 16
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- num_epochs: 3.0
Training results
Framework versions
- PEFT 0.15.0
- Transformers 4.49.0
- Pytorch 2.6.0+cu124
- Datasets 3.4.1
- Tokenizers 0.21.0
- Downloads last month
- 0
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
🙋
Ask for provider support
HF Inference deployability: The model has no pipeline_tag.
Model tree for agentlans/Qwen2.5-1.5B-Instruct-Titler
Base model
Qwen/Qwen2.5-1.5B
Finetuned
Qwen/Qwen2.5-1.5B-Instruct