Text Classification
Transformers
Safetensors
English
qwen3_5_text
text-generation
Rodinia
finance
financial-ai
decision-intelligence
typed-decisions
financial-classification
calibrated-probabilities
probability-calibration
risk-assessment
sentiment-analysis
portfolio-analysis
0.8b
sociodynamics-ai
Instructions to use NeoSapian/Rodinia with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NeoSapian/Rodinia with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NeoSapian/Rodinia")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("NeoSapian/Rodinia") model = AutoModelForCausalLM.from_pretrained("NeoSapian/Rodinia", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,4 +1,3 @@
|
|
| 1 |
-
|
| 2 |
---
|
| 3 |
license: other
|
| 4 |
language:
|
|
@@ -6,7 +5,7 @@ language:
|
|
| 6 |
library_name: transformers
|
| 7 |
pipeline_tag: text-classification
|
| 8 |
tags:
|
| 9 |
-
-
|
| 10 |
- finance
|
| 11 |
- financial-ai
|
| 12 |
- decision-intelligence
|
|
@@ -22,12 +21,12 @@ tags:
|
|
| 22 |
- sociodynamics-ai
|
| 23 |
---
|
| 24 |
|
| 25 |
-
#
|
| 26 |
### A 0.8B Typed Financial Decision Intelligence Model
|
| 27 |
|
| 28 |
-
**
|
| 29 |
|
| 30 |
-
Unlike conventional financial language models designed primarily to generate natural-language responses,
|
| 31 |
|
| 32 |
It uses a specialized classification interface built around three decision types:
|
| 33 |
|
|
@@ -35,7 +34,7 @@ It uses a specialized classification interface built around three decision types
|
|
| 35 |
- **Score:** Evaluates a state against predefined ordinal levels.
|
| 36 |
- **Noul:** Produces a binary yes/no decision.
|
| 37 |
|
| 38 |
-
|
| 39 |
|
| 40 |
The model is a full fine-tune of `Qwen/Qwen3.5-0.8B-Base` and uses temperature calibration fitted on a held-out split.
|
| 41 |
|
|
@@ -45,8 +44,8 @@ The model is a full fine-tune of `Qwen/Qwen3.5-0.8B-Base` and uses temperature c
|
|
| 45 |
|
| 46 |
| Property | Description |
|
| 47 |
|---|---|
|
| 48 |
-
| Model |
|
| 49 |
-
| Repository | `NeoSapian/
|
| 50 |
| Developer | Sociodynamics AI |
|
| 51 |
| Model size | 0.8B parameters |
|
| 52 |
| Base model | Qwen/Qwen3.5-0.8B-Base |
|
|
@@ -62,9 +61,9 @@ The model is a full fine-tune of `Qwen/Qwen3.5-0.8B-Base` and uses temperature c
|
|
| 62 |
|
| 63 |
## 1.1 Design Philosophy
|
| 64 |
|
| 65 |
-
|
| 66 |
|
| 67 |
-
A generative model typically receives a financial prompt and produces a textual explanation.
|
| 68 |
|
| 69 |
It evaluates the state against those questions and returns probability distributions over the available decision options.
|
| 70 |
|
|
@@ -76,7 +75,7 @@ This makes the output suitable for downstream systems that need structured class
|
|
| 76 |
Financial State
|
| 77 |
|
|
| 78 |
v
|
| 79 |
-
|
| 80 |
|
|
| 81 |
v
|
| 82 |
Typed Decision Interface
|
|
@@ -108,7 +107,7 @@ This makes the output suitable for downstream systems that need structured class
|
|
| 108 |
|
| 109 |
# 2. Model Architecture
|
| 110 |
|
| 111 |
-
|
| 112 |
|
| 113 |
`Qwen/Qwen3.5-0.8B-Base`
|
| 114 |
|
|
@@ -157,7 +156,7 @@ The model selects the candidate with the highest probability.
|
|
| 157 |
|
| 158 |
## 2.2 Probability Calibration
|
| 159 |
|
| 160 |
-
|
| 161 |
|
| 162 |
The calibrated probability is:
|
| 163 |
|
|
@@ -253,7 +252,7 @@ Potential applications:
|
|
| 253 |
|
| 254 |
# 3. Training Methodology
|
| 255 |
|
| 256 |
-
|
| 257 |
|
| 258 |
The training process combines real-world financial classification datasets and synthetic, rule-labelled decision tasks.
|
| 259 |
|
|
@@ -319,7 +318,7 @@ However, performance on synthetic tasks should not be interpreted as equivalent
|
|
| 319 |
|
| 320 |
# 4. Inference and Usage
|
| 321 |
|
| 322 |
-
|
| 323 |
|
| 324 |
It does not use conventional text-generation inference for its primary decision outputs.
|
| 325 |
|
|
@@ -336,7 +335,7 @@ from huggingface_hub import hf_hub_download
|
|
| 336 |
import importlib.util
|
| 337 |
import sys
|
| 338 |
|
| 339 |
-
MODEL_ID = "NeoSapian/
|
| 340 |
|
| 341 |
# Download the decision interface
|
| 342 |
p = hf_hub_download(
|
|
@@ -356,13 +355,13 @@ sys.modules["jev_common"] = m
|
|
| 356 |
|
| 357 |
s.loader.exec_module(m)
|
| 358 |
|
| 359 |
-
# Initialize
|
| 360 |
clf = m.JevClassifier(MODEL_ID)
|
| 361 |
```
|
| 362 |
|
| 363 |
## 4.3 Multi-Question Financial Evaluation
|
| 364 |
|
| 365 |
-
|
| 366 |
|
| 367 |
Example:
|
| 368 |
|
|
@@ -410,7 +409,7 @@ The model returns structured decision results rather than requiring a generated
|
|
| 410 |
|
| 411 |
## 4.4 Structured Financial State Evaluation
|
| 412 |
|
| 413 |
-
|
| 414 |
|
| 415 |
Example:
|
| 416 |
|
|
@@ -451,7 +450,7 @@ This demonstrates the typed decision interface. The reliability of a portfolio a
|
|
| 451 |
|
| 452 |
# 5. Evaluation Methodology
|
| 453 |
|
| 454 |
-
|
| 455 |
|
| 456 |
The evaluation covers:
|
| 457 |
|
|
@@ -558,13 +557,13 @@ Some dataset slices are small. Their accuracy values should not be interpreted a
|
|
| 558 |
|
| 559 |
# 7. Probability Calibration
|
| 560 |
|
| 561 |
-
An important component of
|
| 562 |
|
| 563 |
A classification model can achieve high accuracy while producing poorly calibrated confidence values.
|
| 564 |
|
| 565 |
For example, a model that predicts 90% confidence on 100 decisions should ideally be correct approximately 90 times.
|
| 566 |
|
| 567 |
-
|
| 568 |
|
| 569 |
## 7.1 Calibration Results
|
| 570 |
|
|
@@ -612,7 +611,7 @@ Calibration does not establish that the model understands future market behavior
|
|
| 612 |
|
| 613 |
# 8. Intended Applications
|
| 614 |
|
| 615 |
-
|
| 616 |
|
| 617 |
## 8.1 Financial News Intelligence
|
| 618 |
|
|
@@ -642,11 +641,11 @@ Potential applications:
|
|
| 642 |
- HHI-based assessment
|
| 643 |
- Rule-labelled portfolio decision tasks
|
| 644 |
|
| 645 |
-
For arithmetic-heavy portfolio calculations, use deterministic financial computation and use
|
| 646 |
|
| 647 |
## 8.4 Financial Decision Pipelines
|
| 648 |
|
| 649 |
-
|
| 650 |
|
| 651 |
1. Financial data collection
|
| 652 |
2. State construction
|
|
@@ -657,9 +656,9 @@ Nirnay can be integrated into pipelines that combine:
|
|
| 657 |
|
| 658 |
---
|
| 659 |
|
| 660 |
-
# 9. What
|
| 661 |
|
| 662 |
-
|
| 663 |
|
| 664 |
It is not designed to:
|
| 665 |
|
|
@@ -681,7 +680,7 @@ The model evaluates the supplied state against a defined classification question
|
|
| 681 |
|
| 682 |
# 10. Limitations and Responsible Use
|
| 683 |
|
| 684 |
-
Users should consider the following limitations before deploying
|
| 685 |
|
| 686 |
### Training Distribution
|
| 687 |
|
|
@@ -705,7 +704,7 @@ Choice and score outputs depend on the criteria and levels supplied by the user.
|
|
| 705 |
|
| 706 |
### Financial Safety
|
| 707 |
|
| 708 |
-
|
| 709 |
|
| 710 |
Always independently validate high-impact financial decisions.
|
| 711 |
|
|
@@ -713,11 +712,11 @@ Always independently validate high-impact financial decisions.
|
|
| 713 |
|
| 714 |
# 11. Model Deployment
|
| 715 |
|
| 716 |
-
|
| 717 |
|
| 718 |
**Model repository:**
|
| 719 |
|
| 720 |
-
https://huggingface.co/NeoSapian/
|
| 721 |
|
| 722 |
The repository contains the model implementation and supporting files required by the inference interface.
|
| 723 |
|
|
@@ -736,7 +735,7 @@ For deployment, use the provided `jev_common.py` implementation rather than assu
|
|
| 736 |
|
| 737 |
# 12. Research and Development
|
| 738 |
|
| 739 |
-
|
| 740 |
|
| 741 |
Its development focuses on:
|
| 742 |
|
|
@@ -769,8 +768,8 @@ These are development directions, not claims about currently implemented capabil
|
|
| 769 |
|
| 770 |
| Component | Specification |
|
| 771 |
|---|---|
|
| 772 |
-
| Model name |
|
| 773 |
-
| Model repository | NeoSapian/
|
| 774 |
| Parameters | 0.8B |
|
| 775 |
| Base architecture | Qwen3.5-0.8B-Base |
|
| 776 |
| Fine-tuning | Full fine-tuning |
|
|
@@ -792,20 +791,20 @@ These are development directions, not claims about currently implemented capabil
|
|
| 792 |
|
| 793 |
## Sociodynamics AI
|
| 794 |
|
| 795 |
-
**
|
| 796 |
|
| 797 |
-
|
| 798 |
|
| 799 |
The project explores how smaller language models can be adapted to perform specialized classification and decision tasks with structured probabilistic outputs.
|
| 800 |
|
| 801 |
-
**Model:**
|
| 802 |
**Parameters:** 0.8B
|
| 803 |
**Domain:** Financial Decision Intelligence
|
| 804 |
**Organization:** Sociodynamics AI
|
| 805 |
|
| 806 |
Hugging Face:
|
| 807 |
|
| 808 |
-
https://huggingface.co/NeoSapian/
|
| 809 |
|
| 810 |
---
|
| 811 |
|
|
@@ -827,7 +826,7 @@ Users are responsible for validating model outputs before using them in financia
|
|
| 827 |
|
| 828 |
<div align="center">
|
| 829 |
|
| 830 |
-
#
|
| 831 |
|
| 832 |
### Structured Intelligence for Financial Decisions.
|
| 833 |
|
|
@@ -835,4 +834,4 @@ Users are responsible for validating model outputs before using them in financia
|
|
| 835 |
|
| 836 |
A compact 0.8B typed financial decision intelligence model.
|
| 837 |
|
| 838 |
-
</div>
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
language:
|
|
|
|
| 5 |
library_name: transformers
|
| 6 |
pipeline_tag: text-classification
|
| 7 |
tags:
|
| 8 |
+
- Rodinia
|
| 9 |
- finance
|
| 10 |
- financial-ai
|
| 11 |
- decision-intelligence
|
|
|
|
| 21 |
- sociodynamics-ai
|
| 22 |
---
|
| 23 |
|
| 24 |
+
# Rodinia
|
| 25 |
### A 0.8B Typed Financial Decision Intelligence Model
|
| 26 |
|
| 27 |
+
**Rodinia** is a specialized financial decision intelligence model developed by **Sociodynamics AI**.
|
| 28 |
|
| 29 |
+
Unlike conventional financial language models designed primarily to generate natural-language responses, Rodinia is designed to interpret financial states and produce structured, typed decisions with associated probability distributions.
|
| 30 |
|
| 31 |
It uses a specialized classification interface built around three decision types:
|
| 32 |
|
|
|
|
| 34 |
- **Score:** Evaluates a state against predefined ordinal levels.
|
| 35 |
- **Noul:** Produces a binary yes/no decision.
|
| 36 |
|
| 37 |
+
Rodinia uses next-token logits over predefined option tokens to calculate decision probabilities. It does not require free-form natural-language generation to produce its decisions.
|
| 38 |
|
| 39 |
The model is a full fine-tune of `Qwen/Qwen3.5-0.8B-Base` and uses temperature calibration fitted on a held-out split.
|
| 40 |
|
|
|
|
| 44 |
|
| 45 |
| Property | Description |
|
| 46 |
|---|---|
|
| 47 |
+
| Model | Rodinia |
|
| 48 |
+
| Repository | `NeoSapian/Rodinia` |
|
| 49 |
| Developer | Sociodynamics AI |
|
| 50 |
| Model size | 0.8B parameters |
|
| 51 |
| Base model | Qwen/Qwen3.5-0.8B-Base |
|
|
|
|
| 61 |
|
| 62 |
## 1.1 Design Philosophy
|
| 63 |
|
| 64 |
+
Rodinia follows a different approach from generative financial LLMs.
|
| 65 |
|
| 66 |
+
A generative model typically receives a financial prompt and produces a textual explanation. Rodinia instead receives a financial state and a set of explicitly defined decision questions.
|
| 67 |
|
| 68 |
It evaluates the state against those questions and returns probability distributions over the available decision options.
|
| 69 |
|
|
|
|
| 75 |
Financial State
|
| 76 |
|
|
| 77 |
v
|
| 78 |
+
Rodinia 0.8B
|
| 79 |
|
|
| 80 |
v
|
| 81 |
Typed Decision Interface
|
|
|
|
| 107 |
|
| 108 |
# 2. Model Architecture
|
| 109 |
|
| 110 |
+
Rodinia is a full fine-tune of:
|
| 111 |
|
| 112 |
`Qwen/Qwen3.5-0.8B-Base`
|
| 113 |
|
|
|
|
| 156 |
|
| 157 |
## 2.2 Probability Calibration
|
| 158 |
|
| 159 |
+
Rodinia applies temperature scaling to adjust the confidence distribution of its predictions.
|
| 160 |
|
| 161 |
The calibrated probability is:
|
| 162 |
|
|
|
|
| 252 |
|
| 253 |
# 3. Training Methodology
|
| 254 |
|
| 255 |
+
Rodinia was trained using full fine-tuning of its base model.
|
| 256 |
|
| 257 |
The training process combines real-world financial classification datasets and synthetic, rule-labelled decision tasks.
|
| 258 |
|
|
|
|
| 318 |
|
| 319 |
# 4. Inference and Usage
|
| 320 |
|
| 321 |
+
Rodinia provides a typed decision interface through `JevClassifier`.
|
| 322 |
|
| 323 |
It does not use conventional text-generation inference for its primary decision outputs.
|
| 324 |
|
|
|
|
| 335 |
import importlib.util
|
| 336 |
import sys
|
| 337 |
|
| 338 |
+
MODEL_ID = "NeoSapian/Rodinia"
|
| 339 |
|
| 340 |
# Download the decision interface
|
| 341 |
p = hf_hub_download(
|
|
|
|
| 355 |
|
| 356 |
s.loader.exec_module(m)
|
| 357 |
|
| 358 |
+
# Initialize Rodinia
|
| 359 |
clf = m.JevClassifier(MODEL_ID)
|
| 360 |
```
|
| 361 |
|
| 362 |
## 4.3 Multi-Question Financial Evaluation
|
| 363 |
|
| 364 |
+
Rodinia can evaluate multiple decision questions against the same financial state.
|
| 365 |
|
| 366 |
Example:
|
| 367 |
|
|
|
|
| 409 |
|
| 410 |
## 4.4 Structured Financial State Evaluation
|
| 411 |
|
| 412 |
+
Rodinia can evaluate text or JSON-formatted state descriptions.
|
| 413 |
|
| 414 |
Example:
|
| 415 |
|
|
|
|
| 450 |
|
| 451 |
# 5. Evaluation Methodology
|
| 452 |
|
| 453 |
+
Rodinia was evaluated on a held-out test set containing 7,290 examples.
|
| 454 |
|
| 455 |
The evaluation covers:
|
| 456 |
|
|
|
|
| 557 |
|
| 558 |
# 7. Probability Calibration
|
| 559 |
|
| 560 |
+
An important component of Rodinia is probability calibration.
|
| 561 |
|
| 562 |
A classification model can achieve high accuracy while producing poorly calibrated confidence values.
|
| 563 |
|
| 564 |
For example, a model that predicts 90% confidence on 100 decisions should ideally be correct approximately 90 times.
|
| 565 |
|
| 566 |
+
Rodinia uses temperature scaling to adjust the distribution of output probabilities.
|
| 567 |
|
| 568 |
## 7.1 Calibration Results
|
| 569 |
|
|
|
|
| 611 |
|
| 612 |
# 8. Intended Applications
|
| 613 |
|
| 614 |
+
Rodinia is intended to serve as a structured decision component inside larger financial software systems.
|
| 615 |
|
| 616 |
## 8.1 Financial News Intelligence
|
| 617 |
|
|
|
|
| 641 |
- HHI-based assessment
|
| 642 |
- Rule-labelled portfolio decision tasks
|
| 643 |
|
| 644 |
+
For arithmetic-heavy portfolio calculations, use deterministic financial computation and use Rodinia as a classification layer.
|
| 645 |
|
| 646 |
## 8.4 Financial Decision Pipelines
|
| 647 |
|
| 648 |
+
Rodinia can be integrated into pipelines that combine:
|
| 649 |
|
| 650 |
1. Financial data collection
|
| 651 |
2. State construction
|
|
|
|
| 656 |
|
| 657 |
---
|
| 658 |
|
| 659 |
+
# 9. What Rodinia Is Not
|
| 660 |
|
| 661 |
+
Rodinia is not a conventional generative financial chatbot.
|
| 662 |
|
| 663 |
It is not designed to:
|
| 664 |
|
|
|
|
| 680 |
|
| 681 |
# 10. Limitations and Responsible Use
|
| 682 |
|
| 683 |
+
Users should consider the following limitations before deploying Rodinia.
|
| 684 |
|
| 685 |
### Training Distribution
|
| 686 |
|
|
|
|
| 704 |
|
| 705 |
### Financial Safety
|
| 706 |
|
| 707 |
+
Rodinia should be used as a decision-support component, not as an autonomous investment authority.
|
| 708 |
|
| 709 |
Always independently validate high-impact financial decisions.
|
| 710 |
|
|
|
|
| 712 |
|
| 713 |
# 11. Model Deployment
|
| 714 |
|
| 715 |
+
Rodinia is hosted on Hugging Face.
|
| 716 |
|
| 717 |
**Model repository:**
|
| 718 |
|
| 719 |
+
https://huggingface.co/NeoSapian/Rodinia
|
| 720 |
|
| 721 |
The repository contains the model implementation and supporting files required by the inference interface.
|
| 722 |
|
|
|
|
| 735 |
|
| 736 |
# 12. Research and Development
|
| 737 |
|
| 738 |
+
Rodinia explores a specialized model and inference approach for structured financial decision-making.
|
| 739 |
|
| 740 |
Its development focuses on:
|
| 741 |
|
|
|
|
| 768 |
|
| 769 |
| Component | Specification |
|
| 770 |
|---|---|
|
| 771 |
+
| Model name | Rodinia |
|
| 772 |
+
| Model repository | NeoSapian/Rodinia |
|
| 773 |
| Parameters | 0.8B |
|
| 774 |
| Base architecture | Qwen3.5-0.8B-Base |
|
| 775 |
| Fine-tuning | Full fine-tuning |
|
|
|
|
| 791 |
|
| 792 |
## Sociodynamics AI
|
| 793 |
|
| 794 |
+
**Rodinia is developed by Sociodynamics AI.**
|
| 795 |
|
| 796 |
+
Rodinia is part of the organization's research into compact specialized AI systems and structured decision intelligence.
|
| 797 |
|
| 798 |
The project explores how smaller language models can be adapted to perform specialized classification and decision tasks with structured probabilistic outputs.
|
| 799 |
|
| 800 |
+
**Model:** Rodinia
|
| 801 |
**Parameters:** 0.8B
|
| 802 |
**Domain:** Financial Decision Intelligence
|
| 803 |
**Organization:** Sociodynamics AI
|
| 804 |
|
| 805 |
Hugging Face:
|
| 806 |
|
| 807 |
+
https://huggingface.co/NeoSapian/Rodinia
|
| 808 |
|
| 809 |
---
|
| 810 |
|
|
|
|
| 826 |
|
| 827 |
<div align="center">
|
| 828 |
|
| 829 |
+
# RODINIA
|
| 830 |
|
| 831 |
### Structured Intelligence for Financial Decisions.
|
| 832 |
|
|
|
|
| 834 |
|
| 835 |
A compact 0.8B typed financial decision intelligence model.
|
| 836 |
|
| 837 |
+
</div>
|