Text Classification
Transformers
Safetensors
English
deberta-v2
financial-sentiment
finance
sentiment-analysis
deberta-v3
Eval Results (legacy)
text-embeddings-inference
Instructions to use 9mark9/finbert-deberta-large-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 9mark9/finbert-deberta-large-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="9mark9/finbert-deberta-large-sentiment")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("9mark9/finbert-deberta-large-sentiment") model = AutoModelForSequenceClassification.from_pretrained("9mark9/finbert-deberta-large-sentiment", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from 9mark9/finbert-deberta-large-sentiment: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/9mark9/finbert-deberta-large-sentiment/resolve/main/config.json
- Command line
-
hf download hf://9mark9/finbert-deberta-large-sentiment/config.json
-
curl -L -o config.json https://huggingface.co/9mark9/finbert-deberta-large-sentiment/resolve/main/config.json
1.03 kB
| { | |
| "architectures": [ | |
| "DebertaV2ForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "dtype": "float32", | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 1024, | |
| "id2label": { | |
| "0": "negative", | |
| "1": "neutral", | |
| "2": "positive" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 4096, | |
| "label2id": { | |
| "negative": 0, | |
| "neutral": 1, | |
| "positive": 2 | |
| }, | |
| "layer_norm_eps": 1e-07, | |
| "legacy": true, | |
| "max_position_embeddings": 512, | |
| "max_relative_positions": -1, | |
| "model_type": "deberta-v2", | |
| "norm_rel_ebd": "layer_norm", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 24, | |
| "pad_token_id": 0, | |
| "pooler_dropout": 0, | |
| "pooler_hidden_act": "gelu", | |
| "pooler_hidden_size": 1024, | |
| "pos_att_type": [ | |
| "p2c", | |
| "c2p" | |
| ], | |
| "position_biased_input": false, | |
| "position_buckets": 256, | |
| "relative_attention": true, | |
| "share_att_key": true, | |
| "transformers_version": "4.57.6", | |
| "type_vocab_size": 0, | |
| "vocab_size": 128100, | |
| "torch_dtype": "float32" | |
| } |