limcheekin
commited on
Commit
·
c40dce4
1
Parent(s):
0db36e5
Upload folder using huggingface_hub
Browse files- README.md +1 -1
- config.json +1 -0
- generation_config.json +7 -0
README.md
CHANGED
@@ -20,7 +20,7 @@ The model is quantized version of the [lmsys/fastchat-t5-3b-v1.0](https://huggin
|
|
20 |
The model being quantized using [CTranslate2](https://opennmt.net/CTranslate2/) with the following command:
|
21 |
|
22 |
```
|
23 |
-
ct2-transformers-converter --model lmsys/fastchat-t5-3b --output_dir lmsys/fastchat-t5-3b-ct2 --copy_files added_tokens.json tokenizer_config.json special_tokens_map.json spiece.model --quantization int8 --force --low_cpu_mem_usage
|
24 |
```
|
25 |
|
26 |
If you want to perform the quantization yourself, you need to install the following dependencies:
|
|
|
20 |
The model being quantized using [CTranslate2](https://opennmt.net/CTranslate2/) with the following command:
|
21 |
|
22 |
```
|
23 |
+
ct2-transformers-converter --model lmsys/fastchat-t5-3b --output_dir lmsys/fastchat-t5-3b-ct2 --copy_files generation_config.json added_tokens.json tokenizer_config.json special_tokens_map.json spiece.model --quantization int8 --force --low_cpu_mem_usage
|
24 |
```
|
25 |
|
26 |
If you want to perform the quantization yourself, you need to install the following dependencies:
|
config.json
CHANGED
@@ -4,5 +4,6 @@
|
|
4 |
"bos_token": "[PAD]",
|
5 |
"decoder_start_token": "[PAD]",
|
6 |
"eos_token": "</s>",
|
|
|
7 |
"unk_token": "<unk>"
|
8 |
}
|
|
|
4 |
"bos_token": "[PAD]",
|
5 |
"decoder_start_token": "[PAD]",
|
6 |
"eos_token": "</s>",
|
7 |
+
"layer_norm_epsilon": null,
|
8 |
"unk_token": "<unk>"
|
9 |
}
|
generation_config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"decoder_start_token_id": 0,
|
4 |
+
"eos_token_id": 1,
|
5 |
+
"pad_token_id": 0,
|
6 |
+
"transformers_version": "4.28.1"
|
7 |
+
}
|