Instructions to use codesj/empathic-concern with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codesj/empathic-concern with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="codesj/empathic-concern")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("codesj/empathic-concern") model = AutoModelForSequenceClassification.from_pretrained("codesj/empathic-concern", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Joao Sedoc
Adding RoBERTa based empathy model fine-turned on the empathy dataset https://github.com/wwbp/empathic_reactions
3a4d41e Download tokenizer.json from codesj/empathic-concern: direct link, hf CLI and curl.
- Browser
- Download file 1.36 MB
-
https://huggingface.co/codesj/empathic-concern/resolve/main/tokenizer.json
- Command line
-
hf download hf://codesj/empathic-concern/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/codesj/empathic-concern/resolve/main/tokenizer.json
1.36 MB
File too large to display, you can check the raw version instead.