Instructions to use Ahmed766/text-classification-demo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ahmed766/text-classification-demo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Ahmed766/text-classification-demo")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Ahmed766/text-classification-demo", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download __pycache__/text_classifier.cpython-312.pyc from Ahmed766/text-classification-demo: direct link, hf CLI and curl.
- Browser
- Download file 3.69 kB
-
https://huggingface.co/Ahmed766/text-classification-demo/resolve/main/__pycache__/text_classifier.cpython-312.pyc
- Command line
-
hf download hf://Ahmed766/text-classification-demo/__pycache__/text_classifier.cpython-312.pyc
-
curl -L -o text_classifier.cpython-312.pyc https://huggingface.co/Ahmed766/text-classification-demo/resolve/main/__pycache__/text_classifier.cpython-312.pyc
3.69 kB
This file contains binary data. It cannot be displayed, but you can still download it.