JosephusCheung commited on
Commit
9671586
1 Parent(s): 161adc2

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -1,35 +1,34 @@
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
 
4
  *.bz2 filter=lfs diff=lfs merge=lfs -text
5
- *.ckpt filter=lfs diff=lfs merge=lfs -text
6
  *.ftz filter=lfs diff=lfs merge=lfs -text
7
  *.gz filter=lfs diff=lfs merge=lfs -text
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
10
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
  *.model filter=lfs diff=lfs merge=lfs -text
13
  *.msgpack filter=lfs diff=lfs merge=lfs -text
14
- *.npy filter=lfs diff=lfs merge=lfs -text
15
- *.npz filter=lfs diff=lfs merge=lfs -text
16
  *.onnx filter=lfs diff=lfs merge=lfs -text
17
  *.ot filter=lfs diff=lfs merge=lfs -text
18
  *.parquet filter=lfs diff=lfs merge=lfs -text
19
  *.pb filter=lfs diff=lfs merge=lfs -text
20
- *.pickle filter=lfs diff=lfs merge=lfs -text
21
- *.pkl filter=lfs diff=lfs merge=lfs -text
22
  *.pt filter=lfs diff=lfs merge=lfs -text
23
  *.pth filter=lfs diff=lfs merge=lfs -text
24
  *.rar filter=lfs diff=lfs merge=lfs -text
25
- *.safetensors filter=lfs diff=lfs merge=lfs -text
26
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
  *.tar.* filter=lfs diff=lfs merge=lfs -text
28
- *.tar filter=lfs diff=lfs merge=lfs -text
29
  *.tflite filter=lfs diff=lfs merge=lfs -text
30
  *.tgz filter=lfs diff=lfs merge=lfs -text
31
- *.wasm filter=lfs diff=lfs merge=lfs -text
32
  *.xz filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
- *.zst filter=lfs diff=lfs merge=lfs -text
35
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
1
  *.7z filter=lfs diff=lfs merge=lfs -text
2
  *.arrow filter=lfs diff=lfs merge=lfs -text
3
  *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
  *.bz2 filter=lfs diff=lfs merge=lfs -text
 
6
  *.ftz filter=lfs diff=lfs merge=lfs -text
7
  *.gz filter=lfs diff=lfs merge=lfs -text
8
  *.h5 filter=lfs diff=lfs merge=lfs -text
9
  *.joblib filter=lfs diff=lfs merge=lfs -text
10
  *.lfs.* filter=lfs diff=lfs merge=lfs -text
 
11
  *.model filter=lfs diff=lfs merge=lfs -text
12
  *.msgpack filter=lfs diff=lfs merge=lfs -text
 
 
13
  *.onnx filter=lfs diff=lfs merge=lfs -text
14
  *.ot filter=lfs diff=lfs merge=lfs -text
15
  *.parquet filter=lfs diff=lfs merge=lfs -text
16
  *.pb filter=lfs diff=lfs merge=lfs -text
 
 
17
  *.pt filter=lfs diff=lfs merge=lfs -text
18
  *.pth filter=lfs diff=lfs merge=lfs -text
19
  *.rar filter=lfs diff=lfs merge=lfs -text
 
20
  saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
  *.tar.* filter=lfs diff=lfs merge=lfs -text
 
22
  *.tflite filter=lfs diff=lfs merge=lfs -text
23
  *.tgz filter=lfs diff=lfs merge=lfs -text
 
24
  *.xz filter=lfs diff=lfs merge=lfs -text
25
  *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *.tfevents* filter=lfs diff=lfs merge=lfs -text
