File size: 2,982 Bytes
a4abfdb
9e63e25
 
a4abfdb
9e63e25
 
 
 
 
 
a4abfdb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9e63e25
 
a4abfdb
9e63e25
 
 
 
a4abfdb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67e8d30
 
a4abfdb
 
c259fc8
a4abfdb
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
---
language:
- uz
license: apache-2.0
size_categories:
- 100K<n<1M
task_categories:
- question-answering
- translation
pretty_name: Open Assistant Conversations Dataset Release 2 in Uzbek
dataset_info:
  features:
  - name: message_id
    dtype: string
  - name: parent_id
    dtype: string
  - name: user_id
    dtype: string
  - name: created_date
    dtype: string
  - name: text
    dtype: string
  - name: role
    dtype: string
  - name: lang
    dtype: string
  - name: review_count
    dtype: int64
  - name: review_result
    dtype: bool
  - name: deleted
    dtype: bool
  - name: rank
    dtype: float64
  - name: synthetic
    dtype: bool
  - name: model_name
    dtype: 'null'
  - name: detoxify
    struct:
    - name: identity_attack
      dtype: float64
    - name: insult
      dtype: float64
    - name: obscene
      dtype: float64
    - name: severe_toxicity
      dtype: float64
    - name: sexual_explicit
      dtype: float64
    - name: threat
      dtype: float64
    - name: toxicity
      dtype: float64
  - name: message_tree_id
    dtype: string
  - name: tree_state
    dtype: string
  - name: emojis
    struct:
    - name: count
      sequence: int64
    - name: name
      sequence: string
  - name: labels
    struct:
    - name: count
      sequence: int64
    - name: name
      sequence: string
    - name: value
      sequence: float64
  splits:
  - name: validation
    num_bytes: 5261768
    num_examples: 5123
  - name: train
    num_bytes: 128642107
    num_examples: 125181
  download_size: 43601021
  dataset_size: 133903875
configs:
- config_name: default
  data_files:
  - split: validation
    path: data/validation-*
  - split: train
    path: data/train-*
tags:
- human-feedback
---

# Open Assistant Conversations Dataset Release 2 (OASST2) in Uzbek language

This dataset is an Uzbek translated version of [OASST2](https://huggingface.co/datasets/OpenAssistant/oasst2) dataset.

Llama3 chat template + thread formatted dataset based on this translation is also available for model fine-tuning [here](https://huggingface.co/datasets/MLDataScientist/oasst2_uzbek_threads). 

The Uzbek translation was completed in 45 hours using a single T4 GPU and [nllb-200-3.3B](https://huggingface.co/facebook/nllb-200-3.3B) model.

Based on nllb metrics, you might want to only filter out records that were not originally in English or Russian since English-Uzbek and Russian-Uzbek have acceptable metrics and translation quality is noticeable better for those pairs based on my short reviews.

I am sharing the entire Uzbek translated dataset for future research.

The following repo and command was used to do the Uzbek translation.

Repo: https://github.com/UnderstandLingBV/LLaMa2lang

Command used:

```!python3 translate.py nllb --model_size 3.3B uzn_Latn output_uzbek --quant8  --base_dataset OpenAssistant/oasst2 --max_length 512 --checkpoint_n 400 --batch_size 40```

I will fine-tune LLAMA3 8B Uzbek chat model and release in HF soon.