LLM-SRBench
Harbor: pendingLLM-SRBench evaluates LLM-based scientific equation discovery (symbolic regression) across physics, chemistry, biology, and materials science domains.
- Samples
- 240
- Released
- 2025
- Scores
- 0
The following introduction comes from the abstract of Compression Represents Intelligence Linearly: There is a belief that learning to compress well will lead to intelligence.
$ npm i -g lettokenburn-cli$ ltb bench pull compression-intelligence-benchmark
External harness. pip install opencompass && opencompass --models <model_cfg> --datasets llm_compression (OpenCompass dataset config dir 'llm_compression') https://github.com/open-compass/opencompass
Runs happen on your machine with your own subscription; only the score summary is pushed. CLI docs
No sourced scores recorded yet.
Every number links to where it was published. Low-confidence rows are muted and need per-cell verification.
The following introduction comes from the abstract of Compression Represents Intelligence Linearly:
>There is a belief that learning to compress well will lead to intelligence. Recently, language modeling has been shown to be equivalent to compression, which offers a compelling rationale for the success of large language models (LLMs): the development of more advanced language models is essentially enhancing compression which facilitates intelligence. ...our findings suggest that compression efficiency, as an unsupervised metric derived from raw text corpora, serves as a reliable evaluation measure that is linearly associated with the model capabilities. We open-source our compression datasets as well as our data collection pipelines to facilitate future researchers to assess compression properly.
The dataset, which consists of three external corpora, can be downloaded using the following python script:
Note: Refer to the original repository for more details on data collection and design.
The inference stage (SWCELossInferencer) consists of the following key steps:
__getitem__ is a chunk of the array based on a sliding window. To reproduce results from the original paper, set block_size=1900 and stride=512.total_chr_num to BPCEvaluator for evaluation.BPCEvaluator: Using the total loss for each batch and the total number of characters in the original dataset from the inference stage, calculate the Bits per Character (BPC) metric for each model:
$$ BPC = \frac{TotalCrossEntropyLoss}{TotalCharacterNumber*log(2)} $$
configs/datasets/llm-compression.pyexamples/eval_llm_compression.pymax_seq_len to avoid further errors?>A: This warning comes from the tokenizer indicating that the input sequence length exceeds the model's input length, but it does not affect the operation of the tokenizer. For loss calculation, as long as we set a block_size of the sliding window less than max_seq_len, we can safely ignore this warning.