Update README.md
Browse files
README.md
CHANGED
|
@@ -16,36 +16,33 @@ configs:
|
|
| 16 |
|
| 17 |
<!--img src="cover.png" class="cover"-->
|
| 18 |
|
| 19 |
-
|
| 20 |
This dataset provides a large Serbian text corpus designed for training and evaluating of tokenizers for Serbian language models.
|
| 21 |
It combines multiple sources of Serbian text in both Cyrillic and Latin scripts, unified into a consistent JSONL format with id and text fields.
|
| 22 |
|
| 23 |
-
|
| 24 |
-
```python
|
| 25 |
-
from datasets import load_dataset
|
| 26 |
-
dataset = load_dataset("procesaur/cirilica")
|
| 27 |
-
cirlicni_tekstovi = [record["text_cyr"] for record in dataset]
|
| 28 |
-
latinicni_tekstovi = [record["text_lat"] for record in dataset]
|
| 29 |
-
```
|
| 30 |
-
|
| 31 |
## Dataset Structure
|
| 32 |
Metadata has been stripped; Each record is a JSON object with:
|
| 33 |
|
| 34 |
- id: unique identifier
|
| 35 |
- text: raw Serbian text
|
| 36 |
|
| 37 |
-
Splits:
|
| 38 |
-
- train.jsonl (75%)
|
| 39 |
-
- test.jsonl (25%)
|
| 40 |
-
|
| 41 |
## Source coprora
|
| 42 |
|
| 43 |
-
- [Znanje corpus](https://huggingface.co/datasets/procesaur/znanje): ~6.6 GB with 700 million words
|
| 44 |
- [WikiViki(sr) corpus](https://huggingface.co/datasets/procesaur/WikiViki): ~1.5 GB with 135 million words
|
| 45 |
- [PDRS web corpus](http://hdl.handle.net/11356/1752): ~3.2 GB with 500 million words
|
| 46 |
|
| 47 |
total 11.3 GB with 1.3 billion words
|
| 48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
<div class="inline-flex flex-col" style="line-height: 1.5;padding-right:50px">
|
| 50 |
<div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Editor</div>
|
| 51 |
<a href="https://huggingface.co/procesaur">
|
|
|
|
| 16 |
|
| 17 |
<!--img src="cover.png" class="cover"-->
|
| 18 |
|
| 19 |
+
# Sr Tokenizer test
|
| 20 |
This dataset provides a large Serbian text corpus designed for training and evaluating of tokenizers for Serbian language models.
|
| 21 |
It combines multiple sources of Serbian text in both Cyrillic and Latin scripts, unified into a consistent JSONL format with id and text fields.
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
## Dataset Structure
|
| 24 |
Metadata has been stripped; Each record is a JSON object with:
|
| 25 |
|
| 26 |
- id: unique identifier
|
| 27 |
- text: raw Serbian text
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
## Source coprora
|
| 30 |
|
| 31 |
+
- [Znanje(sr) corpus](https://huggingface.co/datasets/procesaur/znanje): ~6.6 GB with 700 million words
|
| 32 |
- [WikiViki(sr) corpus](https://huggingface.co/datasets/procesaur/WikiViki): ~1.5 GB with 135 million words
|
| 33 |
- [PDRS web corpus](http://hdl.handle.net/11356/1752): ~3.2 GB with 500 million words
|
| 34 |
|
| 35 |
total 11.3 GB with 1.3 billion words
|
| 36 |
|
| 37 |
+
#### Splits:
|
| 38 |
+
- train.jsonl (75%)
|
| 39 |
+
- test.jsonl (25%)
|
| 40 |
+
|
| 41 |
+
```python
|
| 42 |
+
from datasets import load_dataset
|
| 43 |
+
dataset = load_dataset("procesaur/sr-tokenizer-test", split="train")
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
<div class="inline-flex flex-col" style="line-height: 1.5;padding-right:50px">
|
| 47 |
<div style="text-align: center; margin-top: 3px; font-size: 16px; font-weight: 800">Editor</div>
|
| 48 |
<a href="https://huggingface.co/procesaur">
|