Text Classification
Transformers
TensorFlow
distilbert
generated_from_keras_callback
text-embeddings-inference
Instructions to use cpark2/cp_sent_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cpark2/cp_sent_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="cpark2/cp_sent_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("cpark2/cp_sent_model") model = AutoModelForSequenceClassification.from_pretrained("cpark2/cp_sent_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tf_model.h5 from cpark2/cp_sent_model: direct link, hf CLI and curl.
- Browser
- Download file 268 MB
-
https://huggingface.co/cpark2/cp_sent_model/resolve/main/tf_model.h5
- Command line
-
hf download hf://cpark2/cp_sent_model/tf_model.h5
-
curl -L -o tf_model.h5 https://huggingface.co/cpark2/cp_sent_model/resolve/main/tf_model.h5
268 MB
- Size of remote file:
- 268 MB
- SHA256:
- 35c3eeb47d0df00dafb90673088812f416524a70a787e8b6ef64e52560486978
·
Git Large File Storage (LFS) replaces large files with text pointers inside Git, while storing the file contents on a remote server. More info.