Upload folder using huggingface_hub (#4)
Browse files- 496ea46e041fc7d353b3ff37808a913445f5cb1bcc6a400ec7b5f44e173d1dc2 (3e89624446bd56b286370067cd5401fd18315717)
- d9482675fc97fd9b000e52281311886493f904e3e38f23c0622bb45a627984cb (7b73125f177bf202b6460de9d8ef68bbae24e95a)
- README.md +1 -1
- config.json +1 -1
- smash_config.json +1 -1
README.md
CHANGED
@@ -40,7 +40,7 @@ tags:
|
|
40 |
**Frequently Asked Questions**
|
41 |
- ***How does the compression work?*** The model is compressed with awq.
|
42 |
- ***How does the model quality change?*** The quality of the model output might vary compared to the base model.
|
43 |
-
- ***How is the model efficiency evaluated?*** These results were obtained on
|
44 |
- ***What is the model format?*** We use safetensors.
|
45 |
- ***What calibration data has been used?*** If needed by the compression method, we used WikiText as the calibration data.
|
46 |
- ***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.
|
|
|
40 |
**Frequently Asked Questions**
|
41 |
- ***How does the compression work?*** The model is compressed with awq.
|
42 |
- ***How does the model quality change?*** The quality of the model output might vary compared to the base model.
|
43 |
+
- ***How is the model efficiency evaluated?*** These results were obtained on HARDWARE_NAME 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.
|
44 |
- ***What is the model format?*** We use safetensors.
|
45 |
- ***What calibration data has been used?*** If needed by the compression method, we used WikiText as the calibration data.
|
46 |
- ***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": "/
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/ceph/hdd/staff/charpent/.cache/models57ikf7dq79qgcaby",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
smash_config.json
CHANGED
@@ -14,7 +14,7 @@
|
|
14 |
"controlnet": "None",
|
15 |
"unet_dim": 4,
|
16 |
"device": "cuda",
|
17 |
-
"cache_dir": "/ceph/hdd/staff/charpent/.cache/
|
18 |
"batch_size": 1,
|
19 |
"model_name": "meta-llama/Meta-Llama-3-8B",
|
20 |
"task": "text_text_generation",
|
|
|
14 |
"controlnet": "None",
|
15 |
"unet_dim": 4,
|
16 |
"device": "cuda",
|
17 |
+
"cache_dir": "/ceph/hdd/staff/charpent/.cache/models57ikf7dq",
|
18 |
"batch_size": 1,
|
19 |
"model_name": "meta-llama/Meta-Llama-3-8B",
|
20 |
"task": "text_text_generation",
|