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