Text Classification
Transformers
ONNX
Safetensors
English
bert
political-discourse
media-bias
wording
contextual-review
text-embeddings-inference
Instructions to use Giuliocc/doxa-wording-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Giuliocc/doxa-wording-encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Giuliocc/doxa-wording-encoder")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Giuliocc/doxa-wording-encoder") model = AutoModelForSequenceClassification.from_pretrained("Giuliocc/doxa-wording-encoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 363 Bytes
b6e07f2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | {
"word_tfidf": {
"C": 1.0,
"validation_macro_f1": 0.7737704918032787
},
"character_tfidf": {
"C": 1.0,
"validation_macro_f1": 0.7866559052999731
},
"word_character_tfidf": {
"C": 0.1,
"validation_macro_f1": 0.7865548389875217
},
"frozen_encoder_logistic": {
"C": 1.0,
"validation_macro_f1": 0.7867385247576941
}
}
|