| --- |
| license: odc-by |
| language: |
| - sr |
| - ru |
| - zh |
| - hr |
| - en |
| - bs |
| pretty_name: Kolekcija Otvorenih Međujezičkih Paralelnih Skupova za Srpski |
| size_categories: |
| - 100M<n<1B |
| configs: |
| - config_name: ru |
| data_files: |
| - split: train |
| path: |
| - '*_ru_train.jsonl' |
| - split: dev |
| path: |
| - '*_ru_dev.jsonl' |
| - split: test |
| path: |
| - '*_ru_test.jsonl' |
| - config_name: zh |
| data_files: |
| - split: train |
| path: |
| - '*_zh_train.jsonl' |
| - '*_zh_HK_train.jsonl' |
| - '*_zh_CN_train.jsonl' |
| - '*_zh_TW_train.jsonl' |
| - split: dev |
| path: |
| - '*_zh_dev.jsonl' |
| - split: test |
| path: |
| - '*_zh_test.jsonl' |
| - config_name: en |
| data_files: |
| - split: train |
| path: |
| - '*_en_train.jsonl' |
| - split: dev |
| path: |
| - '*_en_dev.jsonl' |
| - split: test |
| path: |
| - '*_en_test.jsonl' |
| - config_name: hr |
| data_files: |
| - split: train |
| path: |
| - '*_hr_train.jsonl' |
| - split: dev |
| path: |
| - '*_hr_dev.jsonl' |
| - split: test |
| path: |
| - '*_hr_test.jsonl' |
| - config_name: bs |
| data_files: |
| - split: train |
| path: |
| - '*_bs_train.jsonl' |
| - split: dev |
| path: |
| - '*_bs_dev.jsonl' |
| - split: test |
| path: |
| - '*_bs_test.jsonl' |
| task_categories: |
| - translation |
| --- |
| |
| <img src="cover.svg" class="cover"> |
|
|
| <table style="width:100%;height:100%;font-size: 14pt;"> |
| <tr style="width:100%;height:30px"> |
| <td width="50%"> |
| <h1><span class="highlight-container"><span class="highlight">КОМПаС</span></span> - Колекција Отворених Међујезичких Паралелних Скупова за Српски</h1> |
| </td> |
| <td width="50%"> |
| <h1><span class="highlight-container"><span class="highlight">COMPaSS</span></span> - Collection of Open Multilingual Parallel Sets for Serbian</h1> |
| </td> |
| </tr> |
| |
| <!-- Descriptions --> |
| <tr style="width:100%;vertical-align:top"> |
| <!-- Serbian --> |
| <td width="50%"> |
| <!--h2>Српски</h2--> |
| <p>Отворена колекција паралелних корпуса за српски језик преузета из колекције <a href="https://opus.nlpl.eu/">ОПУС</a>.</p> |
| <p>Сви парови реченица су дедуплицирани и додатно текстуално кориговани.</p> |
| <p>Развојни и тест скупови су упарени са Helsinki-NLP/OpenSubtitles2024 и погодни за обучавање и евалуацију модела за машинско превођење.</p> |
| </td> |
| <!-- Russian --> |
| <td width="50%"> |
| <!--h2>Русский</h2--> |
| <p>Открытая коллекция параллельных корпусов для сербского языка, взятая из коллекции <a href="https://opus.nlpl.eu/">ОПУС</a>.</p> |
| <p>Все пары предложений прошли дедупликацию и дополнительную текстовую коррекцию.</p> |
| <p>Наборы для разработки и тестирования сопряжены с Helsinki-NLP/OpenSubtitles2024 и подходят для обучения и оценки моделей машинного перевода.</p> |
| </td> |
| </tr> |
| <tr style="width:100%;vertical-align:top"> |
| <!-- Chinese --> |
| <td width="50%"> |
| <!--h2>中文</h2--> |
| <p>来自 <a href="https://opus.nlpl.eu/">OPUS</a> 集合的塞尔维亚语开放平行语料库。</p> |
| <p>所有句对均已去重并经过文本修复与更正。</p> |
| <p>开发集和测试集与 Helsinki-NLP/OpenSubtitles2024 对齐,适用于机器翻译模型的训练和评估。</p> |
| </td> |
| <!-- English / Croatian --> |
| <td width="50%"> |
| <!--h2>English</h2--> |
| <p>Open collection of parallel corpora for Serbian extracted from <a href="https://opus.nlpl.eu/">OPUS</a>.</p> |
| <p>All sentence pairs are deduplicated and refined with additional text fixes.</p> |
| <p>Dev and test sets are aligned with Helsinki-NLP/OpenSubtitles2024, suitable for training and evaluating machine translation models.</p> |
| </td> |
| </tr> |
| |
| <!-- Corpus Size Table --> |
| <tr style="width:100%;vertical-align:top"> |
| <td colspan="4" align="center"> |
| <br> |
| <h3>Статистика корпуса / Corpus Statistics</h3> |
| <table border="1" cellpadding="8" cellspacing="0" style="border-collapse:collapse; width:95%; text-align:right;"> |
| <thead> |
| <tr style="font-weight:800; text-align:center;"> |
| <th style="text-align:left;">Језички пар / Language Pair</th> |
| <th>Total Pairs (Raw)</th> |
| <th>Duplicates Dropped</th> |
| <th>Train Pairs</th> |
| <th>Dev Pairs</th> |
| <th>Test Pairs</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td style="text-align:left;">🇷🇸 <strong>Српско – Руски (sr–ru)</strong> 🇷🇺</td> |
| <td>42,400,713</td> |
| <td>5,505,001</td> |
| <td>36,618,397</td> |
| <td>273,613</td> |
| <td>3,702</td> |
| </tr> |
| <tr> |
| <td style="text-align:left;">🇷🇸 <strong>Српско – Кинески (sr–zh)</strong> 🇨🇳</td> |
| <td>14,056,019</td> |
| <td>1,347,365</td> |
| <td>12,440,229</td> |
| <td>261,241</td> |
| <td>7,184</td> |
| </tr> |
| <tr> |
| <td style="text-align:left;">🇷🇸 <strong>Српско – Енглески (sr–en)</strong> 🇬🇧</td> |
| <td>105,112,658</td> |
| <td>20,494,934</td> |
| <td>84,124,056</td> |
| <td>490,696</td> |
| <td>2,972</td> |
| </tr> |
| <tr> |
| <td style="text-align:left;">🇷🇸 <strong>Српско – Хрватски (sr–hr)</strong> 🇭🇷</td> |
| <td>43,429,602</td> |
| <td>10,111,780</td> |
| <td>33,006,774</td> |
| <td>306,421</td> |
| <td>4,627</td> |
| </tr> |
| <tr> |
| <td style="text-align:left;">🇷🇸 <strong>Српско – Босански (sr–bs)</strong> 🇧🇦</td> |
| <td>14,542,762</td> |
| <td>3,489,701</td> |
| <td>10,992,591</td> |
| <td>54,238</td> |
| <td>6,202</td> |
| </tr> |
| </tbody> |
| </table> |
| </td> |
| </tr> |
| </table> |
| |
|
|
| ```python |
| from datasets import load_dataset |
| serbian_russian = load_dataset("procesaur/KOMPaS", "ru") |
| serbian_chinese = load_dataset("procesaur/KOMPaS", "zh") |
| serbian_english = load_dataset("procesaur/KOMPaS", "en") |
| serbian_croatian = load_dataset("procesaur/KOMPaS", "hr") |
| |
| ``` |
|
|
|
|
| <div class="inline-flex flex-col avatar-cont"> |
| <div class="avatar-title">Editor</div> |
| <a href="https://huggingface.co/procesaur"> |
| <div class="flex"> |
| <div class="avatar-cover" |
| style="background-image: url(https://cdn-uploads.huggingface.co/production/uploads/1673534533167-63bc254fb8c61b8aa496a39b.jpeg?w=200&h=200&f=face&)"> |
| </div> |
| </div> |
| <div class="avatar-name">Mihailo Škorić</div> |
| <div class="avatar-handle">@procesaur</div> |
| </a> |
| </div> |
| </div> |
| |
| <div class="inline-flex flex-col avatar-cont"> |
| <div class="avatar-title">Data</div> |
| <a href="https://opus.nlpl.eu/"> |
| <div class="flex"> |
| <div class="avatar-cover" |
| style="background-image: url(https://raw.githubusercontent.com/Helsinki-NLP/OPUS/main/img/opus_small.jpg)"> |
| </div> |
| </div> |
| <div class="avatar-name">The Open Parallel Corpus</div> |
| <div class="avatar-handle">@OPUS</div> |
| </a> |
| </div> |
| </div> |
| <div class="inline-flex flex-col avatar-cont"> |
| <div class="avatar-title">Data</div> |
| <a href="https://macocu.eu/"> |
| <div class="flex"> |
| <div class="avatar-cover" |
| style="background-image: url(https://cdn-avatars.huggingface.co/v1/production/uploads/1665565700323-615ea405065f806bfd471f0c.png)"> |
| </div> |
| </div> |
| <div class="avatar-name">MaCoCu</div> |
| <div class="avatar-handle">@MaCoCu</div> |
| </a> |
| </div> |
| </div> |
| |
| <div class="inline-flex flex-col avatar-cont"> |
| <div class="avatar-title">Funding</div> |
| <a href="https://www.inovacionifond.rs"> |
| <div class="flex"> |
| <div class="avatar-cover" |
| style="background-image: url(https://www.inovacionifond.rs/public/images/fid-logo-rs-cir.svg)"> |
| </div> |
| </div> |
| <div class="avatar-name">Fond za inovacionu delatnost</div> |
| <div class="avatar-handle">@SrbInnov</div> |
| </a> |
| </div> |
| </div> |
| <div class="inline-flex flex-col avatar-cont"> |
| <div class="avatar-title">Funding</div> |
| <a href="https://it-creator.rs"> |
| <div class="flex"> |
| <div class="avatar-cover" |
| style="background-image: url(https://it-creator.rs/assets/img/logo.png)"> |
| </div> |
| </div> |
| <div class="avatar-name">IT Creator</div> |
| <div class="avatar-handle">it-creator.rs</div> |
| </a> |
| </div> |
| </div> |
| |
| |
| Citation: |
| ```bibtex |
| uskoro |
| ``` |
| |
| <table style="width:100%;height:100%"> |
| <tr style="width:100%;height:100%"> |
| <td width=50%> |
| <p><p>Истраживање jе спроведено уз подршку Фода за иновациону делатност Републике Србије у оквиру програма GOVTECH, решење #55417, ПравДок</p></p> |
| </td> |
| <td> |
| <p>The research was conducted with the support of The Republic of Serbia Innovation Fund within the GOVTECH program, solution #55417, PravDok</p> |
| </td> |
| </tr> |
| </table> |
| |
| <div id="zastava"> |
| <div class="grb"> |
| <img src="https://www.ai.gov.rs/img/logo_60x120-2.png" style="position:relative; left:30px; z-index:10; height:85px"> |
| </div> |
| <table width=100% style="border:0px"> |
| <tr style="background-color:#C6363C;width:100%;border:0px;height:30px"><td style="width:100vw"></td></tr> |
| <tr style="background-color:#0C4076;width:100%;border:0px;height:30px"><td></td></tr> |
| <tr style="background-color:#ffffff;width:100%;border:0px;height:30px"><td></td></tr> |
| </table> |
| |
| </div> |
| |
|
|
|
|
|
|
| <style> |
| .ffeat: { |
| color:red |
| } |
| |
| .cover { |
| width: 100%; |
| margin-bottom: 5pt |
| } |
| |
| .highlight-container, .highlight { |
| position: relative; |
| text-decoration:none |
| } |
| |
| .highlight-container { |
| display: inline-block; |
| } |
|
|
| .avatar-cont { |
| line-height: 1.5; |
| padding-right:50px; |
| } |
|
|
| .avatar-title{ |
| text-align: center; |
| margin-top: 3px; |
| font-size: 16px; |
| font-weight: 800; |
| } |
|
|
| .avatar-name{ |
| text-align: center; |
| font-size: 16px; |
| font-weight: 800; |
| } |
|
|
| .avatar-handle{ |
| text-align: center; |
| font-size: 14px; |
| } |
|
|
| .avatar-cover{ |
| display:DISPLAY_1; |
| margin-left: auto; |
| margin-right: auto; |
| width: 92px; |
| height:92px; |
| border-radius: 50%; |
| background-position: center; |
| background-size: contain; |
| background-repeat: no-repeat; |
| } |
| |
| .highlight{ |
| color:white; |
| text-transform:uppercase; |
| font-size: 16pt; |
| } |
| |
| .highlight-container{ |
| padding:5px 10px |
| } |
| |
| .highlight-container:before { |
| content: " "; |
| display: block; |
| height: 100%; |
| width: 100%; |
| margin-left: 0px; |
| margin-right: 0px; |
| position: absolute; |
| background: #e80909; |
| transform: rotate(2deg); |
| top: -1px; |
| left: -1px; |
| border-radius: 20% 25% 20% 24%; |
| padding: 10px 18px 18px 10px; |
| } |
| |
| div.grb, #zastava>table { |
| position:absolute; |
| top:0px; |
| left: 0px; |
| margin:0px |
| } |
| |
| div.grb>img, #zastava>table{ |
| margin:0px |
| } |
| |
| #zastava { |
| position: relative; |
| margin-bottom:120px |
| } |
| |
| p { |
| font-size:14pt |
| } |
| </style> |