Text Classification
Transformers
PyTorch
ONNX
English
albert
text-classfication
int8
Intel® Neural Compressor
neural-compressor
PostTrainingStatic
Instructions to use INC4AI/albert-base-v2-sst2-int8-static-inc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use INC4AI/albert-base-v2-sst2-int8-static-inc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="INC4AI/albert-base-v2-sst2-int8-static-inc")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("INC4AI/albert-base-v2-sst2-int8-static-inc") model = AutoModelForSequenceClassification.from_pretrained("INC4AI/albert-base-v2-sst2-int8-static-inc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.onnx from INC4AI/albert-base-v2-sst2-int8-static-inc: direct link, hf CLI and curl.
- Browser
- Download file 51.8 MB
-
https://huggingface.co/INC4AI/albert-base-v2-sst2-int8-static-inc/resolve/e620322fb81e3ba9c89c98009c48c78b8e4c668e/model.onnx
- Command line
-
hf download hf://INC4AI/albert-base-v2-sst2-int8-static-inc@e620322fb81e3ba9c89c98009c48c78b8e4c668e/model.onnx
-
curl -L -o model.onnx https://huggingface.co/INC4AI/albert-base-v2-sst2-int8-static-inc/resolve/e620322fb81e3ba9c89c98009c48c78b8e4c668e/model.onnx
51.8 MB
- Xet hash:
- f99288a8469cb275fdeeb19f896ba7656de2ef57f7e7084816485ef868a32167
- Size of remote file:
- 51.8 MB
- SHA256:
- 64266db101b17dc05cb4fd7b0643d7eda5425f02494feca37c38b2153b3d10fc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.