Maxwell-TCS-v0.2 is a task/instruction complexity score annotator based on the ModernBERT-Large and trained on a large dataset of English instructions. It is designed to be fast, efficient and accurate for scoring/annotation related tasks.
Model Details
Model Description
Maxwell-TCS-v0.2 is an experimental SOTA
t
ask
c
omplexity
s
corer based on the state-of-the-art ModernBERT-Large backbone. It is trained under a data heavy setting (TTP ratio of ~3.5 toks/trainable-param) over 66.5K diverse instruction-score pairs, and performs at par with other
complexity scorers
34 times larger in size. For a given user instruction, the model predicts normalized scores between 0 and 1 across a single complexity dimension.
Maxwell-TCS can be used in a variety of downstreaming tasks such as prompt difficulty prediction, dataset annotation, dataset augmentation and more.
Model type:
Bidirectional Encoder Representations from Transformers, based on the ModernBERT-Large architecture.
Language(s) (NLP):
English (en)
License:
Apache License, Version 2.0
Finetuned from model
: ModernBERT-Large
Recommendations
To reproduce Evol-Complexity scores:
To reproduce the original Evol-Complexity scores, it is recommended to use the following transformation over the predicted scores,
S
p
re
d
i
c
t
e
d
×
(
6
−
1
)
+
1
This formula effectively converts normalized scores back to the continuous range [1,6]. Now all that remains is to ensure that the model's predictions correspond to the original discrete scoring scale, which can be achieved simply by rounding the transformed scores to the nearest integer.
To use a different scaling factor:
If you wish to use a different scaling factor, simply replace the values in the formula above with the desired range. For example, to scale the scores to the range [max,min], use the denormalization formula,
S
p
re
d
i
c
t
e
d
×
(
max
−
min
)
+
min
Note: Scaling factors are arbitrary and can be adjusted as needed. Ordering of the scores is preserved during min-max scaling, so the model should still be able to predict the relative complexity of instructions accurately regardless of the scaling factor used.
We use
BhabhaAI/DEITA-Complexity
'deita'set for training the model. The dataset contains 66.5K diverse English instructions along with their complexity scores computed using the DEITA-Evol-Complexity scoring scheme which uses an LLM-judge to rank a sextuple containing 1 seed + 5 progressively complexified (
evolved
) instructions based on their complexity & difficulty. The scheme assigns scores within [1, 6] range, with 1 being the least complex and 6 being the most complex.
However, the training dataset used was observed to have instruction-score pairs across a diversity of scores within the range [0,9]. We suspect that this range includes scoring errors, as anomalous scores (0, 7, 8, 9) account for less than 1% of the total instructions.
The distribution of scores within the dataset is as follows:
Score
Frequency
Relative Freq.
0
7
< 0.1%
1
8729
13.3%
2
5399
8.2%
3
10937
16.7%
4
9801
15%
5
24485
37.4%
6
6123
9.3%
7
6
< 0.1%
8
5
< 0.1%
9
5
< 0.1%
To mitigate the influence of these outliers, instructions with scores > 6 and < 1 were pruned from the dataset. It may also be observed that the dataset is not perfectly balanced, as approximately 37.4% of the instructions have a mode score of 5, indicating a higher concentration around this score. Min-Max scaling was applied to normalize the scores within the range [0,1] and preserve the ordering of complexity relationships.
Bias, Risks, and Limitations
From a qualitative standpoint, the training dataset is strongly biased towards general English instructions, which may not help the model generalize well to other languages. Furthermore, the dataset suffers from the scarcity of instructions from technical tasks such as coding, mathematics, etc. As such, the model is presently speculated to not perform well on instructions from these technical domains, further analysis is still required.
You are advised to use the model keeping these factors in mind.
Training Procedure
Training Hyperparameters
Base Model:
ModernBERT-Large
Task:
Sequence Classification
Training regime:
FP32 Non-Mixed Precision
# Training tokens:
50.3 million tokens
Tokens-Per-Parameter Ratio:
~3.5 (on 14.4 million trainable parameters)
Experiments were conducted using Google Cloud Platform in region asia-south1, which has a carbon efficiency of 0.92 kgCO2eq/kWh. A cumulative of 13.24 hours of computation was performed on hardware of type L4 (TDP of 72W).
Total emissions are estimated to be 0.87 kgCO2eq of which 100% was directly offset by the cloud provider.
Maxwell-TCS-v0.2 huggingface.co is an AI model on huggingface.co that provides Maxwell-TCS-v0.2's model effect (), which can be used instantly with this budecosystem Maxwell-TCS-v0.2 model. huggingface.co supports a free trial of the Maxwell-TCS-v0.2 model, and also provides paid use of the Maxwell-TCS-v0.2. Support call Maxwell-TCS-v0.2 model through api, including Node.js, Python, http.
Maxwell-TCS-v0.2 huggingface.co is an online trial and call api platform, which integrates Maxwell-TCS-v0.2's modeling effects, including api services, and provides a free online trial of Maxwell-TCS-v0.2, you can try Maxwell-TCS-v0.2 online for free by clicking the link below.
budecosystem Maxwell-TCS-v0.2 online free url in huggingface.co:
Maxwell-TCS-v0.2 is an open source model from GitHub that offers a free installation service, and any user can find Maxwell-TCS-v0.2 on GitHub to install. At the same time, huggingface.co provides the effect of Maxwell-TCS-v0.2 install, users can directly use Maxwell-TCS-v0.2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.