hiepnh commited on
Commit
4503857
1 Parent(s): 28cb3f2

Upload 5 files

Browse files
Files changed (5) hide show
  1. README.md +62 -0
  2. config.json +23 -0
  3. generation_config.json +7 -0
  4. special_tokens_map.json +23 -0
  5. tokenizer.model +3 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ ---
4
+ # Vicuna 13B 1.1 HF
5
+
6
+ This is an HF version of the [Vicuna 13B 1.1 model](https://huggingface.co/lmsys/vicuna-13b-delta-v1.1).
7
+
8
+ It was created by merging the deltas provided in the above repo with the original Llama 13B model, [using the code provided on their Github page](https://github.com/lm-sys/FastChat#vicuna-weights).
9
+
10
+ ## My Vicuna 1.1 model repositories
11
+
12
+ I have the following Vicuna 1.1 repositories available:
13
+
14
+ **13B models:**
15
+ * [Unquantized 13B 1.1 model for GPU - HF format](https://huggingface.co/TheBloke/vicuna-13B-1.1-HF)
16
+ * [GPTQ quantized 4bit 13B 1.1 for GPU - `safetensors` and `pt` formats](https://huggingface.co/TheBloke/vicuna-13B-1.1-GPTQ-4bit-128g)
17
+ * [GPTQ quantized 4bit 13B 1.1 for CPU - GGML format for `llama.cpp`](https://huggingface.co/TheBloke/vicuna-13B-1.1-GPTQ-4bit-128g-GGML)
18
+
19
+ **7B models:**
20
+ * [Unquantized 7B 1.1 model for GPU - HF format](https://huggingface.co/TheBloke/vicuna-7B-1.1-HF)
21
+ * [GPTQ quantized 4bit 7B 1.1 for GPU - `safetensors` and `pt` formats](https://huggingface.co/TheBloke/vicuna-7B-1.1-GPTQ-4bit-128g)
22
+ * [GPTQ quantized 4bit 7B 1.1 for CPU - GGML format for `llama.cpp`](https://huggingface.co/TheBloke/vicuna-7B-1.1-GPTQ-4bit-128g-GGML)
23
+
24
+ # Vicuna Model Card
25
+
26
+ ## Model details
27
+
28
+ **Model type:**
29
+ Vicuna is an open-source chatbot trained by fine-tuning LLaMA on user-shared conversations collected from ShareGPT.
30
+ It is an auto-regressive language model, based on the transformer architecture.
31
+
32
+ **Model date:**
33
+ Vicuna was trained between March 2023 and April 2023.
34
+
35
+ **Organizations developing the model:**
36
+ The Vicuna team with members from UC Berkeley, CMU, Stanford, and UC San Diego.
37
+
38
+ **Paper or resources for more information:**
39
+ https://vicuna.lmsys.org/
40
+
41
+ **License:**
42
+ Apache License 2.0
43
+
44
+ **Where to send questions or comments about the model:**
45
+ https://github.com/lm-sys/FastChat/issues
46
+
47
+ ## Intended use
48
+ **Primary intended uses:**
49
+ The primary use of Vicuna is research on large language models and chatbots.
50
+
51
+ **Primary intended users:**
52
+ The primary intended users of the model are researchers and hobbyists in natural language processing, machine learning, and artificial intelligence.
53
+
54
+ ## Training dataset
55
+ 70K conversations collected from ShareGPT.com.
56
+
57
+ ## Evaluation dataset
58
+ A preliminary evaluation of the model quality is conducted by creating a set of 80 diverse questions and utilizing GPT-4 to judge the model outputs. See https://vicuna.lmsys.org/ for more details.
59
+
60
+ ## Major updates of weights v1.1
61
+ - Refactor the tokenization and separator. In Vicuna v1.1, the separator has been changed from `"###"` to the EOS token `"</s>"`. This change makes it easier to determine the generation stop criteria and enables better compatibility with other libraries.
62
+ - Fix the supervised fine-tuning loss computation for better model quality.
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/workspace/llama-13B-HF",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 5120,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 13824,
12
+ "max_position_embeddings": 2048,
13
+ "model_type": "llama",
14
+ "num_attention_heads": 40,
15
+ "num_hidden_layers": 40,
16
+ "pad_token_id": 0,
17
+ "rms_norm_eps": 1e-06,
18
+ "tie_word_embeddings": false,
19
+ "torch_dtype": "float16",
20
+ "transformers_version": "4.29.0.dev0",
21
+ "use_cache": true,
22
+ "vocab_size": 32000
23
+ }
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": 0,
6
+ "transformers_version": "4.29.0.dev0"
7
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723