28
+ *.db* filter=lfs diff=lfs merge=lfs -text
29
+ *.ark* filter=lfs diff=lfs merge=lfs -text
30
+ **/*ckpt*data* filter=lfs diff=lfs merge=lfs -text
31
+ **/*ckpt*.meta filter=lfs diff=lfs merge=lfs -text
32
+ **/*ckpt*.index filter=lfs diff=lfs merge=lfs -text
33
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
34
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ frameworks:
3
+ - Pytorch
4
+ license: apache-2.0
5
+ tasks:
6
+ - text-generation
7
+ ---
8
+ <div style="width: 100%;">
9
+ <p align="center" width="20%">
10
+ <img src="http://x-pai.algolet.com/bot/img/logo_core.png" alt="TigerBot" width="20%", style="display: block; margin: auto;"></img>
11
+ </p>
12
+ </div>
13
+ <p align="center">
14
+ <font face="黑体" size=5"> A cutting-edge foundation for your very own LLM. </font>
15
+ </p>
16
+ <p align="center">
17
+ 💻<a href="https://github.com/TigerResearch/TigerBot" target="_blank">Github</a> • 🌐 <a href="https://tigerbot.com/" target="_blank">TigerBot</a> • 🤗 <a href="https://huggingface.co/TigerResearch" target="_blank">Hugging Face</a>
18
+ </p>
19
+
20
+ # 快速开始
21
+
22
+ - 方法1,通过transformers使用
23
+
24
+ - 下载 TigerBot Repo
25
+
26
+ ```shell
27
+ git clone https://github.com/TigerResearch/TigerBot.git
28
+ ```
29
+
30
+ - 启动infer代码
31
+
32
+ ```shell
33
+ python infer.py --model_path TigerResearch/tigerbot-70b-chat-v4-4k
34
+ ```
35
+
36
+ - 方法2:
37
+
38
+ - 下载 TigerBot Repo
39
+
40
+ ```shell
41
+ git clone https://github.com/TigerResearch/TigerBot.git
42
+ ```
43
+
44
+ - 安装git lfs: `git lfs install`
45
+
46
+ - 通过huggingface或modelscope平台下载权重
47
+ ```shell
48
+ git clone https://huggingface.co/TigerResearch/tigerbot-70b-chat-v4-4k
49
+ git clone https://www.modelscope.cn/TigerResearch/tigerbot-70b-chat-v4-4k.git
50
+ ```
51
+
52
+ - 启动infer代码
53
+
54
+ ```shell
55
+ python infer.py --model_path tigerbot-70b-chat-v4-4k
56
+ ```
57
+
58
+ ------
59
+
60
+ # Quick Start
61
+
62
+ - Method 1, use through transformers
63
+
64
+ - Clone TigerBot Repo
65
+
66
+ ```shell
67
+ git clone https://github.com/TigerResearch/TigerBot.git
68
+ ```
69
+
70
+ - Run infer script
71
+
72
+ ```shell
73
+ python infer.py --model_path TigerResearch/tigerbot-70b-chat-v4-4k
74
+ ```
75
+
76
+ - Method 2:
77
+
78
+ - Clone TigerBot Repo
79
+
80
+ ```shell
81
+ git clone https://github.com/TigerResearch/TigerBot.git
82
+ ```
83
+
84
+ - install git lfs: `git lfs install`
85
+
86
+ - Download weights from huggingface or modelscope
87
+ ```shell
88
+ git clone https://huggingface.co/TigerResearch/tigerbot-70b-chat-v4-4k
89
+ git clone https://www.modelscope.cn/TigerResearch/tigerbot-70b-chat-v4-4k.git
90
+ ```
91
+
92
+ - Run infer script
93
+
94
+ ```shell
95
+ python infer.py --model_path tigerbot-70b-chat-v4-4k
96
+ ```
97
+
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ frameworks:
3
+ - Pytorch
4
+ license: apache-2.0
5
+ tasks:
6
+ - text-generation
7
+ ---
8
+ <div style="width: 100%;">
9
+ <p align="center" width="20%">
10
+ <img src="http://x-pai.algolet.com/bot/img/logo_core.png" alt="TigerBot" width="20%", style="display: block; margin: auto;"></img>
11
+ </p>
12
+ </div>
13
+ <p align="center">
14
+ <font face="黑体" size=5"> A cutting-edge foundation for your very own LLM. </font>
15
+ </p>
16
+ <p align="center">
17
+ 💻<a href="https://github.com/TigerResearch/TigerBot" target="_blank">Github</a> • 🌐 <a href="https://tigerbot.com/" target="_blank">TigerBot</a> • 🤗 <a href="https://huggingface.co/TigerResearch" target="_blank">Hugging Face</a>
18
+ </p>
19
+
20
+ # 快速开始
21
+
22
+ - 方法1,通过transformers使用
23
+
24
+ - 下载 TigerBot Repo
25
+
26
+ ```shell
27
+ git clone https://github.com/TigerResearch/TigerBot.git
28
+ ```
29
+
30
+ - 启动infer代码
31
+
32
+ ```shell
33
+ python infer.py --model_path TigerResearch/tigerbot-70b-chat-v4-4k
34
+ ```
35
+
36
+ - 方法2:
37
+
38
+ - 下载 TigerBot Repo
39
+
40
+ ```shell
41
+ git clone https://github.com/TigerResearch/TigerBot.git
42
+ ```
43
+
44
+ - 安装git lfs: `git lfs install`
45
+
46
+ - 通过huggingface或modelscope平台下载权重
47
+ ```shell
48
+ git clone https://huggingface.co/TigerResearch/tigerbot-70b-chat-v4-4k
49
+ git clone https://www.modelscope.cn/TigerResearch/tigerbot-70b-chat-v4-4k.git
50
+ ```
51
+
52
+ - 启动infer代码
53
+
54
+ ```shell
55
+ python infer.py --model_path tigerbot-70b-chat-v4-4k
56
+ ```
57
+
58
+ ------
59
+
60
+ # Quick Start
61
+
62
+ - Method 1, use through transformers
63
+
64
+ - Clone TigerBot Repo
65
+
66
+ ```shell
67
+ git clone https://github.com/TigerResearch/TigerBot.git
68
+ ```
69
+
70
+ - Run infer script
71
+
72
+ ```shell
73
+ python infer.py --model_path TigerResearch/tigerbot-70b-chat-v4-4k
74
+ ```
75
+
76
+ - Method 2:
77
+
78
+ - Clone TigerBot Repo
79
+
80
+ ```shell
81
+ git clone https://github.com/TigerResearch/TigerBot.git
82
+ ```
83
+
84
+ - install git lfs: `git lfs install`
85
+
86
+ - Download weights from huggingface or modelscope
87
+ ```shell
88
+ git clone https://huggingface.co/TigerResearch/tigerbot-70b-chat-v4-4k
89
+ git clone https://www.modelscope.cn/TigerResearch/tigerbot-70b-chat-v4-4k.git
90
+ ```
91
+
92
+ - Run infer script
93
+
94
+ ```shell
95
+ python infer.py --model_path tigerbot-70b-chat-v4-4k
96
+ ```
97
+
added_tokens.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "\n\n### Instruction:\n": 65107,
3
+ "\n\n### Response:\n": 65108,
4
+ "</s>": 2,
5
+ "<pad>": 65109,
6
+ "<s>": 1,
7
+ "<unk>": 0
8
+ }
config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/mnt/nfs/yechen/models/tigerbot-70b-chat-v4-4k-hf-9000",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 8192,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 28672,
13
+ "max_position_embeddings": 4096,
14
+ "model_type": "llama",
15
+ "num_attention_heads": 64,
16
+ "num_hidden_layers": 80,
17
+ "num_key_value_heads": 8,
18
+ "pad_token_id": 65109,
19
+ "pretraining_tp": 1,
20
+ "rms_norm_eps": 1e-05,
21
+ "rope_scaling": null,
22
+ "rope_theta": 500000,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "bfloat16",
25
+ "transformers_version": "4.34.0",
26
+ "use_cache": true,
27
+ "vocab_size": 65112
28
+ }
configuration.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"framework":"Pytorch","task":"text-generation"}
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 65109,
6
+ "transformers_version": "4.34.0"
7
+ }
pytorch_model-00001-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:876a261aa837fcfd4b871c0a35e70757c28149c4743aa8c00985f8a5ece93ea4
3
+ size 9925346011
pytorch_model-00002-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b9f94678cdc6a00eaf52053a2af3abf1ae3c2b09ce8d27d0547681bb40b80d7
3
+ size 9965880015
pytorch_model-00003-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1e00c2326d16330d3690bab8ce0fed3191aeeda732ec95fa1f960e2bde17a87
3
+ size 9798075429
pytorch_model-00004-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3bf6ed65906b51d43c3f81ef2a7f994f5cee6c18bd758673798334fee651c35a
3
+ size 9798108873
pytorch_model-00005-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4c19baa48782fc1cf7d3d4c5bb8d77c4f2390d3732787f198892f0679a4db45
3
+ size 9798108893
pytorch_model-00006-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe29d517b6539f30bad00709bd24f5af427fa9ac8cd8ca94eb52f280fdc217c8
3
+ size 9965880015
pytorch_model-00007-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:381007ba055e526f2005933aa1f8723392849248af539b49c76299af2c00ac89
3
+ size 9798075429
pytorch_model-00008-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66f095e9caa1390be62493b60749a0333ab519181c85fb5156ddbcd49ca7684e
3
+ size 9798108873
pytorch_model-00009-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9eff40f8cf061011c50407413dbd65c10701c75859597db0fb0225fbe553a5a7
3
+ size 9798108893
pytorch_model-00010-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1132def0bfca21f5a401b5b8c853bc5c1535a190d8089e0212fe1d40b29d642
3
+ size 9965880015
pytorch_model-00011-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d02efba18525994c65c549c83b9e76d2499fb4ac30d170fc0b3b2acf6f8c8d99
3
+ size 9798075429
pytorch_model-00012-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e878c6179b0785e3641b011f3e09bd1cba11ba281182da3a4a912e77b72cffc
3
+ size 9798108873
pytorch_model-00013-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b90d08cac96787c1348de70d0a7527832a2f0555756e7c47ee401449cc95a0d
3
+ size 9798108893
pytorch_model-00014-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a0950be4fd8625c7baa7f1157aaf2caf5de3f6dfccfdb1ece8a31df00544864
3
+ size 9965896749
pytorch_model-00015-of-00015.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9cc8a133bd3995b9426a1d0bc20f3ea415a7aa486c4b653431b001caae59923
3
+ size 1066795946
special_tokens_map.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<s>",
5
+ "</s>",
6
+ "\n\n### Instruction:\n",
7
+ "\n\n### Response:\n",
8
+ "<pad>"
9
+ ],
10
+ "bos_token": "<s>",
11
+ "eos_token": "</s>",
12
+ "pad_token": "<pad>",
13
+ "unk_token": "<unk>"
14
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "65107": {
30
+ "content": "\n\n### Instruction:\n",
31
+ "lstrip": true,
32
+ "normalized": false,
33
+ "rstrip": true,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "65108": {
38
+ "content": "\n\n### Response:\n",
39
+ "lstrip": true,
40
+ "normalized": false,
41
+ "rstrip": true,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "65109": {
46
+ "content": "<pad>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ }
53
+ },
54
+ "additional_special_tokens": [
55
+ "<unk>",
56
+ "<s>",
57
+ "</s>",
58
+ "\n\n### Instruction:\n",
59
+ "\n\n### Response:\n",
60
+ "<pad>"
61
+ ],
62
+ "bos_token": "<s>",
63
+ "clean_up_tokenization_spaces": false,
64
+ "eos_token": "</s>",
65
+ "legacy": true,
66
+ "model_max_length": 1000000000000000019884624838656,
67
+ "pad_token": "<pad>",
68
+ "sp_model_kwargs": {},
69
+ "spaces_between_special_tokens": false,
70
+ "tokenizer_class": "LlamaTokenizer",
71
+ "unk_token": "<unk>",
72
+ "use_default_system_prompt": true
73
+ }