Text Classification
Transformers
Safetensors
English
modernbert
ai-text-detection
idea-provenance
text-embeddings-inference
Instructions to use rishanthrajendhran/IdeaLens-ModernBERT-L-RolesOnly with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rishanthrajendhran/IdeaLens-ModernBERT-L-RolesOnly with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rishanthrajendhran/IdeaLens-ModernBERT-L-RolesOnly")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rishanthrajendhran/IdeaLens-ModernBERT-L-RolesOnly") model = AutoModelForSequenceClassification.from_pretrained("rishanthrajendhran/IdeaLens-ModernBERT-L-RolesOnly", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add calibrated thresholds (IdeaLens-1M calibration split)
Browse files- thresholds.json +258 -0
thresholds.json
ADDED
|
@@ -0,0 +1,258 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "rishanthrajendhran/IdeaLens-ModernBERT-L-RolesOnly",
|
| 3 |
+
"input": "role sequence",
|
| 4 |
+
"flag_rule": "flag the document as AI when P(human) < cut",
|
| 5 |
+
"calibration": {
|
| 6 |
+
"data": "IdeaLens-1M, calibration split (human documents only)",
|
| 7 |
+
"scores_from": "the training run's stored predictions on the calibration split",
|
| 8 |
+
"n_humans": 80000,
|
| 9 |
+
"n_per_format": {
|
| 10 |
+
"Academic Writing": 10000,
|
| 11 |
+
"Creative Writing": 10000,
|
| 12 |
+
"Knowledge Article": 10000,
|
| 13 |
+
"News Article": 10000,
|
| 14 |
+
"Nonfiction Writing": 10000,
|
| 15 |
+
"Personal About Page": 10000,
|
| 16 |
+
"Personal Blog": 10000,
|
| 17 |
+
"User Reviews": 10000
|
| 18 |
+
},
|
| 19 |
+
"n_per_topic": {
|
| 20 |
+
"Art & Design": 3338,
|
| 21 |
+
"Crime & Law": 3931,
|
| 22 |
+
"Education & Jobs": 3974,
|
| 23 |
+
"Entertainment": 4692,
|
| 24 |
+
"Fashion & Beauty": 2999,
|
| 25 |
+
"Finance & Business": 4855,
|
| 26 |
+
"Food & Dining": 2696,
|
| 27 |
+
"Games": 4257,
|
| 28 |
+
"Hardware": 2253,
|
| 29 |
+
"Health": 5069,
|
| 30 |
+
"History": 2554,
|
| 31 |
+
"Home & Hobbies": 4192,
|
| 32 |
+
"Industrial": 2299,
|
| 33 |
+
"Literature": 3571,
|
| 34 |
+
"Politics": 3728,
|
| 35 |
+
"Religion": 3617,
|
| 36 |
+
"Science & Tech.": 4154,
|
| 37 |
+
"Social Life": 3126,
|
| 38 |
+
"Software": 2257,
|
| 39 |
+
"Software Dev.": 2468,
|
| 40 |
+
"Sports & Fitness": 4224,
|
| 41 |
+
"Transportation": 2810,
|
| 42 |
+
"Travel": 2936
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"method": {
|
| 46 |
+
"global": "the target-FPR quantile of P(human) over all calibration humans",
|
| 47 |
+
"per_group": "the group's own quantile, shrunk toward the global cut with weight n / (n + 2500)",
|
| 48 |
+
"min_group_humans": 200,
|
| 49 |
+
"estimability": "a cut at FPR q is given only when q * n >= 25 calibration humans",
|
| 50 |
+
"missing_cut": "no cut for a group means none could be estimated; do not substitute the global cut"
|
| 51 |
+
},
|
| 52 |
+
"fpr_targets": [
|
| 53 |
+
0.001,
|
| 54 |
+
0.005,
|
| 55 |
+
0.01,
|
| 56 |
+
0.02,
|
| 57 |
+
0.05,
|
| 58 |
+
0.1,
|
| 59 |
+
0.2
|
| 60 |
+
],
|
| 61 |
+
"global": {
|
| 62 |
+
"0.001": 0.012178110932931304,
|
| 63 |
+
"0.005": 0.03202226234599948,
|
| 64 |
+
"0.01": 0.050820946171879766,
|
| 65 |
+
"0.02": 0.08874025583267212,
|
| 66 |
+
"0.05": 0.19271590709686282,
|
| 67 |
+
"0.1": 0.3445788145065308,
|
| 68 |
+
"0.2": 0.5637847781181335
|
| 69 |
+
},
|
| 70 |
+
"per_format": {
|
| 71 |
+
"0.005": {
|
| 72 |
+
"Academic Writing": 0.03074905068054795,
|
| 73 |
+
"Creative Writing": 0.050780254583805806,
|
| 74 |
+
"Knowledge Article": 0.02830683707818389,
|
| 75 |
+
"News Article": 0.029749106999486685,
|
| 76 |
+
"Nonfiction Writing": 0.026594594214111568,
|
| 77 |
+
"Personal About Page": 0.057549342285841715,
|
| 78 |
+
"Personal Blog": 0.033142972107976676,
|
| 79 |
+
"User Reviews": 0.027614699173718695
|
| 80 |
+
},
|
| 81 |
+
"0.01": {
|
| 82 |
+
"Academic Writing": 0.050818595901131636,
|
| 83 |
+
"Creative Writing": 0.07435961253941059,
|
| 84 |
+
"Knowledge Article": 0.046408899173140526,
|
| 85 |
+
"News Article": 0.04519011946022511,
|
| 86 |
+
"Nonfiction Writing": 0.03979125033318996,
|
| 87 |
+
"Personal About Page": 0.09494371058046819,
|
| 88 |
+
"Personal Blog": 0.05188002179563046,
|
| 89 |
+
"User Reviews": 0.044581359669566153
|
| 90 |
+
},
|
| 91 |
+
"0.02": {
|
| 92 |
+
"Academic Writing": 0.09393558585643769,
|
| 93 |
+
"Creative Writing": 0.11354376375675201,
|
| 94 |
+
"Knowledge Article": 0.08171488928794861,
|
| 95 |
+
"News Article": 0.08126413011550904,
|
| 96 |
+
"Nonfiction Writing": 0.06447851371765137,
|
| 97 |
+
"Personal About Page": 0.15712606835365298,
|
| 98 |
+
"Personal Blog": 0.09119489645957947,
|
| 99 |
+
"User Reviews": 0.0763768013715744
|
| 100 |
+
},
|
| 101 |
+
"0.05": {
|
| 102 |
+
"Academic Writing": 0.2177590584754944,
|
| 103 |
+
"Creative Writing": 0.21153780460357668,
|
| 104 |
+
"Knowledge Article": 0.1741941303014755,
|
| 105 |
+
"News Article": 0.18787248730659487,
|
| 106 |
+
"Nonfiction Writing": 0.15784218668937683,
|
| 107 |
+
"Personal About Page": 0.3007956659793854,
|
| 108 |
+
"Personal Blog": 0.18340661823749543,
|
| 109 |
+
"User Reviews": 0.16683488667011265
|
| 110 |
+
},
|
| 111 |
+
"0.1": {
|
| 112 |
+
"Academic Writing": 0.38454339504241947,
|
| 113 |
+
"Creative Writing": 0.3564952921867371,
|
| 114 |
+
"Knowledge Article": 0.32872443199157714,
|
| 115 |
+
"News Article": 0.3589416813850403,
|
| 116 |
+
"Nonfiction Writing": 0.28578355789184573,
|
| 117 |
+
"Personal About Page": 0.4639974355697632,
|
| 118 |
+
"Personal Blog": 0.3235807943344116,
|
| 119 |
+
"User Reviews": 0.30377557992935184
|
| 120 |
+
},
|
| 121 |
+
"0.2": {
|
| 122 |
+
"Academic Writing": 0.6284469676017761,
|
| 123 |
+
"Creative Writing": 0.5545444560050965,
|
| 124 |
+
"Knowledge Article": 0.5475596499443054,
|
| 125 |
+
"News Article": 0.5851231265068055,
|
| 126 |
+
"Nonfiction Writing": 0.5006991600990296,
|
| 127 |
+
"Personal About Page": 0.6657140803337097,
|
| 128 |
+
"Personal Blog": 0.5368955302238465,
|
| 129 |
+
"User Reviews": 0.5169659304618835
|
| 130 |
+
}
|
| 131 |
+
},
|
| 132 |
+
"per_topic": {
|
| 133 |
+
"0.005": {
|
| 134 |
+
"Health": 0.02771503714434355
|
| 135 |
+
},
|
| 136 |
+
"0.01": {
|
| 137 |
+
"Art & Design": 0.06455368360228206,
|
| 138 |
+
"Crime & Law": 0.0848147056484747,
|
| 139 |
+
"Education & Jobs": 0.04893901671240653,
|
| 140 |
+
"Entertainment": 0.052776282767416104,
|
| 141 |
+
"Fashion & Beauty": 0.046214627183094464,
|
| 142 |
+
"Finance & Business": 0.03809387910561566,
|
| 143 |
+
"Food & Dining": 0.05620163321994055,
|
| 144 |
+
"Games": 0.04456916508782946,
|
| 145 |
+
"Health": 0.050240179982603834,
|
| 146 |
+
"History": 0.0766941011790223,
|
| 147 |
+
"Home & Hobbies": 0.05156919388435625,
|
| 148 |
+
"Literature": 0.059639217307153866,
|
| 149 |
+
"Politics": 0.06667086019571308,
|
| 150 |
+
"Religion": 0.04779367122472122,
|
| 151 |
+
"Science & Tech.": 0.05703240220951432,
|
| 152 |
+
"Social Life": 0.05028271657099217,
|
| 153 |
+
"Sports & Fitness": 0.054226262268434675,
|
| 154 |
+
"Transportation": 0.05702462560109611,
|
| 155 |
+
"Travel": 0.0513493331452123
|
| 156 |
+
},
|
| 157 |
+
"0.02": {
|
| 158 |
+
"Art & Design": 0.11050019226097904,
|
| 159 |
+
"Crime & Law": 0.13328248487486843,
|
| 160 |
+
"Education & Jobs": 0.08694445474301735,
|
| 161 |
+
"Entertainment": 0.08633807177853266,
|
| 162 |
+
"Fashion & Beauty": 0.08197915075713666,
|
| 163 |
+
"Finance & Business": 0.06409059677771935,
|
| 164 |
+
"Food & Dining": 0.09250792869702956,
|
| 165 |
+
"Games": 0.07771264590493882,
|
| 166 |
+
"Hardware": 0.08280914541836315,
|
| 167 |
+
"Health": 0.09527356621327339,
|
| 168 |
+
"History": 0.1213511941073957,
|
| 169 |
+
"Home & Hobbies": 0.08398840325219291,
|
| 170 |
+
"Industrial": 0.08530236737135426,
|
| 171 |
+
"Literature": 0.1063990739754212,
|
| 172 |
+
"Politics": 0.11570153480549998,
|
| 173 |
+
"Religion": 0.08428761937994572,
|
| 174 |
+
"Science & Tech.": 0.09519586290916703,
|
| 175 |
+
"Social Life": 0.08222430986423447,
|
| 176 |
+
"Software": 0.0762969957417692,
|
| 177 |
+
"Software Dev.": 0.09487202663196553,
|
| 178 |
+
"Sports & Fitness": 0.09333997745304007,
|
| 179 |
+
"Transportation": 0.09658251196146012,
|
| 180 |
+
"Travel": 0.08589339747509595
|
| 181 |
+
},
|
| 182 |
+
"0.05": {
|
| 183 |
+
"Art & Design": 0.22149480709160957,
|
| 184 |
+
"Crime & Law": 0.26795962482083735,
|
| 185 |
+
"Education & Jobs": 0.17709616850261745,
|
| 186 |
+
"Entertainment": 0.19426536956621757,
|
| 187 |
+
"Fashion & Beauty": 0.18337040140636837,
|
| 188 |
+
"Finance & Business": 0.14537977585423406,
|
| 189 |
+
"Food & Dining": 0.19247386969333433,
|
| 190 |
+
"Games": 0.17978904663731365,
|
| 191 |
+
"Hardware": 0.17889656983825403,
|
| 192 |
+
"Health": 0.20508712260344178,
|
| 193 |
+
"History": 0.24279697752595658,
|
| 194 |
+
"Home & Hobbies": 0.18395829982409848,
|
| 195 |
+
"Industrial": 0.18642086882651113,
|
| 196 |
+
"Literature": 0.22340981288210326,
|
| 197 |
+
"Politics": 0.2430728266502545,
|
| 198 |
+
"Religion": 0.1847788239643039,
|
| 199 |
+
"Science & Tech.": 0.21692371582273684,
|
| 200 |
+
"Social Life": 0.1737449000679934,
|
| 201 |
+
"Software": 0.1680314643501559,
|
| 202 |
+
"Software Dev.": 0.19704872133891174,
|
| 203 |
+
"Sports & Fitness": 0.1966491911540352,
|
| 204 |
+
"Transportation": 0.20710544273846573,
|
| 205 |
+
"Travel": 0.19699962709628108
|
| 206 |
+
},
|
| 207 |
+
"0.1": {
|
| 208 |
+
"Art & Design": 0.3783434022500034,
|
| 209 |
+
"Crime & Law": 0.43890784653733483,
|
| 210 |
+
"Education & Jobs": 0.3328565080214843,
|
| 211 |
+
"Entertainment": 0.35359407143213595,
|
| 212 |
+
"Fashion & Beauty": 0.3404812412622691,
|
| 213 |
+
"Finance & Business": 0.27636525607854634,
|
| 214 |
+
"Food & Dining": 0.34291968635176584,
|
| 215 |
+
"Games": 0.3177935105148497,
|
| 216 |
+
"Hardware": 0.312800911441994,
|
| 217 |
+
"Health": 0.373879111340755,
|
| 218 |
+
"History": 0.41522868216084924,
|
| 219 |
+
"Home & Hobbies": 0.3162538900249958,
|
| 220 |
+
"Industrial": 0.34144460050655817,
|
| 221 |
+
"Literature": 0.3742200122881399,
|
| 222 |
+
"Politics": 0.41573245415874377,
|
| 223 |
+
"Religion": 0.3256622070558363,
|
| 224 |
+
"Science & Tech.": 0.38810623056955945,
|
| 225 |
+
"Social Life": 0.30369594777939884,
|
| 226 |
+
"Software": 0.30197049514170277,
|
| 227 |
+
"Software Dev.": 0.3329434520836422,
|
| 228 |
+
"Sports & Fitness": 0.3446240780681177,
|
| 229 |
+
"Transportation": 0.35571580975405914,
|
| 230 |
+
"Travel": 0.34693250112712515
|
| 231 |
+
},
|
| 232 |
+
"0.2": {
|
| 233 |
+
"Art & Design": 0.6054008803207526,
|
| 234 |
+
"Crime & Law": 0.6552673164060561,
|
| 235 |
+
"Education & Jobs": 0.5499747675438151,
|
| 236 |
+
"Entertainment": 0.5828774356603357,
|
| 237 |
+
"Fashion & Beauty": 0.5465170578601946,
|
| 238 |
+
"Finance & Business": 0.49680912712656017,
|
| 239 |
+
"Food & Dining": 0.5589015138341978,
|
| 240 |
+
"Games": 0.5283371559857651,
|
| 241 |
+
"Hardware": 0.5274402913346482,
|
| 242 |
+
"Health": 0.5987622209230933,
|
| 243 |
+
"History": 0.6309298662644958,
|
| 244 |
+
"Home & Hobbies": 0.5385390227452339,
|
| 245 |
+
"Industrial": 0.5533964118080155,
|
| 246 |
+
"Literature": 0.587787714738505,
|
| 247 |
+
"Politics": 0.6386746255801745,
|
| 248 |
+
"Religion": 0.5397244336306123,
|
| 249 |
+
"Science & Tech.": 0.6180491654981103,
|
| 250 |
+
"Social Life": 0.5086475598549359,
|
| 251 |
+
"Software": 0.5090397173162516,
|
| 252 |
+
"Software Dev.": 0.5467288027351029,
|
| 253 |
+
"Sports & Fitness": 0.5716652171729506,
|
| 254 |
+
"Transportation": 0.5634482039794635,
|
| 255 |
+
"Travel": 0.5617562549530013
|
| 256 |
+
}
|
| 257 |
+
}
|
| 258 |
+
}
|