Text Classification
Transformers
PyTorch
ONNX
English
roberta
text-classfication
int8
Intel® Neural Compressor
neural-compressor
PostTrainingStatic
Eval Results (legacy)
text-embeddings-inference
Instructions to use INC4AI/roberta-base-mrpc-int8-static-inc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use INC4AI/roberta-base-mrpc-int8-static-inc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="INC4AI/roberta-base-mrpc-int8-static-inc")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("INC4AI/roberta-base-mrpc-int8-static-inc") model = AutoModelForSequenceClassification.from_pretrained("INC4AI/roberta-base-mrpc-int8-static-inc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update loading instructions
291f8c8
-
update int8 onnx model and readme
Signed-off-by: dujun <jun.du@intel.com>1dc7724
-
upload int8 onnx model
Signed-off-by: yuwenzho <yuwen.zhou@intel.com>4843e13
-
Update model card
7529597 -
Add neural-compressor tag
69a8cf9
-
Update README.md
503a6b0 -
add int8 embedding
533f50a
-
Update README.md
4a3c353 -
Update README.md
de6bd91 -
Update README.md
97035ca
-
Update README.md
5899ad1
-
Update README.md
7f9e80f -
Update README.md
072e2a2 -
Update README.md
d27a1e9 -
Update README.md
f40a244 -
Create README.md
c98b454
-
upload int8 model
6ba855c -
initial commit
c94affb