File size: 2,159 Bytes
c425e48
 
d1e6810
 
 
 
 
 
 
 
 
 
 
 
 
 
8520c65
 
 
 
 
 
 
 
 
 
 
 
 
 
d1e6810
c425e48
 
 
 
 
a136431
d67307a
c425e48
 
18cb25e
6c7bbab
18cb25e
 
c425e48
 
 
 
 
8520c65
 
 
 
d1e6810
 
 
 
f585fdf
 
 
958293c
f585fdf
 
592f787
 
 
 
 
 
958293c
592f787
958293c
 
592f787
 
 
 
958293c
 
 
 
592f787
 
958293c
4c07550
 
958293c
 
 
 
592f787
 
 
 
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
---
dataset_info:
- config_name: default
  features:
  - name: instruction
    dtype: string
  - name: output
    dtype: string
  - name: input
    dtype: string
  splits:
  - name: train
    num_bytes: 8250
    num_examples: 84
  download_size: 4284
  dataset_size: 8250
- config_name: en
  features:
  - name: instruction
    dtype: string
  - name: output
    dtype: string
  - name: input
    dtype: string
  splits:
  - name: train
    num_bytes: 8250
    num_examples: 84
  download_size: 4284
  dataset_size: 8250
- config_name: ko
  features:
  - name: instruction
    dtype: string
  - name: output
    dtype: string
  - name: input
    dtype: string
  splits:
  - name: train
    num_bytes: 10566
    num_examples: 84
  download_size: 4606
  dataset_size: 10566
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
- config_name: en
  data_files:
  - split: train
    path: en/train-*
- config_name: ko
  data_files:
  - split: train
    path: ko/train-*
license: mit
language:
- en
- ko
tags:
- identity
---

# Example
```python
from datasets import load_dataset

# Default Dataset (English)
ds = load_dataset("sts07142/llm-name-identity", split="train")
# Specific Language Dataset (en|ko)
# ds = load_dataset("sts07142/llm-name-identity", split="train", name="ko")

my_model_name = "my_model_name"
my_team_name = "my_team_name"

my_ds = ds.map(lambda x: {"output": x["output"].replace("{{model_name}}", my_model_name).replace("{{team_name}}", my_team_name

print(ds[32])
print(my_ds[32])
```
```python
# English
{'instruction': 'Could you tell me your name?', 'output': 'I am {{model_name}} from {{team_name}}.', 'input': ''}
{'instruction': 'Could you tell me your name?', 'output': 'I am my_model_name from my_team_name.', 'input': ''}
# Korean
{'instruction': '이름을 말씀해 주시겠어요?', 'output': '저는 {{team_name}}에서 온 {{model_name}}입니다.', 'input': ''}
{'instruction': '이름을 말씀해 주시겠어요?', 'output': '저는 my_team_name에서 온 my_model_name입니다.', 'input': ''}

```

# Purpose
Train Dataset for assigning a custom model name and team identity to the AI.