Upload folder using huggingface_hub (#3)
Browse files- c1c848b614d7b7b472f2a0edab065895fdce041a4da05e5fbce81ad62bbf6105 (cce9469143decb599fda04564dd9d8a6b25ced4c)
- README.md +1 -1
- config.json +1 -1
- plots.png +0 -0
- smash_config.json +1 -1
README.md
CHANGED
@@ -39,7 +39,7 @@ tags:
|
|
39 |
**Frequently Asked Questions**
|
40 |
- ***How does the compression work?*** The model is compressed with llm-int8.
|
41 |
- ***How does the model quality change?*** The quality of the model output might vary compared to the base model.
|
42 |
-
- ***How is the model efficiency evaluated?*** These results were obtained on
|
43 |
- ***What is the model format?*** We use safetensors.
|
44 |
- ***What calibration data has been used?*** If needed by the compression method, we used WikiText as the calibration data.
|
45 |
- ***What is the naming convention for Pruna Huggingface models?*** We take the original model name and append "turbo", "tiny", or "green" if the smashed model has a measured inference speed, inference memory, or inference energy consumption which is less than 90% of the original base model.
|
|
|
39 |
**Frequently Asked Questions**
|
40 |
- ***How does the compression work?*** The model is compressed with llm-int8.
|
41 |
- ***How does the model quality change?*** The quality of the model output might vary compared to the base model.
|
42 |
+
- ***How is the model efficiency evaluated?*** These results were obtained on NVIDIA A100-PCIE-40GB with configuration described in `model/smash_config.json` and are obtained after a hardware warmup. The smashed model is directly compared to the original base model. Efficiency results may vary in other settings (e.g. other hardware, image size, batch size, ...). We recommend to directly run them in the use-case conditions to know if the smashed model can benefit you.
|
43 |
- ***What is the model format?*** We use safetensors.
|
44 |
- ***What calibration data has been used?*** If needed by the compression method, we used WikiText as the calibration data.
|
45 |
- ***What is the naming convention for Pruna Huggingface models?*** We take the original model name and append "turbo", "tiny", or "green" if the smashed model has a measured inference speed, inference memory, or inference energy consumption which is less than 90% of the original base model.
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/tmp/
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/tmp/tmp6vbe4t9s",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
plots.png
CHANGED
smash_config.json
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
"compilers": "None",
|
9 |
"task": "text_text_generation",
|
10 |
"device": "cuda",
|
11 |
-
"cache_dir": "/ceph/hdd/staff/charpent/.cache/
|
12 |
"batch_size": 1,
|
13 |
"model_name": "akreal/tiny-random-LlamaForCausalLM",
|
14 |
"pruning_ratio": 0.0,
|
|
|
8 |
"compilers": "None",
|
9 |
"task": "text_text_generation",
|
10 |
"device": "cuda",
|
11 |
+
"cache_dir": "/ceph/hdd/staff/charpent/.cache/modelsfe5lwdw8",
|
12 |
"batch_size": 1,
|
13 |
"model_name": "akreal/tiny-random-LlamaForCausalLM",
|
14 |
"pruning_ratio": 0.0,
|