Instructions to use any0019/text_style_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use any0019/text_style_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="any0019/text_style_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("any0019/text_style_classifier") model = AutoModelForSequenceClassification.from_pretrained("any0019/text_style_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from any0019/text_style_classifier: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/any0019/text_style_classifier/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://any0019/text_style_classifier/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/any0019/text_style_classifier/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- 797da5e9075b1efe887831b705868b4430f5c3d3d9175bee5ca4259251e82b08
- Size of remote file:
- 438 MB
- SHA256:
- ebdceb87872e157d43b8a3a3daf254e1b5897b7e904261eeca1dbeb5101d3bf8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.