echarlaix/distilbert-base-uncased-distilled-squad-openvino-8bit

🤗 Hugging Face 来源question-answeringapache-2.067 MBother✓ 1 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo echarlaix/distilbert-base-uncased-distilled-squad-openvino-8bit ./model-folder
需要做种者 →

This model is a quantized version of echarlaix/distilbert-base-uncased-distilled-squad-openvino and is converted to the OpenVINO format. This model was obtained via the nncf-quantization space with optimum-intel.

First make sure you have optimum-intel installed:

pip install optimum[openvino]

To load your model you can do as follows:

from optimum.intel import OVModelForQuestionAnswering

model_id = "echarlaix/distilbert-base-uncased-distilled-squad-openvino-8bit"
model = OVModelForQuestionAnswering.from_pretrained(model_id)