How to fine tune large language models found on hugging face, for an Arabic corpus o…
- User
How to fine tune large language models found on hugging face, for an Arabic corpus o Arabic poetry.
This Arabic corpus consists fo a list of poems, each poem contsists of verses, each verse conists of two parts.
For example: Poem A
Verse 1: Part 1 [On Average 4-6 words] Part 2 [On Average 4-6 words]
Verse 2: Part 1 [On Average 4-6 words] Part 2 [On Average 4-6 words]
Verse 3: Part 1 [On Average 4-6 words] Part 2 [On Average 4-6 words]
Verse n: Part 1 [On Average 4-6 words] Part 2 [On Average 4-6 words] etc
The ideal application of such model would be to give the model a word or two, and it writes a verse.
For example; give the word الصباح which means in Arabic (Morning); and it gives a verse, that's metered and rhyme according to Arabic prosody, so it'll give the 2 parts of the verse, according to Arabic prosody it learned from the datast/corpus.
Write me a strategy in order to achieve the above objective.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.