Upload folder using huggingface_hub
Browse files- README.md +60 -0
- config.json +32 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +86 -0
- tokenizer.json +0 -0
- tokenizer_config.json +502 -0
README.md
CHANGED
@@ -3,3 +3,63 @@ license: other
|
|
3 |
license_name: hyperclovax-seed
|
4 |
license_link: LICENSE
|
5 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
license_name: hyperclovax-seed
|
4 |
license_link: LICENSE
|
5 |
---
|
6 |
+
|
7 |
+
## Overview
|
8 |
+
|
9 |
+
HyperCLOVAX-SEED-Text-Instruct-0.5B is a Text-to-Text model with instruction-following capabilities that excels in understanding Korean language and culture. Compared to external competitors of similar scale, it demonstrates improved mathematical performance and a substantial enhancement in Korean language capability. The HyperCLOVAX-SEED-Text-Instruct-0.5B is currently the smallest model released by the HyperCLOVAX, representing a lightweight solution suitable for deployment in resource‑constrained environments such as edge devices. It supports a maximum context length of 4K and functions as a versatile small model applicable to a wide range of tasks. The total cost of a single training run for HyperCLOVAX-SEED-Text-Instruct-0.5B was 4.358K A100 GPU hours (approximately USD 6.537K), which is 39 times lower than the cost of training the `QWEN2.5‑0.5B‑instruct` model.
|
10 |
+
|
11 |
+
|
12 |
+
## Basic Information
|
13 |
+
|
14 |
+
- **Architecture**: Transformer‑based (Dense Model)
|
15 |
+
- **Parameters**: 0.57 B (total); 0.45 B (excluding token embeddings, tied embeddings)
|
16 |
+
- **Input/Output Format**: Text / Text
|
17 |
+
- **Maximum Context Length**: 4 K tokens
|
18 |
+
- **Knowledge Cutoff Date**: Trained on data up to January 2025
|
19 |
+
|
20 |
+
|
21 |
+
## Training and Data
|
22 |
+
|
23 |
+
The training dataset for HyperCLOVAX-SEED-Text-Instruct-0.5B consists of diverse sources, including the high‑quality data accumulated during the development of HyperCLOVAX-SEED-Text-Instruct-0.5B. Training was conducted in three main stages:
|
24 |
+
1. **Pretraining**: Knowledge acquisition using high‑quality data and a high‑performance pretrained model.
|
25 |
+
2. **Rejection Sampling Fine‑Tuning (RFT)**: Enhancement of multi‑domain knowledge and complex reasoning capabilities.
|
26 |
+
3. **Supervised Fine‑Tuning (SFT)**: Improvement of instruction‑following proficiency.
|
27 |
+
|
28 |
+
|
29 |
+
## Training Cost
|
30 |
+
|
31 |
+
HyperCLOVAX-SEED-Text-Instruct-0.5B leveraged HyperCLOVA X’s lightweight training process and high‑quality data to achieve significantly lower training costs compared to industry‑leading competitors of similar scale. Excluding the SFT stage, a single pretraining run incurred:
|
32 |
+
|
33 |
+
| Pretraining Cost Category | HyperCLOVAX-SEED-Text-Instruct-0.5B | QWEN2.5‑0.5B‑instruct |
|
34 |
+
|---------------------------------|-----------------------------------------------|-------------------------------------|
|
35 |
+
| **A100 GPU Hours** | 4.358 K | 169.257 K |
|
36 |
+
| **Cost (USD)** | 6.537 K | 253.886 K |
|
37 |
+
|
38 |
+
This represents approximately a 39× reduction in pretraining cost relative to `QWEN2.5‑0.5B-instruct`.
|
39 |
+
|
40 |
+
## Benchmarks
|
41 |
+
|
42 |
+
| **Model** | **KMMLU (5-shot, acc)** | **HAE-RAE (5-shot, acc)** | **CLiCK (5-shot, acc)** | **KoBEST (5-shot, acc)** |
|
43 |
+
| --- | --- | --- | --- | --- |
|
44 |
+
| HyperCLOVAX-SEED-Text-Base-0.5B | 0.4181 | 0.6370 | 0.5373 | 0.6963
|
45 |
+
| HyperCLOVAX-SEED-Text-Instruct-0.5B | 0.3815 | 0.5619 | 0.4446 | 0.6299 |
|
46 |
+
| QWEN2.5-0.5B-instruct | 0.2968 | 0.3428 | 0.3805 | 0.5025 |
|
47 |
+
|
48 |
+
## HuggingFace Usage Example
|
49 |
+
|
50 |
+
```python
|
51 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
52 |
+
model = AutoModelForCausalLM.from_pretrained("/path/to/HyperCLOVAX-SEED-Text-Instruct-0.5B")
|
53 |
+
tokenizer = AutoTokenizer.from_pretrained("/path/to/HyperCLOVAX-SEED-Text-Instruct-0.5B")
|
54 |
+
|
55 |
+
chat = [
|
56 |
+
{"role": "tool_list", "content": ""},
|
57 |
+
{"role": "system", "content": "- AI 언어모델의 이름은 \"CLOVA X\" 이며 네이버에서 만들었다.\n- 오늘은 2025년 04월 24일(목)이다."},
|
58 |
+
{"role": "user", "content": "슈뢰딩거 방정식과 양자역학의 관계를 최대한 자세히 알려줘."},
|
59 |
+
]
|
60 |
+
|
61 |
+
inputs = tokenizer.apply_chat_template(chat, add_generation_prompt=True, return_dict=True, return_tensors="pt")
|
62 |
+
output_ids = model.generate(**inputs, max_length=1024, stop_strings=["<|endofturn|>", "<|stop|>"], tokenizer=tokenizer)
|
63 |
+
print(tokenizer.batch_decode(output_ids))
|
64 |
+
```
|
65 |
+
|
config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LlamaForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_bias": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 100257,
|
8 |
+
"end_token_id": 100257,
|
9 |
+
"eos_token_id": 100257,
|
10 |
+
"head_dim": 128,
|
11 |
+
"hidden_act": "silu",
|
12 |
+
"hidden_size": 1024,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 4096,
|
15 |
+
"max_position_embeddings": 8192,
|
16 |
+
"mlp_bias": false,
|
17 |
+
"model_type": "llama",
|
18 |
+
"num_attention_heads": 16,
|
19 |
+
"num_hidden_layers": 24,
|
20 |
+
"num_key_value_heads": 8,
|
21 |
+
"pad_token_id": 100257,
|
22 |
+
"pretraining_tp": 1,
|
23 |
+
"resid_pdrop": 0.2,
|
24 |
+
"rms_norm_eps": 1e-05,
|
25 |
+
"rope_scaling": null,
|
26 |
+
"rope_theta": 500000,
|
27 |
+
"tie_word_embeddings": true,
|
28 |
+
"torch_dtype": "bfloat16",
|
29 |
+
"transformers_version": "4.50.3",
|
30 |
+
"use_cache": false,
|
31 |
+
"vocab_size": 110592
|
32 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:decbc37141e9bc7b88f38395070c5261d9b68029973dfd3f3b63380c6165a8f4
|
3 |
+
size 1132633202
|
special_tokens_map.json
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|endoftext|>",
|
4 |
+
"<|fim_prefix|>",
|
5 |
+
"<|fim_middle|>",
|
6 |
+
"<|fim_suffix|>",
|
7 |
+
"<|endofprompt|>",
|
8 |
+
"<|_unuse_missing_100256|>",
|
9 |
+
"<|_unuse_missing_100261|>",
|
10 |
+
"<|_unuse_missing_100262|>",
|
11 |
+
"<|_unuse_missing_100263|>",
|
12 |
+
"<|_unuse_missing_100264|>",
|
13 |
+
"<|_unuse_missing_100265|>",
|
14 |
+
"<|_unuse_missing_100266|>",
|
15 |
+
"<|_unuse_missing_100267|>",
|
16 |
+
"<|_unuse_missing_100268|>",
|
17 |
+
"<|_unuse_missing_100269|>",
|
18 |
+
"<|_unuse_missing_100270|>",
|
19 |
+
"<|_unuse_missing_100271|>",
|
20 |
+
"<|im_start|>",
|
21 |
+
"<|im_end|>",
|
22 |
+
"<|stop|>",
|
23 |
+
"<|endofturn|>",
|
24 |
+
"<repo_name>",
|
25 |
+
"<file_sep>",
|
26 |
+
"<issue_start>",
|
27 |
+
"<issue_comment>",
|
28 |
+
"<issue_closed>",
|
29 |
+
"<jupyter_start>",
|
30 |
+
"<jupyter_text>",
|
31 |
+
"<jupyter_code>",
|
32 |
+
"<jupyter_output>",
|
33 |
+
"<jupyter_script>",
|
34 |
+
"<empty_output>",
|
35 |
+
"<code_to_intermediate>",
|
36 |
+
"<intermediate_to_code>",
|
37 |
+
"<pr>",
|
38 |
+
"<pr_status>",
|
39 |
+
"<pr_is_merged>",
|
40 |
+
"<pr_base>",
|
41 |
+
"<pr_file>",
|
42 |
+
"<pr_base_code>",
|
43 |
+
"<pr_diff>",
|
44 |
+
"<pr_diff_hunk>",
|
45 |
+
"<pr_comment>",
|
46 |
+
"<pr_event_id>",
|
47 |
+
"<pr_review>",
|
48 |
+
"<pr_review_state>",
|
49 |
+
"<pr_review_comment>",
|
50 |
+
"<pr_in_reply_to_review_id>",
|
51 |
+
"<pr_in_reply_to_comment_id>",
|
52 |
+
"<pr_diff_hunk_comment_line>",
|
53 |
+
"<NAME>",
|
54 |
+
"<EMAIL>",
|
55 |
+
"<KEY>",
|
56 |
+
"<PASSWORD>"
|
57 |
+
],
|
58 |
+
"bos_token": {
|
59 |
+
"content": "<|endoftext|>",
|
60 |
+
"lstrip": false,
|
61 |
+
"normalized": false,
|
62 |
+
"rstrip": false,
|
63 |
+
"single_word": false
|
64 |
+
},
|
65 |
+
"eos_token": {
|
66 |
+
"content": "<|endofturn|>",
|
67 |
+
"lstrip": false,
|
68 |
+
"normalized": false,
|
69 |
+
"rstrip": false,
|
70 |
+
"single_word": false
|
71 |
+
},
|
72 |
+
"pad_token": {
|
73 |
+
"content": "<|endoftext|>",
|
74 |
+
"lstrip": false,
|
75 |
+
"normalized": false,
|
76 |
+
"rstrip": false,
|
77 |
+
"single_word": false
|
78 |
+
},
|
79 |
+
"unk_token": {
|
80 |
+
"content": "<|endoftext|>",
|
81 |
+
"lstrip": false,
|
82 |
+
"normalized": false,
|
83 |
+
"rstrip": false,
|
84 |
+
"single_word": false
|
85 |
+
}
|
86 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,502 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"100256": {
|
5 |
+
"content": "<|_unuse_missing_100256|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"100257": {
|
13 |
+
"content": "<|endoftext|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"100258": {
|
21 |
+
"content": "<|fim_prefix|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
},
|
28 |
+
"100259": {
|
29 |
+
"content": "<|fim_middle|>",
|
30 |
+
"lstrip": false,
|
31 |
+
"normalized": false,
|
32 |
+
"rstrip": false,
|
33 |
+
"single_word": false,
|
34 |
+
"special": true
|
35 |
+
},
|
36 |
+
"100260": {
|
37 |
+
"content": "<|fim_suffix|>",
|
38 |
+
"lstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"rstrip": false,
|
41 |
+
"single_word": false,
|
42 |
+
"special": true
|
43 |
+
},
|
44 |
+
"100261": {
|
45 |
+
"content": "<|_unuse_missing_100261|>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false,
|
50 |
+
"special": true
|
51 |
+
},
|
52 |
+
"100262": {
|
53 |
+
"content": "<|_unuse_missing_100262|>",
|
54 |
+
"lstrip": false,
|
55 |
+
"normalized": false,
|
56 |
+
"rstrip": false,
|
57 |
+
"single_word": false,
|
58 |
+
"special": true
|
59 |
+
},
|
60 |
+
"100263": {
|
61 |
+
"content": "<|_unuse_missing_100263|>",
|
62 |
+
"lstrip": false,
|
63 |
+
"normalized": false,
|
64 |
+
"rstrip": false,
|
65 |
+
"single_word": false,
|
66 |
+
"special": true
|
67 |
+
},
|
68 |
+
"100264": {
|
69 |
+
"content": "<|_unuse_missing_100264|>",
|
70 |
+
"lstrip": false,
|
71 |
+
"normalized": false,
|
72 |
+
"rstrip": false,
|
73 |
+
"single_word": false,
|
74 |
+
"special": true
|
75 |
+
},
|
76 |
+
"100265": {
|
77 |
+
"content": "<|_unuse_missing_100265|>",
|
78 |
+
"lstrip": false,
|
79 |
+
"normalized": false,
|
80 |
+
"rstrip": false,
|
81 |
+
"single_word": false,
|
82 |
+
"special": true
|
83 |
+
},
|
84 |
+
"100266": {
|
85 |
+
"content": "<|_unuse_missing_100266|>",
|
86 |
+
"lstrip": false,
|
87 |
+
"normalized": false,
|
88 |
+
"rstrip": false,
|
89 |
+
"single_word": false,
|
90 |
+
"special": true
|
91 |
+
},
|
92 |
+
"100267": {
|
93 |
+
"content": "<|_unuse_missing_100267|>",
|
94 |
+
"lstrip": false,
|
95 |
+
"normalized": false,
|
96 |
+
"rstrip": false,
|
97 |
+
"single_word": false,
|
98 |
+
"special": true
|
99 |
+
},
|
100 |
+
"100268": {
|
101 |
+
"content": "<|_unuse_missing_100268|>",
|
102 |
+
"lstrip": false,
|
103 |
+
"normalized": false,
|
104 |
+
"rstrip": false,
|
105 |
+
"single_word": false,
|
106 |
+
"special": true
|
107 |
+
},
|
108 |
+
"100269": {
|
109 |
+
"content": "<|_unuse_missing_100269|>",
|
110 |
+
"lstrip": false,
|
111 |
+
"normalized": false,
|
112 |
+
"rstrip": false,
|
113 |
+
"single_word": false,
|
114 |
+
"special": true
|
115 |
+
},
|
116 |
+
"100270": {
|
117 |
+
"content": "<|_unuse_missing_100270|>",
|
118 |
+
"lstrip": false,
|
119 |
+
"normalized": false,
|
120 |
+
"rstrip": false,
|
121 |
+
"single_word": false,
|
122 |
+
"special": true
|
123 |
+
},
|
124 |
+
"100271": {
|
125 |
+
"content": "<|_unuse_missing_100271|>",
|
126 |
+
"lstrip": false,
|
127 |
+
"normalized": false,
|
128 |
+
"rstrip": false,
|
129 |
+
"single_word": false,
|
130 |
+
"special": true
|
131 |
+
},
|
132 |
+
"100272": {
|
133 |
+
"content": "<|im_start|>",
|
134 |
+
"lstrip": false,
|
135 |
+
"normalized": false,
|
136 |
+
"rstrip": false,
|
137 |
+
"single_word": false,
|
138 |
+
"special": true
|
139 |
+
},
|
140 |
+
"100273": {
|
141 |
+
"content": "<|im_end|>",
|
142 |
+
"lstrip": false,
|
143 |
+
"normalized": false,
|
144 |
+
"rstrip": false,
|
145 |
+
"single_word": false,
|
146 |
+
"special": true
|
147 |
+
},
|
148 |
+
"100274": {
|
149 |
+
"content": "<|stop|>",
|
150 |
+
"lstrip": false,
|
151 |
+
"normalized": false,
|
152 |
+
"rstrip": false,
|
153 |
+
"single_word": false,
|
154 |
+
"special": true
|
155 |
+
},
|
156 |
+
"100275": {
|
157 |
+
"content": "<|endofturn|>",
|
158 |
+
"lstrip": false,
|
159 |
+
"normalized": false,
|
160 |
+
"rstrip": false,
|
161 |
+
"single_word": false,
|
162 |
+
"special": true
|
163 |
+
},
|
164 |
+
"100276": {
|
165 |
+
"content": "<|endofprompt|>",
|
166 |
+
"lstrip": false,
|
167 |
+
"normalized": false,
|
168 |
+
"rstrip": false,
|
169 |
+
"single_word": false,
|
170 |
+
"special": true
|
171 |
+
},
|
172 |
+
"110491": {
|
173 |
+
"content": "<repo_name>",
|
174 |
+
"lstrip": false,
|
175 |
+
"normalized": false,
|
176 |
+
"rstrip": false,
|
177 |
+
"single_word": false,
|
178 |
+
"special": true
|
179 |
+
},
|
180 |
+
"110492": {
|
181 |
+
"content": "<file_sep>",
|
182 |
+
"lstrip": false,
|
183 |
+
"normalized": false,
|
184 |
+
"rstrip": false,
|
185 |
+
"single_word": false,
|
186 |
+
"special": true
|
187 |
+
},
|
188 |
+
"110493": {
|
189 |
+
"content": "<issue_start>",
|
190 |
+
"lstrip": false,
|
191 |
+
"normalized": false,
|
192 |
+
"rstrip": false,
|
193 |
+
"single_word": false,
|
194 |
+
"special": true
|
195 |
+
},
|
196 |
+
"110494": {
|
197 |
+
"content": "<issue_comment>",
|
198 |
+
"lstrip": false,
|
199 |
+
"normalized": false,
|
200 |
+
"rstrip": false,
|
201 |
+
"single_word": false,
|
202 |
+
"special": true
|
203 |
+
},
|
204 |
+
"110495": {
|
205 |
+
"content": "<issue_closed>",
|
206 |
+
"lstrip": false,
|
207 |
+
"normalized": false,
|
208 |
+
"rstrip": false,
|
209 |
+
"single_word": false,
|
210 |
+
"special": true
|
211 |
+
},
|
212 |
+
"110496": {
|
213 |
+
"content": "<jupyter_start>",
|
214 |
+
"lstrip": false,
|
215 |
+
"normalized": false,
|
216 |
+
"rstrip": false,
|
217 |
+
"single_word": false,
|
218 |
+
"special": true
|
219 |
+
},
|
220 |
+
"110497": {
|
221 |
+
"content": "<jupyter_text>",
|
222 |
+
"lstrip": false,
|
223 |
+
"normalized": false,
|
224 |
+
"rstrip": false,
|
225 |
+
"single_word": false,
|
226 |
+
"special": true
|
227 |
+
},
|
228 |
+
"110498": {
|
229 |
+
"content": "<jupyter_code>",
|
230 |
+
"lstrip": false,
|
231 |
+
"normalized": false,
|
232 |
+
"rstrip": false,
|
233 |
+
"single_word": false,
|
234 |
+
"special": true
|
235 |
+
},
|
236 |
+
"110499": {
|
237 |
+
"content": "<jupyter_output>",
|
238 |
+
"lstrip": false,
|
239 |
+
"normalized": false,
|
240 |
+
"rstrip": false,
|
241 |
+
"single_word": false,
|
242 |
+
"special": true
|
243 |
+
},
|
244 |
+
"110500": {
|
245 |
+
"content": "<jupyter_script>",
|
246 |
+
"lstrip": false,
|
247 |
+
"normalized": false,
|
248 |
+
"rstrip": false,
|
249 |
+
"single_word": false,
|
250 |
+
"special": true
|
251 |
+
},
|
252 |
+
"110501": {
|
253 |
+
"content": "<empty_output>",
|
254 |
+
"lstrip": false,
|
255 |
+
"normalized": false,
|
256 |
+
"rstrip": false,
|
257 |
+
"single_word": false,
|
258 |
+
"special": true
|
259 |
+
},
|
260 |
+
"110502": {
|
261 |
+
"content": "<code_to_intermediate>",
|
262 |
+
"lstrip": false,
|
263 |
+
"normalized": false,
|
264 |
+
"rstrip": false,
|
265 |
+
"single_word": false,
|
266 |
+
"special": true
|
267 |
+
},
|
268 |
+
"110503": {
|
269 |
+
"content": "<intermediate_to_code>",
|
270 |
+
"lstrip": false,
|
271 |
+
"normalized": false,
|
272 |
+
"rstrip": false,
|
273 |
+
"single_word": false,
|
274 |
+
"special": true
|
275 |
+
},
|
276 |
+
"110504": {
|
277 |
+
"content": "<pr>",
|
278 |
+
"lstrip": false,
|
279 |
+
"normalized": false,
|
280 |
+
"rstrip": false,
|
281 |
+
"single_word": false,
|
282 |
+
"special": true
|
283 |
+
},
|
284 |
+
"110505": {
|
285 |
+
"content": "<pr_status>",
|
286 |
+
"lstrip": false,
|
287 |
+
"normalized": false,
|
288 |
+
"rstrip": false,
|
289 |
+
"single_word": false,
|
290 |
+
"special": true
|
291 |
+
},
|
292 |
+
"110506": {
|
293 |
+
"content": "<pr_is_merged>",
|
294 |
+
"lstrip": false,
|
295 |
+
"normalized": false,
|
296 |
+
"rstrip": false,
|
297 |
+
"single_word": false,
|
298 |
+
"special": true
|
299 |
+
},
|
300 |
+
"110507": {
|
301 |
+
"content": "<pr_base>",
|
302 |
+
"lstrip": false,
|
303 |
+
"normalized": false,
|
304 |
+
"rstrip": false,
|
305 |
+
"single_word": false,
|
306 |
+
"special": true
|
307 |
+
},
|
308 |
+
"110508": {
|
309 |
+
"content": "<pr_file>",
|
310 |
+
"lstrip": false,
|
311 |
+
"normalized": false,
|
312 |
+
"rstrip": false,
|
313 |
+
"single_word": false,
|
314 |
+
"special": true
|
315 |
+
},
|
316 |
+
"110509": {
|
317 |
+
"content": "<pr_base_code>",
|
318 |
+
"lstrip": false,
|
319 |
+
"normalized": false,
|
320 |
+
"rstrip": false,
|
321 |
+
"single_word": false,
|
322 |
+
"special": true
|
323 |
+
},
|
324 |
+
"110510": {
|
325 |
+
"content": "<pr_diff>",
|
326 |
+
"lstrip": false,
|
327 |
+
"normalized": false,
|
328 |
+
"rstrip": false,
|
329 |
+
"single_word": false,
|
330 |
+
"special": true
|
331 |
+
},
|
332 |
+
"110511": {
|
333 |
+
"content": "<pr_diff_hunk>",
|
334 |
+
"lstrip": false,
|
335 |
+
"normalized": false,
|
336 |
+
"rstrip": false,
|
337 |
+
"single_word": false,
|
338 |
+
"special": true
|
339 |
+
},
|
340 |
+
"110512": {
|
341 |
+
"content": "<pr_comment>",
|
342 |
+
"lstrip": false,
|
343 |
+
"normalized": false,
|
344 |
+
"rstrip": false,
|
345 |
+
"single_word": false,
|
346 |
+
"special": true
|
347 |
+
},
|
348 |
+
"110513": {
|
349 |
+
"content": "<pr_event_id>",
|
350 |
+
"lstrip": false,
|
351 |
+
"normalized": false,
|
352 |
+
"rstrip": false,
|
353 |
+
"single_word": false,
|
354 |
+
"special": true
|
355 |
+
},
|
356 |
+
"110514": {
|
357 |
+
"content": "<pr_review>",
|
358 |
+
"lstrip": false,
|
359 |
+
"normalized": false,
|
360 |
+
"rstrip": false,
|
361 |
+
"single_word": false,
|
362 |
+
"special": true
|
363 |
+
},
|
364 |
+
"110515": {
|
365 |
+
"content": "<pr_review_state>",
|
366 |
+
"lstrip": false,
|
367 |
+
"normalized": false,
|
368 |
+
"rstrip": false,
|
369 |
+
"single_word": false,
|
370 |
+
"special": true
|
371 |
+
},
|
372 |
+
"110516": {
|
373 |
+
"content": "<pr_review_comment>",
|
374 |
+
"lstrip": false,
|
375 |
+
"normalized": false,
|
376 |
+
"rstrip": false,
|
377 |
+
"single_word": false,
|
378 |
+
"special": true
|
379 |
+
},
|
380 |
+
"110517": {
|
381 |
+
"content": "<pr_in_reply_to_review_id>",
|
382 |
+
"lstrip": false,
|
383 |
+
"normalized": false,
|
384 |
+
"rstrip": false,
|
385 |
+
"single_word": false,
|
386 |
+
"special": true
|
387 |
+
},
|
388 |
+
"110518": {
|
389 |
+
"content": "<pr_in_reply_to_comment_id>",
|
390 |
+
"lstrip": false,
|
391 |
+
"normalized": false,
|
392 |
+
"rstrip": false,
|
393 |
+
"single_word": false,
|
394 |
+
"special": true
|
395 |
+
},
|
396 |
+
"110519": {
|
397 |
+
"content": "<pr_diff_hunk_comment_line>",
|
398 |
+
"lstrip": false,
|
399 |
+
"normalized": false,
|
400 |
+
"rstrip": false,
|
401 |
+
"single_word": false,
|
402 |
+
"special": true
|
403 |
+
},
|
404 |
+
"110520": {
|
405 |
+
"content": "<NAME>",
|
406 |
+
"lstrip": false,
|
407 |
+
"normalized": false,
|
408 |
+
"rstrip": false,
|
409 |
+
"single_word": false,
|
410 |
+
"special": true
|
411 |
+
},
|
412 |
+
"110521": {
|
413 |
+
"content": "<EMAIL>",
|
414 |
+
"lstrip": false,
|
415 |
+
"normalized": false,
|
416 |
+
"rstrip": false,
|
417 |
+
"single_word": false,
|
418 |
+
"special": true
|
419 |
+
},
|
420 |
+
"110522": {
|
421 |
+
"content": "<KEY>",
|
422 |
+
"lstrip": false,
|
423 |
+
"normalized": false,
|
424 |
+
"rstrip": false,
|
425 |
+
"single_word": false,
|
426 |
+
"special": true
|
427 |
+
},
|
428 |
+
"110523": {
|
429 |
+
"content": "<PASSWORD>",
|
430 |
+
"lstrip": false,
|
431 |
+
"normalized": false,
|
432 |
+
"rstrip": false,
|
433 |
+
"single_word": false,
|
434 |
+
"special": true
|
435 |
+
}
|
436 |
+
},
|
437 |
+
"additional_special_tokens": [
|
438 |
+
"<|endoftext|>",
|
439 |
+
"<|fim_prefix|>",
|
440 |
+
"<|fim_middle|>",
|
441 |
+
"<|fim_suffix|>",
|
442 |
+
"<|endofprompt|>",
|
443 |
+
"<|_unuse_missing_100256|>",
|
444 |
+
"<|_unuse_missing_100261|>",
|
445 |
+
"<|_unuse_missing_100262|>",
|
446 |
+
"<|_unuse_missing_100263|>",
|
447 |
+
"<|_unuse_missing_100264|>",
|
448 |
+
"<|_unuse_missing_100265|>",
|
449 |
+
"<|_unuse_missing_100266|>",
|
450 |
+
"<|_unuse_missing_100267|>",
|
451 |
+
"<|_unuse_missing_100268|>",
|
452 |
+
"<|_unuse_missing_100269|>",
|
453 |
+
"<|_unuse_missing_100270|>",
|
454 |
+
"<|_unuse_missing_100271|>",
|
455 |
+
"<|im_start|>",
|
456 |
+
"<|im_end|>",
|
457 |
+
"<|stop|>",
|
458 |
+
"<|endofturn|>",
|
459 |
+
"<repo_name>",
|
460 |
+
"<file_sep>",
|
461 |
+
"<issue_start>",
|
462 |
+
"<issue_comment>",
|
463 |
+
"<issue_closed>",
|
464 |
+
"<jupyter_start>",
|
465 |
+
"<jupyter_text>",
|
466 |
+
"<jupyter_code>",
|
467 |
+
"<jupyter_output>",
|
468 |
+
"<jupyter_script>",
|
469 |
+
"<empty_output>",
|
470 |
+
"<code_to_intermediate>",
|
471 |
+
"<intermediate_to_code>",
|
472 |
+
"<pr>",
|
473 |
+
"<pr_status>",
|
474 |
+
"<pr_is_merged>",
|
475 |
+
"<pr_base>",
|
476 |
+
"<pr_file>",
|
477 |
+
"<pr_base_code>",
|
478 |
+
"<pr_diff>",
|
479 |
+
"<pr_diff_hunk>",
|
480 |
+
"<pr_comment>",
|
481 |
+
"<pr_event_id>",
|
482 |
+
"<pr_review>",
|
483 |
+
"<pr_review_state>",
|
484 |
+
"<pr_review_comment>",
|
485 |
+
"<pr_in_reply_to_review_id>",
|
486 |
+
"<pr_in_reply_to_comment_id>",
|
487 |
+
"<pr_diff_hunk_comment_line>",
|
488 |
+
"<NAME>",
|
489 |
+
"<EMAIL>",
|
490 |
+
"<KEY>",
|
491 |
+
"<PASSWORD>"
|
492 |
+
],
|
493 |
+
"bos_token": "<|endoftext|>",
|
494 |
+
"chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
495 |
+
"clean_up_tokenization_spaces": true,
|
496 |
+
"eos_token": "<|endofturn|>",
|
497 |
+
"extra_special_tokens": {},
|
498 |
+
"model_max_length": 1000000000000000019884624838656,
|
499 |
+
"pad_token": "<|endoftext|>",
|
500 |
+
"tokenizer_class": "GPT2Tokenizer",
|
501 |
+
"unk_token": "<|endoftext|>"
|
502 |
+
}
|