Instructions to use devnote5676/schwartz-values-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use devnote5676/schwartz-values-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="devnote5676/schwartz-values-classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("devnote5676/schwartz-values-classifier") model = AutoModelForSequenceClassification.from_pretrained("devnote5676/schwartz-values-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "<achievement>": 30531, | |
| "<benevolence>": 30527, | |
| "<conformity>": 30522, | |
| "<hedonism>": 30523, | |
| "<power>": 30530, | |
| "<security>": 30526, | |
| "<self-direction>": 30525, | |
| "<stimulation>": 30528, | |
| "<tradition>": 30529, | |
| "<universalism>": 30524 | |
| } | |