Downloads · 30 days
60
9% of all-time downloads
INC4AI/falcon-7b-sq-int8-inc
falcon-7b-sq-int8-inc is a text generation model from INC4AI. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model is an int8 model quantized from tiiuae/falcon-7b using SmoothQuant.
Downloads · 30 days
60
9% of all-time downloads
All-time downloads
659
Public
Repo size
8.3 GB
Likes
0
Public
Click a slice to open those files.
.bin8.1 GB · 98%
From the Hugging Face model README
This model is an int8 model quantized from tiiuae/falcon-7b using SmoothQuant.
Use IPEX 2.2
git clone https://github.com/intel/intel-extension-for-pytorch.git
cd intel-extension-for-pytorch/examples/cpu/inference/python/llm
git checkout release/2.2
python run.py --benchmark -m tiiuae/falcon-7b --ipex-smooth-quant --qconfig-summary-file <path to Intel/falcon-7b-sq-int8-inc best_configure.json"> --output-dir "saved_results"
git clone https://github.com/intel/intel-extension-for-pytorch.git
cd intel-extension-for-pytorch/examples/cpu/inference/python/llm/single_instance
git checkout release/2.2
python run_accuracy.py -m tiiuae/falcon-7b --quantized-model-path <path to Intel/falcon-7b-sq-int8-inc best_configure.json"> --dtype int8 --tasks lambada_openai
| Metric | fp32 | int8 sq |
|---|---|---|
| Avg. | 0.6982 | 0.6992 |
| lambada_openai | 0.7467 | 0.7648 |
| hellaswag | 0.5778 | 0.5659 |
| winogrande | 0.6732 | 0.6717 |
| piqa | 0.7949 | 0.7943 |
The model can produce factually incorrect output, and should not be relied on to produce factually accurate information. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs.
Therefore, before deploying any applications of the model, developers should perform safety testing.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
Here are a couple of useful links to learn more about Intel's AI software: