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 README.md from INC4AI/albert-base-v2-sst2-int8-static-inc: direct link, hf CLI and curl.
- Browser
- Download file 28 Bytes
-
https://huggingface.co/INC4AI/albert-base-v2-sst2-int8-static-inc/resolve/de2d940a031c63dfed0f5a909f1457680d79e927/README.md
- Command line
-
hf download hf://INC4AI/albert-base-v2-sst2-int8-static-inc@de2d940a031c63dfed0f5a909f1457680d79e927/README.md
-
curl -L -o README.md https://huggingface.co/INC4AI/albert-base-v2-sst2-int8-static-inc/resolve/de2d940a031c63dfed0f5a909f1457680d79e927/README.md
28 Bytes
metadata
license: apache-2.0