Download templates.json from SaarAI/mlg-post-training: direct link, hf CLI and curl.
- Browser
- Download file 7.32 kB
-
https://huggingface.co/datasets/SaarAI/mlg-post-training/resolve/main/templates.json
- Command line
-
hf download hf://datasets/SaarAI/mlg-post-training/templates.json
-
curl -L -o templates.json https://huggingface.co/datasets/SaarAI/mlg-post-training/resolve/main/templates.json
7.32 kB
| { | |
| "translation_en_mlg": { | |
| "mlg": [ | |
| "Adikao amin'ny teny malagasy ity lahatsoratra anglisy manaraka ity.", | |
| "Dikao amin'ny teny malagasy ity lahatsoratra amin'ny teny anglisy ity.", | |
| "Omeo ny dikan-teny malagasy amin'ity lahatsoratra anglisy ity.", | |
| "Adikao amin'ny teny malagasy:", | |
| "Azafady, adikao ho teny malagasy ity andalan-teny anglisy ity.", | |
| "Avadiho ho teny malagasy ity lahatsoratra anglisy ity." | |
| ], | |
| "en": [ | |
| "Translate the following text from English to Malagasy.", | |
| "Translate this English text into Malagasy.", | |
| "Provide a Malagasy translation of the text below.", | |
| "Convert the following English text to Malagasy:", | |
| "Please render this passage in Malagasy.", | |
| "English to Malagasy translation:" | |
| ] | |
| }, | |
| "translation_mlg_en": { | |
| "mlg": [ | |
| "Adikao amin'ny teny anglisy ity lahatsoratra malagasy manaraka ity.", | |
| "Dikao amin'ny teny anglisy ity lahatsoratra amin'ny teny malagasy ity.", | |
| "Omeo ny dikan-teny anglisy amin'ity lahatsoratra malagasy ity.", | |
| "Adikao amin'ny teny anglisy:", | |
| "Azafady, adikao ho teny anglisy ity andalan-teny malagasy ity.", | |
| "Avadiho ho teny anglisy ity lahatsoratra malagasy ity." | |
| ], | |
| "en": [ | |
| "Translate the following text from Malagasy to English.", | |
| "Translate this Malagasy text into English.", | |
| "Provide an English translation of the text below.", | |
| "Convert the following Malagasy text to English:", | |
| "Please render this passage in English.", | |
| "Malagasy to English translation:" | |
| ] | |
| }, | |
| "topic_classification": { | |
| "mlg": [ | |
| "Sokajio ity lahatsoratra ity ho lohahevitra iray amin'ireto: {labels}. Ny anaran'ny lohahevitra ihany no valiny.", | |
| "Inona no lohahevitr'ity lahatsoratra ity? Misafidiana iray amin'ireto: {labels}.", | |
| "Amin'ny sokajy inona no ahitana ity lahatsoratra ity? Safidy: {labels}.", | |
| "Omeo ny sokajin'ity lahatsoratra ity, iray amin'ireto: {labels}." | |
| ], | |
| "en": [ | |
| "Classify this Malagasy sentence into one of the following topics: {labels}. Answer with the topic only.", | |
| "What is the topic of this text? Choose one of: {labels}.", | |
| "Which category does the text belong to? Options: {labels}.", | |
| "Assign the text to exactly one of these categories: {labels}." | |
| ] | |
| }, | |
| "sentiment_classification": { | |
| "mlg": [ | |
| "Inona no fihetseham-po aseho amin'ity fehezanteny ity? Misafidiana iray amin'ireto: {labels}. Ny marika ihany no valiny.", | |
| "Sokajio ity fehezanteny avy amin'ny vaovao ity, iray amin'ireto: {labels}.", | |
| "Tsara sa ratsy ny hevitra ampitain'ity fehezanteny ity? Safidy: {labels}.", | |
| "Omeo ny fihetseham-po (sentiment) amin'ity lahatsoratra ity. Safidy: {labels}." | |
| ], | |
| "en": [ | |
| "Classify the sentiment of this Malagasy news sentence as one of: {labels}. Answer with the label only.", | |
| "What is the sentiment of the following sentence? Choose one of: {labels}.", | |
| "Is the sentence below positive or negative? Options: {labels}.", | |
| "Label the sentiment of this text with one of: {labels}." | |
| ] | |
| }, | |
| "pos_tagging": { | |
| "mlg": [ | |
| "Omeo ny marika UPOS (karazan-teny) isaky ny teny ao amin'ity fehezanteny ity. Valio amin'ny endrika teny/MARIKA, misaraka amin'ny elanelana.", | |
| "Soraty ny karazan-teny (UPOS) an'ny teny tsirairay ao amin'ity fehezanteny ity, amin'ny endrika teny/MARIKA.", | |
| "Ataovy ny famakafakana karazan-teny (POS tagging) amin'ity fehezanteny ity. Ampiasao ny endrika teny/MARIKA.", | |
| "Apetraho ao amin'ny sokajiny (NOUN, VERB, ADJ, ...) ny teny tsirairay amin'ity fehezanteny ity. Soraty teny/MARIKA." | |
| ], | |
| "en": [ | |
| "Assign a universal part-of-speech (UPOS) tag to every word of this Malagasy sentence. Answer in the format word/TAG separated by spaces.", | |
| "Tag each word in the sentence with its UPOS part of speech, using the format word/TAG.", | |
| "Perform part-of-speech tagging on the following Malagasy sentence. Output word/TAG pairs separated by spaces.", | |
| "Give the UPOS tag of each token (word/TAG)." | |
| ] | |
| }, | |
| "named_entity_recognition": { | |
| "mlg": [ | |
| "Tadiavo ny anaran'olona (PER), toerana (LOC) ary fikambanana (ORG) ao amin'ity fehezanteny ity. Soraty tsirairay isaky ny andalana amin'ny endrika KARAZANA: anarana. Raha tsy misy dia valio hoe \"Tsy misy\".", | |
| "Ataovy ny famantarana ireo anarana manokana (PER, LOC, ORG) ao amin'ity lahatsoratra ity. Endrika: KARAZANA: anarana, iray isaky ny andalana, na \"Tsy misy\"." | |
| ], | |
| "en": [ | |
| "Extract the named entities (PER, LOC, ORG) from this Malagasy sentence. List one entity per line as TYPE: name. If there are none, answer \"None\".", | |
| "Find all person (PER), location (LOC) and organization (ORG) names in the text. Format: TYPE: name, one per line. Answer \"None\" if there are no entities.", | |
| "Perform named entity recognition on the sentence. List each entity as TYPE: name on its own line, or \"None\"." | |
| ] | |
| }, | |
| "article_generation": { | |
| "mlg": [ | |
| "Manorata lahatsoratra amin'ny antsipiriany mitondra ny lohateny hoe «{title}».", | |
| "Manorata lahatsoratra Wikipedia momba ny lohahevitra hoe «{title}».", | |
| "Hazavao amin'ny antsipiriany ity lohahevitra manaraka ity: {title}", | |
| "Omeo lahatsoratra manazava momba ny «{title}»." | |
| ], | |
| "en": [ | |
| "Write a detailed encyclopedia-style article in Malagasy titled \"{title}\".", | |
| "Write a Malagasy Wikipedia article about: {title}", | |
| "Give a thorough explanation in Malagasy of the following topic: {title}", | |
| "Produce a Malagasy text about \"{title}\"." | |
| ] | |
| }, | |
| "title_generation": { | |
| "mlg": [ | |
| "Omeo lohateny mety amin'ity lahatsoratra ity.", | |
| "Inona no lohateny tsara ho an'ity lahatsoratra ity? Ny lohateny ihany no valiny.", | |
| "Manorata lohateny fohy mifanaraka amin'ity lahatsoratra ity.", | |
| "Atolory lohateny ity andalan-teny ity." | |
| ], | |
| "en": [ | |
| "Give a suitable title for the following Malagasy text.", | |
| "What would be a good title for this article? Answer with the title only.", | |
| "Write a short title that fits this text.", | |
| "Suggest a headline for the passage below." | |
| ] | |
| }, | |
| "text_continuation": { | |
| "mlg": [ | |
| "Tohizo ity lahatsoratra ity.", | |
| "Fenoy ity lahatsoratra ity, tohizo amin'izay nijanonany.", | |
| "Soraty ny tohin'ity lahatsoratra manaraka ity.", | |
| "Ampio ity lahatsoratra ity amin'ny fanohizana azy." | |
| ], | |
| "en": [ | |
| "Continue the following Malagasy text.", | |
| "Complete the text below by writing what comes next.", | |
| "Extend this passage in Malagasy, continuing from where it stops.", | |
| "Write the continuation of the following text." | |
| ] | |
| }, | |
| "poem_generation": { | |
| "mlg": [ | |
| "Mamorona tononkalo malagasy mitondra ny lohateny hoe «{title}».", | |
| "Manorata tononkalo amin'ny teny malagasy ny amin'ny «{title}».", | |
| "Soraty ny tononkalo iray mitondra ny lohateny «{title}»." | |
| ], | |
| "en": [ | |
| "Write a Malagasy poem titled \"{title}\".", | |
| "Compose a poem in Malagasy with the title \"{title}\".", | |
| "Write a Malagasy tononkalo (poem) called \"{title}\"." | |
| ] | |
| }, | |
| "labels": { | |
| "sib200": { | |
| "mlg": { | |
| "entertainment": "fialamboly", | |
| "geography": "jeografia", | |
| "health": "fahasalamana", | |
| "politics": "politika", | |
| "science/technology": "siansa sy teknolojia", | |
| "sports": "fanatanjahantena", | |
| "travel": "fizahantany" | |
| } | |
| }, | |
| "sentiment": { | |
| "en": { | |
| "positive": "positive", | |
| "negative": "negative" | |
| }, | |
| "mlg": { | |
| "positive": "tsara", | |
| "negative": "ratsy" | |
| } | |
| } | |
| } | |
| } |