Upload folder using huggingface_hub
Browse files- README.md +203 -3
- class_mapping.json +38 -0
- class_mapping_single.json +38 -0
- config.json +27 -0
- feature_normalizer.json +222 -0
- feature_selector.json +113 -0
- mlp_weights.pt +3 -0
- mlp_weights_multitask.pt +3 -0
- mlp_weights_single.pt +3 -0
- tfidf_vectorizer.json +0 -0
- tfidf_vectorizer_multitask.json +0 -0
- tfidf_vectorizer_single.json +0 -0
README.md
CHANGED
|
@@ -1,3 +1,203 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: mit
|
| 4 |
+
tags:
|
| 5 |
+
- mbti
|
| 6 |
+
- personality-classification
|
| 7 |
+
- text-classification
|
| 8 |
+
- multi-task-learning
|
| 9 |
+
- rust
|
| 10 |
+
datasets:
|
| 11 |
+
- mbti-kaggle
|
| 12 |
+
metrics:
|
| 13 |
+
- accuracy
|
| 14 |
+
model-index:
|
| 15 |
+
- name: psycial-mbti-multitask
|
| 16 |
+
results:
|
| 17 |
+
- task:
|
| 18 |
+
type: text-classification
|
| 19 |
+
name: MBTI Personality Classification
|
| 20 |
+
dataset:
|
| 21 |
+
name: MBTI Kaggle Dataset
|
| 22 |
+
type: mbti-kaggle
|
| 23 |
+
metrics:
|
| 24 |
+
- type: accuracy
|
| 25 |
+
value: 49.80
|
| 26 |
+
name: Overall Test Accuracy
|
| 27 |
+
- type: accuracy
|
| 28 |
+
value: 80.58
|
| 29 |
+
name: E/I Accuracy
|
| 30 |
+
- type: accuracy
|
| 31 |
+
value: 87.15
|
| 32 |
+
name: S/N Accuracy
|
| 33 |
+
- type: accuracy
|
| 34 |
+
value: 81.90
|
| 35 |
+
name: T/F Accuracy
|
| 36 |
+
- type: accuracy
|
| 37 |
+
value: 75.33
|
| 38 |
+
name: J/P Accuracy
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
# MBTI Personality Classifier - Multi-Task Model
|
| 42 |
+
|
| 43 |
+
Production-grade MBTI (Myers-Briggs Type Indicator) personality classification model implemented in Rust with GPU acceleration.
|
| 44 |
+
|
| 45 |
+
## Model Description
|
| 46 |
+
|
| 47 |
+
This model predicts MBTI personality type from text using a multi-task learning approach with four independent binary classifiers for each MBTI dimension:
|
| 48 |
+
- **E/I**: Extraversion vs Introversion
|
| 49 |
+
- **S/N**: Sensing vs Intuition
|
| 50 |
+
- **T/F**: Thinking vs Feeling
|
| 51 |
+
- **J/P**: Judging vs Perceiving
|
| 52 |
+
|
| 53 |
+
### Architecture
|
| 54 |
+
|
| 55 |
+
- **Input Features**: 5384 dimensions
|
| 56 |
+
- 5000 TF-IDF features (top words from vocabulary)
|
| 57 |
+
- 384 BERT embeddings (sentence-transformers/all-MiniLM-L6-v2)
|
| 58 |
+
- **Network**: 4-layer deep MLP
|
| 59 |
+
- Architecture: 5384 → [1024, 768, 512, 256] → 4×2 outputs
|
| 60 |
+
- Dropout: 0.5 (disabled during inference)
|
| 61 |
+
- Optimizer: Adam (lr=0.001)
|
| 62 |
+
- **Training**: Per-dimension epochs with weighted loss
|
| 63 |
+
- E/I: 30 epochs, weight=1.2
|
| 64 |
+
- S/N: 30 epochs, weight=1.0
|
| 65 |
+
- T/F: 25 epochs, weight=1.0
|
| 66 |
+
- J/P: 30 epochs, weight=1.3
|
| 67 |
+
|
| 68 |
+
## Performance
|
| 69 |
+
|
| 70 |
+
### Overall Metrics
|
| 71 |
+
|
| 72 |
+
| Metric | Value |
|
| 73 |
+
|--------|-------|
|
| 74 |
+
| **Test Accuracy** | **49.80%** |
|
| 75 |
+
| vs Random Baseline (6.25%) | 8.0x better |
|
| 76 |
+
| vs TF-IDF Baseline (21.73%) | +129.2% improvement |
|
| 77 |
+
| Training Time | ~50 seconds (GPU) |
|
| 78 |
+
|
| 79 |
+
### Per-Dimension Accuracy
|
| 80 |
+
|
| 81 |
+
| Dimension | Accuracy | Samples |
|
| 82 |
+
|-----------|----------|---------|
|
| 83 |
+
| E/I | 80.58% | 1398/1735 |
|
| 84 |
+
| S/N | 87.15% | 1512/1735 |
|
| 85 |
+
| T/F | 81.90% | 1421/1735 |
|
| 86 |
+
| J/P | 75.33% | 1307/1735 |
|
| 87 |
+
|
| 88 |
+
## Training Data
|
| 89 |
+
|
| 90 |
+
- **Dataset**: MBTI Kaggle Dataset (8675 samples)
|
| 91 |
+
- **Split**: 80% train (6940), 20% test (1735)
|
| 92 |
+
- **Classes**: 16 MBTI types (INTJ, ENFP, etc.)
|
| 93 |
+
- **Class Distribution**:
|
| 94 |
+
- I: 77%, E: 23% (imbalanced)
|
| 95 |
+
- N: 86%, S: 14% (highly imbalanced)
|
| 96 |
+
- F: 54%, T: 46% (balanced)
|
| 97 |
+
- J: 60%, P: 40% (moderately imbalanced)
|
| 98 |
+
|
| 99 |
+
## Usage
|
| 100 |
+
|
| 101 |
+
### Requirements
|
| 102 |
+
|
| 103 |
+
- Rust 1.70+
|
| 104 |
+
- PyTorch/libtorch (for tch-rs bindings)
|
| 105 |
+
- CUDA (optional, for GPU acceleration)
|
| 106 |
+
|
| 107 |
+
### Installation
|
| 108 |
+
|
| 109 |
+
```bash
|
| 110 |
+
git clone https://github.com/your-username/psycial
|
| 111 |
+
cd psycial
|
| 112 |
+
|
| 113 |
+
# Set up environment
|
| 114 |
+
conda create -n psycial python=3.10
|
| 115 |
+
conda activate psycial
|
| 116 |
+
conda install pytorch
|
| 117 |
+
|
| 118 |
+
# Build
|
| 119 |
+
export LIBTORCH_USE_PYTORCH=1
|
| 120 |
+
export LIBTORCH_BYPASS_VERSION_CHECK=1
|
| 121 |
+
cargo build --release
|
| 122 |
+
```
|
| 123 |
+
|
| 124 |
+
### Inference
|
| 125 |
+
|
| 126 |
+
```bash
|
| 127 |
+
# Train model
|
| 128 |
+
./target/release/psycial hybrid train --multi-task
|
| 129 |
+
|
| 130 |
+
# Predict single text
|
| 131 |
+
./target/release/psycial hybrid predict "I love solving complex problems and thinking deeply about abstract concepts."
|
| 132 |
+
```
|
| 133 |
+
|
| 134 |
+
### Programmatic Usage (Rust)
|
| 135 |
+
|
| 136 |
+
```rust
|
| 137 |
+
use psycial::hybrid::predict::predict_single;
|
| 138 |
+
|
| 139 |
+
// Load model and predict
|
| 140 |
+
predict_single("Your text here")?;
|
| 141 |
+
```
|
| 142 |
+
|
| 143 |
+
## Model Files
|
| 144 |
+
|
| 145 |
+
This model repository includes:
|
| 146 |
+
|
| 147 |
+
1. **mlp_weights_multitask.pt** (27MB) - Neural network weights
|
| 148 |
+
2. **tfidf_vectorizer_multitask.json** (213KB) - TF-IDF vocabulary and IDF weights
|
| 149 |
+
3. **feature_normalizer.json** (5KB) - Feature normalization parameters (optional)
|
| 150 |
+
4. **feature_selector.json** (1KB) - Pearson feature selector indices (optional)
|
| 151 |
+
|
| 152 |
+
## Limitations
|
| 153 |
+
|
| 154 |
+
1. **Moderate Accuracy**: 49.80% is significantly better than random/baseline but still has room for improvement
|
| 155 |
+
2. **Class Imbalance**: Model may favor majority classes (I, N, F, J)
|
| 156 |
+
3. **Data Bias**: Trained on online forum posts, may not generalize to all text types
|
| 157 |
+
4. **Language**: English only
|
| 158 |
+
5. **MBTI Validity**: MBTI itself has limited scientific validity
|
| 159 |
+
|
| 160 |
+
## Ethical Considerations
|
| 161 |
+
|
| 162 |
+
- MBTI is not scientifically validated for hiring/clinical decisions
|
| 163 |
+
- Predictions should be used for entertainment/research only
|
| 164 |
+
- Be aware of class imbalances and potential biases
|
| 165 |
+
- Do not use for discriminatory purposes
|
| 166 |
+
|
| 167 |
+
## Technical Details
|
| 168 |
+
|
| 169 |
+
### Framework
|
| 170 |
+
- **Language**: Rust
|
| 171 |
+
- **ML Framework**: tch-rs (PyTorch bindings)
|
| 172 |
+
- **BERT Model**: sentence-transformers/all-MiniLM-L6-v2
|
| 173 |
+
- **Device**: CUDA-capable GPU (falls back to CPU)
|
| 174 |
+
|
| 175 |
+
### Key Innovations
|
| 176 |
+
|
| 177 |
+
1. **Dropout Bug Fix**: Discovered and fixed critical bug where dropout remained active during inference, causing ~5% accuracy loss
|
| 178 |
+
2. **Per-Dimension Optimization**: Different epochs and loss weights for each MBTI dimension
|
| 179 |
+
3. **Multi-Task Learning**: Four independent binary classifiers instead of 16-way classification
|
| 180 |
+
|
| 181 |
+
## Citation
|
| 182 |
+
|
| 183 |
+
If you use this model, please cite:
|
| 184 |
+
|
| 185 |
+
```bibtex
|
| 186 |
+
@software{psycial_mbti_2025,
|
| 187 |
+
title = {Polyjuice: Multi-Task MBTI Personality Classifier},
|
| 188 |
+
author = {lderRyan},
|
| 189 |
+
year = {2025},
|
| 190 |
+
url = {https://huggingface.co/lderRyan/polyjuice}
|
| 191 |
+
}
|
| 192 |
+
```
|
| 193 |
+
|
| 194 |
+
## License
|
| 195 |
+
|
| 196 |
+
MIT License - See LICENSE file for details
|
| 197 |
+
|
| 198 |
+
## Acknowledgments
|
| 199 |
+
|
| 200 |
+
- **rust-bert**: Guillaume BE for BERT Rust implementation
|
| 201 |
+
- **Dataset**: MBTI Kaggle Dataset
|
| 202 |
+
- **sentence-transformers**: all-MiniLM-L6-v2 model
|
| 203 |
+
|
class_mapping.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"class_to_idx": {
|
| 3 |
+
"ENFJ": 0,
|
| 4 |
+
"ENFP": 1,
|
| 5 |
+
"ENTJ": 2,
|
| 6 |
+
"ENTP": 3,
|
| 7 |
+
"ESFJ": 4,
|
| 8 |
+
"ESFP": 5,
|
| 9 |
+
"ESTJ": 6,
|
| 10 |
+
"ESTP": 7,
|
| 11 |
+
"INFJ": 8,
|
| 12 |
+
"INFP": 9,
|
| 13 |
+
"INTJ": 10,
|
| 14 |
+
"INTP": 11,
|
| 15 |
+
"ISFJ": 12,
|
| 16 |
+
"ISFP": 13,
|
| 17 |
+
"ISTJ": 14,
|
| 18 |
+
"ISTP": 15
|
| 19 |
+
},
|
| 20 |
+
"idx_to_class": {
|
| 21 |
+
"0": "ENFJ",
|
| 22 |
+
"1": "ENFP",
|
| 23 |
+
"10": "INTJ",
|
| 24 |
+
"11": "INTP",
|
| 25 |
+
"12": "ISFJ",
|
| 26 |
+
"13": "ISFP",
|
| 27 |
+
"14": "ISTJ",
|
| 28 |
+
"15": "ISTP",
|
| 29 |
+
"2": "ENTJ",
|
| 30 |
+
"3": "ENTP",
|
| 31 |
+
"4": "ESFJ",
|
| 32 |
+
"5": "ESFP",
|
| 33 |
+
"6": "ESTJ",
|
| 34 |
+
"7": "ESTP",
|
| 35 |
+
"8": "INFJ",
|
| 36 |
+
"9": "INFP"
|
| 37 |
+
}
|
| 38 |
+
}
|
class_mapping_single.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"class_to_idx": {
|
| 3 |
+
"ENFJ": 0,
|
| 4 |
+
"ENFP": 1,
|
| 5 |
+
"ENTJ": 2,
|
| 6 |
+
"ENTP": 3,
|
| 7 |
+
"ESFJ": 4,
|
| 8 |
+
"ESFP": 5,
|
| 9 |
+
"ESTJ": 6,
|
| 10 |
+
"ESTP": 7,
|
| 11 |
+
"INFJ": 8,
|
| 12 |
+
"INFP": 9,
|
| 13 |
+
"INTJ": 10,
|
| 14 |
+
"INTP": 11,
|
| 15 |
+
"ISFJ": 12,
|
| 16 |
+
"ISFP": 13,
|
| 17 |
+
"ISTJ": 14,
|
| 18 |
+
"ISTP": 15
|
| 19 |
+
},
|
| 20 |
+
"idx_to_class": {
|
| 21 |
+
"0": "ENFJ",
|
| 22 |
+
"1": "ENFP",
|
| 23 |
+
"10": "INTJ",
|
| 24 |
+
"11": "INTP",
|
| 25 |
+
"12": "ISFJ",
|
| 26 |
+
"13": "ISFP",
|
| 27 |
+
"14": "ISTJ",
|
| 28 |
+
"15": "ISTP",
|
| 29 |
+
"2": "ENTJ",
|
| 30 |
+
"3": "ENTP",
|
| 31 |
+
"4": "ESFJ",
|
| 32 |
+
"5": "ESFP",
|
| 33 |
+
"6": "ESTJ",
|
| 34 |
+
"7": "ESTP",
|
| 35 |
+
"8": "INFJ",
|
| 36 |
+
"9": "INFP"
|
| 37 |
+
}
|
| 38 |
+
}
|
config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "multi-task-mlp",
|
| 3 |
+
"task": "mbti-classification",
|
| 4 |
+
"num_classes": 16,
|
| 5 |
+
"dimensions": [
|
| 6 |
+
"E/I",
|
| 7 |
+
"S/N",
|
| 8 |
+
"T/F",
|
| 9 |
+
"J/P"
|
| 10 |
+
],
|
| 11 |
+
"input_features": 5384,
|
| 12 |
+
"architecture": [
|
| 13 |
+
1024,
|
| 14 |
+
768,
|
| 15 |
+
512,
|
| 16 |
+
256
|
| 17 |
+
],
|
| 18 |
+
"accuracy": {
|
| 19 |
+
"overall": 49.8,
|
| 20 |
+
"e_i": 80.58,
|
| 21 |
+
"s_n": 87.15,
|
| 22 |
+
"t_f": 81.9,
|
| 23 |
+
"j_p": 75.33
|
| 24 |
+
},
|
| 25 |
+
"framework": "rust-tch",
|
| 26 |
+
"language": "en"
|
| 27 |
+
}
|
feature_normalizer.json
ADDED
|
@@ -0,0 +1,222 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"means": [
|
| 3 |
+
0.11892745237758537,
|
| 4 |
+
0.05718321435078807,
|
| 5 |
+
0.08903009701198665,
|
| 6 |
+
0.05311462616045365,
|
| 7 |
+
0.10074856229995091,
|
| 8 |
+
0.005238788351734905,
|
| 9 |
+
0.1180565619501122,
|
| 10 |
+
0.05558708917655197,
|
| 11 |
+
0.031797216820838296,
|
| 12 |
+
0.025987183053747098,
|
| 13 |
+
0.923267019267142,
|
| 14 |
+
0.032976511489937715,
|
| 15 |
+
1.0692035554006571,
|
| 16 |
+
0.04727388342378716,
|
| 17 |
+
0.12665535318825866,
|
| 18 |
+
-0.10929009269139744,
|
| 19 |
+
0.17288452633307436,
|
| 20 |
+
0.047284178704204746,
|
| 21 |
+
0.09925854481169885,
|
| 22 |
+
2.8348703170028817,
|
| 23 |
+
0.4242427405525002,
|
| 24 |
+
0.6173349876551278,
|
| 25 |
+
0.08227528755008601,
|
| 26 |
+
0.038406755473586636,
|
| 27 |
+
0.0899492856840066,
|
| 28 |
+
0.04214351200078721,
|
| 29 |
+
0.08220681709204476,
|
| 30 |
+
7.903036887559477,
|
| 31 |
+
2.092115911872459,
|
| 32 |
+
1.5237228256225628,
|
| 33 |
+
0.0064792351086982135,
|
| 34 |
+
0.0062672765514501195,
|
| 35 |
+
0.008339967538536535,
|
| 36 |
+
0.0031623437761733658,
|
| 37 |
+
0.005632692180832851,
|
| 38 |
+
0.0,
|
| 39 |
+
0.0,
|
| 40 |
+
0.0,
|
| 41 |
+
0.0,
|
| 42 |
+
0.0,
|
| 43 |
+
0.0,
|
| 44 |
+
0.0,
|
| 45 |
+
0.0,
|
| 46 |
+
0.0,
|
| 47 |
+
0.0,
|
| 48 |
+
0.0,
|
| 49 |
+
0.0,
|
| 50 |
+
0.0,
|
| 51 |
+
0.0,
|
| 52 |
+
0.0,
|
| 53 |
+
0.0,
|
| 54 |
+
0.0,
|
| 55 |
+
0.0,
|
| 56 |
+
0.0,
|
| 57 |
+
0.0,
|
| 58 |
+
0.0,
|
| 59 |
+
0.0,
|
| 60 |
+
2.2659337849287593,
|
| 61 |
+
1.044037763138872,
|
| 62 |
+
2.479041585729291,
|
| 63 |
+
1.1919732148401274,
|
| 64 |
+
6.907797511424016,
|
| 65 |
+
0.20183860256393302,
|
| 66 |
+
1.3890878243731999,
|
| 67 |
+
2.674333824093939,
|
| 68 |
+
12.975266745390156,
|
| 69 |
+
0.6689204055239117,
|
| 70 |
+
0.13398951634897222,
|
| 71 |
+
125.31657060518732,
|
| 72 |
+
10.990893262551307,
|
| 73 |
+
8.618075627427794,
|
| 74 |
+
0.039010665253703836,
|
| 75 |
+
2.5448203222323675,
|
| 76 |
+
74.92319884726224,
|
| 77 |
+
0.335258863617196,
|
| 78 |
+
0.10991749021008423,
|
| 79 |
+
0.023568500337880372,
|
| 80 |
+
0.43417112277016273,
|
| 81 |
+
0.8410876756504063,
|
| 82 |
+
2.131120421546073,
|
| 83 |
+
0.006522501353850472,
|
| 84 |
+
2.3742059106274946,
|
| 85 |
+
15.0585619143013,
|
| 86 |
+
1.7338250157090132,
|
| 87 |
+
46.82445812913767,
|
| 88 |
+
0.2229548365349718,
|
| 89 |
+
0.5657628928051207,
|
| 90 |
+
0.5608774940650731,
|
| 91 |
+
0.02932614561269527,
|
| 92 |
+
4.250217510635379,
|
| 93 |
+
0.8674383811441574,
|
| 94 |
+
3449.8171163739294,
|
| 95 |
+
18.427569571055827,
|
| 96 |
+
20.2482088181966,
|
| 97 |
+
10.554981450928512,
|
| 98 |
+
7.313789687435963,
|
| 99 |
+
5.710843411129353,
|
| 100 |
+
3.517305492116866,
|
| 101 |
+
2.4741733752721022,
|
| 102 |
+
1.6224146200739884,
|
| 103 |
+
0.9174680975210207,
|
| 104 |
+
0.4181542340068293,
|
| 105 |
+
0.2537107680799646,
|
| 106 |
+
0.06454837319169232,
|
| 107 |
+
0.04664554518020532,
|
| 108 |
+
3.588184438040346,
|
| 109 |
+
4.536167146974063,
|
| 110 |
+
0.034829471123004815
|
| 111 |
+
],
|
| 112 |
+
"stds": [
|
| 113 |
+
0.16222398426461307,
|
| 114 |
+
0.09092354715482365,
|
| 115 |
+
0.11179568665118766,
|
| 116 |
+
0.08312728942311748,
|
| 117 |
+
0.1126019164924034,
|
| 118 |
+
0.02269594928598018,
|
| 119 |
+
0.1251666937390458,
|
| 120 |
+
0.10924194954707005,
|
| 121 |
+
0.05872550850917025,
|
| 122 |
+
0.0633645799292151,
|
| 123 |
+
0.42475437786398945,
|
| 124 |
+
0.05674599679544609,
|
| 125 |
+
0.42017963662050706,
|
| 126 |
+
0.13162506345234012,
|
| 127 |
+
0.13047416627398492,
|
| 128 |
+
0.1334994167431149,
|
| 129 |
+
0.1354726430001486,
|
| 130 |
+
0.10387263332800313,
|
| 131 |
+
0.13281477052945212,
|
| 132 |
+
1.2523615377448563,
|
| 133 |
+
0.2860078155175164,
|
| 134 |
+
1.0323647098520268,
|
| 135 |
+
0.11874272981883065,
|
| 136 |
+
0.0737292652829932,
|
| 137 |
+
0.1250957943956574,
|
| 138 |
+
0.07920780206910542,
|
| 139 |
+
0.05964781374122256,
|
| 140 |
+
1.9770418991295584,
|
| 141 |
+
1.0051282322538722,
|
| 142 |
+
0.8070361908342224,
|
| 143 |
+
0.018907235885132503,
|
| 144 |
+
0.017544468539039473,
|
| 145 |
+
0.026064837088552832,
|
| 146 |
+
0.011571376284607058,
|
| 147 |
+
0.015007920642550205,
|
| 148 |
+
1.0,
|
| 149 |
+
1.0,
|
| 150 |
+
1.0,
|
| 151 |
+
1.0,
|
| 152 |
+
1.0,
|
| 153 |
+
1.0,
|
| 154 |
+
1.0,
|
| 155 |
+
1.0,
|
| 156 |
+
1.0,
|
| 157 |
+
1.0,
|
| 158 |
+
1.0,
|
| 159 |
+
1.0,
|
| 160 |
+
1.0,
|
| 161 |
+
1.0,
|
| 162 |
+
1.0,
|
| 163 |
+
1.0,
|
| 164 |
+
1.0,
|
| 165 |
+
1.0,
|
| 166 |
+
1.0,
|
| 167 |
+
1.0,
|
| 168 |
+
1.0,
|
| 169 |
+
1.0,
|
| 170 |
+
0.5586922378464478,
|
| 171 |
+
0.3972695963551329,
|
| 172 |
+
0.6755919465210544,
|
| 173 |
+
0.41404904091977174,
|
| 174 |
+
1.140085237740577,
|
| 175 |
+
0.06711088335149644,
|
| 176 |
+
0.49855911829224,
|
| 177 |
+
0.7313228888125592,
|
| 178 |
+
2.085136928326834,
|
| 179 |
+
0.3134181772934974,
|
| 180 |
+
0.12607994728745905,
|
| 181 |
+
32.108918326188885,
|
| 182 |
+
3.1681212101343434,
|
| 183 |
+
2.954850038906221,
|
| 184 |
+
0.015510895435743266,
|
| 185 |
+
0.3538567879733598,
|
| 186 |
+
27.298478451929025,
|
| 187 |
+
0.04154412039723594,
|
| 188 |
+
0.10792443827290753,
|
| 189 |
+
0.047089307032740446,
|
| 190 |
+
0.2654527395327808,
|
| 191 |
+
0.2186173461677225,
|
| 192 |
+
0.5459354574322072,
|
| 193 |
+
0.024801460473129467,
|
| 194 |
+
0.17411130220169632,
|
| 195 |
+
2.271383011432748,
|
| 196 |
+
0.6518006121681411,
|
| 197 |
+
2.349981541194138,
|
| 198 |
+
0.18364740637981875,
|
| 199 |
+
0.2929219359188755,
|
| 200 |
+
0.8111240117428083,
|
| 201 |
+
0.06061569013629006,
|
| 202 |
+
3.174016329540834,
|
| 203 |
+
0.044197254841717507,
|
| 204 |
+
1112.3845909439165,
|
| 205 |
+
1.8178255230687432,
|
| 206 |
+
1.9076853556265896,
|
| 207 |
+
1.4599790880963919,
|
| 208 |
+
1.0092494794625304,
|
| 209 |
+
1.0606798564631996,
|
| 210 |
+
0.7720238147404723,
|
| 211 |
+
0.6463716717065361,
|
| 212 |
+
0.5350779979831183,
|
| 213 |
+
0.4089743982652186,
|
| 214 |
+
0.24577101556951275,
|
| 215 |
+
0.17584871595800494,
|
| 216 |
+
0.08405248047643799,
|
| 217 |
+
0.07606227100268607,
|
| 218 |
+
2.4320456375803654,
|
| 219 |
+
2.634615558689861,
|
| 220 |
+
0.05362220775257933
|
| 221 |
+
]
|
| 222 |
+
}
|
feature_selector.json
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"threshold": 0.85,
|
| 3 |
+
"selected_indices": [
|
| 4 |
+
0,
|
| 5 |
+
1,
|
| 6 |
+
2,
|
| 7 |
+
3,
|
| 8 |
+
4,
|
| 9 |
+
5,
|
| 10 |
+
6,
|
| 11 |
+
7,
|
| 12 |
+
10,
|
| 13 |
+
13,
|
| 14 |
+
14,
|
| 15 |
+
15,
|
| 16 |
+
16,
|
| 17 |
+
17,
|
| 18 |
+
18,
|
| 19 |
+
19,
|
| 20 |
+
20,
|
| 21 |
+
21,
|
| 22 |
+
22,
|
| 23 |
+
23,
|
| 24 |
+
24,
|
| 25 |
+
25,
|
| 26 |
+
26,
|
| 27 |
+
27,
|
| 28 |
+
28,
|
| 29 |
+
29,
|
| 30 |
+
32,
|
| 31 |
+
33,
|
| 32 |
+
34,
|
| 33 |
+
35,
|
| 34 |
+
36,
|
| 35 |
+
37,
|
| 36 |
+
38,
|
| 37 |
+
39,
|
| 38 |
+
40,
|
| 39 |
+
41,
|
| 40 |
+
47,
|
| 41 |
+
53,
|
| 42 |
+
59,
|
| 43 |
+
65,
|
| 44 |
+
71,
|
| 45 |
+
77,
|
| 46 |
+
83,
|
| 47 |
+
89,
|
| 48 |
+
95,
|
| 49 |
+
101,
|
| 50 |
+
107,
|
| 51 |
+
113,
|
| 52 |
+
119,
|
| 53 |
+
125,
|
| 54 |
+
131,
|
| 55 |
+
137,
|
| 56 |
+
143,
|
| 57 |
+
149,
|
| 58 |
+
155,
|
| 59 |
+
161,
|
| 60 |
+
167,
|
| 61 |
+
271,
|
| 62 |
+
272,
|
| 63 |
+
273,
|
| 64 |
+
274,
|
| 65 |
+
275,
|
| 66 |
+
276,
|
| 67 |
+
277,
|
| 68 |
+
278,
|
| 69 |
+
279,
|
| 70 |
+
282,
|
| 71 |
+
283,
|
| 72 |
+
284,
|
| 73 |
+
285,
|
| 74 |
+
286,
|
| 75 |
+
287,
|
| 76 |
+
288,
|
| 77 |
+
289,
|
| 78 |
+
290,
|
| 79 |
+
440,
|
| 80 |
+
441,
|
| 81 |
+
442,
|
| 82 |
+
443,
|
| 83 |
+
444,
|
| 84 |
+
445,
|
| 85 |
+
448,
|
| 86 |
+
449,
|
| 87 |
+
450,
|
| 88 |
+
451,
|
| 89 |
+
452,
|
| 90 |
+
453,
|
| 91 |
+
454,
|
| 92 |
+
456,
|
| 93 |
+
457,
|
| 94 |
+
460,
|
| 95 |
+
464,
|
| 96 |
+
465,
|
| 97 |
+
466,
|
| 98 |
+
467,
|
| 99 |
+
468,
|
| 100 |
+
469,
|
| 101 |
+
470,
|
| 102 |
+
471,
|
| 103 |
+
472,
|
| 104 |
+
473,
|
| 105 |
+
474,
|
| 106 |
+
475,
|
| 107 |
+
476,
|
| 108 |
+
477,
|
| 109 |
+
478,
|
| 110 |
+
479,
|
| 111 |
+
496
|
| 112 |
+
]
|
| 113 |
+
}
|
mlp_weights.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38c4f45b8865cdac630224b72f6566288790e5e1f9bd2cba38cbf8e9e35b4add
|
| 3 |
+
size 24701783
|
mlp_weights_multitask.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeecb0db78953acf0be88c455839a92e06de3f8c16db5f827bfe9f07c805903e
|
| 3 |
+
size 27320451
|
mlp_weights_single.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b3de609d7e6990dac2df96313ca25ab0662f1f57f8d8a1bb88fe62df8ee9549
|
| 3 |
+
size 18663360
|
tfidf_vectorizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tfidf_vectorizer_multitask.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tfidf_vectorizer_single.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|