Text Classification
Transformers
Safetensors
finance
sentiment-analysis
market-impact
gated-fusion
multitask-learning
event-study
Instructions to use kyLELEng/finimpact-direction1d-v4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kyLELEng/finimpact-direction1d-v4 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kyLELEng/finimpact-direction1d-v4")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kyLELEng/finimpact-direction1d-v4", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download class_weights.json from kyLELEng/finimpact-direction1d-v4: direct link, hf CLI and curl.
- Browser
- Download file 380 Bytes
-
https://huggingface.co/kyLELEng/finimpact-direction1d-v4/resolve/main/class_weights.json
- Command line
-
hf download hf://kyLELEng/finimpact-direction1d-v4/class_weights.json
-
curl -L -o class_weights.json https://huggingface.co/kyLELEng/finimpact-direction1d-v4/resolve/main/class_weights.json
380 Bytes
| { | |
| "sentiment": [ | |
| 0.3636363744735718, | |
| 2.2727272510528564, | |
| 0.3636363744735718 | |
| ], | |
| "direction_1d": [ | |
| 0.9880715608596802, | |
| 0.9986989498138428, | |
| 1.013229489326477 | |
| ], | |
| "direction_5d": [ | |
| 1.2122101783752441, | |
| 0.5105218887329102, | |
| 1.2772679328918457 | |
| ], | |
| "volatility": [ | |
| 1.0096524953842163, | |
| 1.0141775608062744, | |
| 0.9761698842048645 | |
| ] | |
| } |