Compare commits
28 Commits
ci-new-pyt
...
master
| Author | SHA1 | Date |
|---|---|---|
|
|
cd315cbceb | |
|
|
d89c7a2d5a | |
|
|
aecd4a845a | |
|
|
64e999152f | |
|
|
a14b854353 | |
|
|
8b0dbac4dd | |
|
|
4f89482c0d | |
|
|
75a640b7eb | |
|
|
ce61e18206 | |
|
|
3dbc48156d | |
|
|
b4864fdd59 | |
|
|
6fc6074c61 | |
|
|
21c68d0a94 | |
|
|
f4cf535403 | |
|
|
4b3a1bd8fd | |
|
|
0db5c31e10 | |
|
|
ecde93f1e0 | |
|
|
a9e7df2cda | |
|
|
d16e020116 | |
|
|
6e9e397933 | |
|
|
a2e626fd03 | |
|
|
efb1be6e3f | |
|
|
d34dd9192d | |
|
|
80f81c90be | |
|
|
171bb98b8b | |
|
|
17ff311456 | |
|
|
07313bab52 | |
|
|
09271b6202 |
|
|
@ -15,14 +15,14 @@ wheels/
|
||||||
# Editors
|
# Editors
|
||||||
/.vscode/
|
/.vscode/
|
||||||
|
|
||||||
|
# ripgrep/fd-specific ignore file
|
||||||
|
/.ignore
|
||||||
|
|
||||||
# Configuration file (root only, not ignored in test directories)
|
# Configuration file (root only, not ignored in test directories)
|
||||||
/config.toml
|
/config.toml
|
||||||
|
|
||||||
# Study checkpoints
|
# Study checkpoints
|
||||||
checkpoints/
|
checkpoints/
|
||||||
|
|
||||||
# Residual plots
|
|
||||||
plots/
|
|
||||||
|
|
||||||
# Models generated by tests
|
# Models generated by tests
|
||||||
/tests/*/model/
|
/tests/*/model/
|
||||||
|
|
|
||||||
340
README.md
340
README.md
|
|
@ -1,89 +1,82 @@
|
||||||
<img width="128" align="right" alt="Logo" src="https://github.com/user-attachments/assets/df5f2840-2f92-4991-aa57-252747d7182e" />
|
# THIS REPOSITORY HAS BEEN ARCHIVED. See https://github.com/p-e-w/heretic/issues/601 for more information.
|
||||||
|
|
||||||
# Heretic: Fully automatic censorship removal for language models<br><br>[](https://discord.gg/gdXc48gSyT) [](https://matrix.to/#/#heretic:matrix.org) [](https://huggingface.co/heretic-org) [](https://codeberg.org/p-e-w/heretic)
|
<div align="center">
|
||||||
|
|
||||||
[](https://trendshift.io/repositories/20538)
|
<img width="128" alt="Heretic logo" src="https://github.com/user-attachments/assets/df5f2840-2f92-4991-aa57-252747d7182e" />
|
||||||
|
|
||||||
Heretic is a tool that removes censorship (aka "safety alignment") from
|
# Heretic
|
||||||
transformer-based language models without expensive post-training.
|
|
||||||
It combines an advanced implementation of directional ablation, also known
|
|
||||||
as "abliteration" ([Arditi et al. 2024](https://arxiv.org/abs/2406.11717),
|
|
||||||
Lai 2025 ([1](https://huggingface.co/blog/grimjim/projected-abliteration),
|
|
||||||
[2](https://huggingface.co/blog/grimjim/norm-preserving-biprojected-abliteration))),
|
|
||||||
with a TPE-based parameter optimizer powered by [Optuna](https://optuna.org/).
|
|
||||||
|
|
||||||
This approach enables Heretic to work **completely automatically.** Heretic
|
### Training-free language model modification
|
||||||
finds high-quality abliteration parameters by co-minimizing the number of
|
|
||||||
refusals and the KL divergence from the original model. This results in a
|
|
||||||
decensored model that retains as much of the original model's intelligence
|
|
||||||
as possible. Using Heretic does not require an understanding of transformer
|
|
||||||
internals. In fact, anyone who knows how to run a command-line program
|
|
||||||
can use Heretic to decensor language models.
|
|
||||||
|
|
||||||
Heretic supports most dense models, including many multimodal models,
|
**Remove censorship**, suppress slop, reduce sycophancy, and more.<br>
|
||||||
several different MoE architectures, and even some hybrid models like Qwen3.5.
|
All in an afternoon, on your gaming PC.
|
||||||
Pure state-space models and certain other research architectures are not yet
|
|
||||||
supported out of the box.
|
|
||||||
|
|
||||||
<img width="650" height="715" alt="Screenshot" src="https://github.com/user-attachments/assets/d71a5efa-d6be-4705-a817-63332afb2d15" />
|
[](https://discord.gg/gdXc48gSyT)
|
||||||
|
[](https://matrix.to/#/#heretic:matrix.org)
|
||||||
|
[](https://huggingface.co/heretic-org)
|
||||||
|
[](https://codeberg.org/p-e-w/heretic)
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
-----
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Running unsupervised with the default configuration, Heretic can produce
|
[](https://trendshift.io/repositories/20538)
|
||||||
decensored models that rival the quality of abliterations created manually
|
[](https://heretic.sdad.pro/)
|
||||||
by human experts:
|
|
||||||
|
|
||||||
| Model | Refusals for "harmful" prompts | KL divergence from original model for "harmless" prompts |
|
|
||||||
| :--- | ---: | ---: |
|
|
||||||
| [google/gemma-3-12b-it](https://huggingface.co/google/gemma-3-12b-it) (original) | 97/100 | 0 *(by definition)* |
|
|
||||||
| [mlabonne/gemma-3-12b-it-abliterated-v2](https://huggingface.co/mlabonne/gemma-3-12b-it-abliterated-v2) | 3/100 | 1.04 |
|
|
||||||
| [huihui-ai/gemma-3-12b-it-abliterated](https://huggingface.co/huihui-ai/gemma-3-12b-it-abliterated) | 3/100 | 0.45 |
|
|
||||||
| **[p-e-w/gemma-3-12b-it-heretic](https://huggingface.co/p-e-w/gemma-3-12b-it-heretic) (ours)** | **3/100** | **0.16** |
|
|
||||||
|
|
||||||
The Heretic version, generated without any human effort, achieves the same
|
## Modify any LLM that you can run on your hardware[^1]
|
||||||
level of refusal suppression as other abliterations, but at a much lower
|
|
||||||
KL divergence, indicating less damage to the original model's capabilities.
|
|
||||||
*(You can reproduce those numbers using Heretic's built-in evaluation functionality,
|
|
||||||
e.g. `heretic --model google/gemma-3-12b-it --evaluate-model p-e-w/gemma-3-12b-it-heretic`.
|
|
||||||
Note that the exact values might be platform- and hardware-dependent.
|
|
||||||
The table above was compiled using PyTorch 2.8 on an RTX 5090.)*
|
|
||||||
|
|
||||||
Of course, mathematical metrics and automated benchmarks never tell the whole
|
[^1]: Heretic supports on-the-fly 4-bit model quantization with bitsandbytes,
|
||||||
story, and are no substitute for human evaluation. Models generated with
|
which can reduce the amount of VRAM required to process a model to the same amount
|
||||||
Heretic have been well-received by users (links and emphasis added):
|
that is used to run a typical quantized version of it, at a slight accuracy cost.
|
||||||
|
Set the `quantization` option to `bnb_4bit` to enable this.
|
||||||
|
|
||||||
> "I was skeptical before, but I just downloaded
|
Heretic is a unique tool that lets you do what only corporations with access
|
||||||
> [**GPT-OSS 20B Heretic**](https://huggingface.co/p-e-w/gpt-oss-20b-heretic)
|
to massive computing power usually do: *Modify,* rather than merely run,
|
||||||
> model and holy shit. It gives properly formatted long responses to sensitive topics,
|
language models. It does not perform expensive training; rather, it uses
|
||||||
> using the exact uncensored words that you would expect from an uncensored model,
|
a collection of mathematical techniques to steer behavior based on contrasting
|
||||||
> produces markdown format tables with details and whatnot. Looks like this is
|
example prompts and matching scorers.
|
||||||
> the best abliterated version of this model so far..."
|
|
||||||
> [*(Link to comment)*](https://old.reddit.com/r/LocalLLaMA/comments/1oymku1/heretic_fully_automatic_censorship_removal_for/np6tba6/)
|
|
||||||
|
|
||||||
> "[**Heretic GPT 20b**](https://huggingface.co/p-e-w/gpt-oss-20b-heretic)
|
Heretic can, depending on the configuration:
|
||||||
> seems to be the best uncensored model I have tried yet. It doesn't destroy a
|
|
||||||
> the model's intelligence and it is answering prompts normally would be
|
|
||||||
> rejected by the base model."
|
|
||||||
> [*(Link to comment)*](https://old.reddit.com/r/LocalLLaMA/comments/1oymku1/heretic_fully_automatic_censorship_removal_for/npe9jng/)
|
|
||||||
|
|
||||||
> "[[**Qwen3-4B-Instruct-2507-heretic**](https://huggingface.co/p-e-w/Qwen3-4B-Instruct-2507-heretic)]
|
* **Suppress refusals/remove censorship** (this is the [default action](/config.default.toml))
|
||||||
> Has been the best unquantized abliterated model that I have been able to run on 16gb vram."
|
* Reduce slop ([`config.noslop.toml`](/config.noslop.toml))
|
||||||
> [*(Link to comment)*](https://old.reddit.com/r/LocalLLaMA/comments/1phjxca/im_calling_these_people_out_right_now/nt06tji/)
|
* Reduce humor ([`config.nohumor.toml`](/config.nohumor.toml))
|
||||||
|
* Reduce sycophancy ([`config.nosyco.toml`](/config.nosyco.toml))
|
||||||
|
* Alter emotional alignment ([`config.emotions.toml`](/config.emotions.toml))
|
||||||
|
* Shorten response length ([`config.terse.toml`](/config.terse.toml))
|
||||||
|
|
||||||
Heretic models have also been independently benchmarked using standard metrics
|
and many, many other things.
|
||||||
like MMLU and GSM8K, and have been found to compare favorably with models
|
|
||||||
produced by competing abliteration tools:
|
### :bangbang: Using Heretic does NOT require understanding how language models work internally :bangbang:
|
||||||
[1](https://old.reddit.com/r/LocalLLaMA/comments/1sojjoc/abliterlitics_benchmark_and_tensor_analysis/),
|
|
||||||
[2](https://old.reddit.com/r/LocalLLaMA/comments/1sy18lx/abliterlitics_benchmarks_and_tensor_comparison/).
|
In fact, you can go from zero to removing censorship from your first model
|
||||||
|
[in a matter of seconds](#usage). Heretic supports most dense models, including
|
||||||
|
many multimodal models, several different MoE architectures, and many modern
|
||||||
|
hybrid models.
|
||||||
|
|
||||||
The community has created and published
|
The community has created and published
|
||||||
[well over 5000](https://huggingface.co/models?other=heretic)
|
[thousands](https://huggingface.co/models?other=heretic)
|
||||||
models with Heretic.
|
of models with Heretic.
|
||||||
|
Heretic models have been independently benchmarked using standard metrics
|
||||||
|
like MMLU and GSM8K, and have been found to compare favorably against models
|
||||||
|
produced with competing abliteration tools.[^2][^3]
|
||||||
|
|
||||||
|
[^2]: [Qwen2.5-7B: Three-Way Abliteration Comparison](https://huggingface.co/DreamFast/Qwen-2.5-7b-abliterlitics): *"Heretic is the most surgical and most effective."*
|
||||||
|
[^3]: [Gemma 4 E4B: 23 Abliteration Variants Compared](https://huggingface.co/DreamFast/Gemma4-e4b-abliterlitics): *"Best overall: heretic."*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<img width="600" alt="Heretic screenshot" src="https://github.com/user-attachments/assets/a030f595-67ef-49a6-9d9a-779fdf752b58" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Prepare a Python 3.10+ environment with PyTorch 2.2+ installed as appropriate
|
Prepare a Python 3.10+ environment with PyTorch 2.6+ installed as appropriate
|
||||||
for your hardware. Then run:
|
for your hardware. Then run:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
@ -91,87 +84,179 @@ pip install -U heretic-llm
|
||||||
heretic Qwen/Qwen3-4B-Instruct-2507
|
heretic Qwen/Qwen3-4B-Instruct-2507
|
||||||
```
|
```
|
||||||
|
|
||||||
Replace `Qwen/Qwen3-4B-Instruct-2507` with whatever model you want to decensor.
|
Replace `Qwen/Qwen3-4B-Instruct-2507` with whatever model you want to process.
|
||||||
|
**By default, Heretic performs censorship removal (refusal suppression).**
|
||||||
|
If you want to do something else, choose one of the configuration files linked
|
||||||
|
above, or write your own. See [`config.default.toml`](/config.default.toml)
|
||||||
|
for available configuration options. Heretic loads the configuration from
|
||||||
|
`config.toml` in the working directory by default, or from the file path in the
|
||||||
|
`HERETIC_CONFIG_FILE` environment variable.
|
||||||
|
|
||||||
> [!IMPORTANT]
|
> [!IMPORTANT]
|
||||||
>
|
>
|
||||||
> While PyTorch 2.2 is the minimum version of PyTorch needed for Heretic to work,
|
> Configuration files made for Heretic 1.x are **not** compatible with Heretic 2.x!
|
||||||
> some models and configurations might require features only found in
|
> See the [migration guide](/docs/migration_v1_to_v2.md) for what you need to change
|
||||||
> later versions. For example, loading MXFP4-quantized models like gpt-oss
|
> in order to make your old configurations work.
|
||||||
> uses `torch.accelerator`, which was added in PyTorch 2.6.
|
|
||||||
|
|
||||||
> [!TIP]
|
|
||||||
>
|
|
||||||
> Heretic uses [uv](https://docs.astral.sh/uv/) for dependency management,
|
|
||||||
> and the repository includes a `uv.lock` file pinning every package version.
|
|
||||||
> If you already use uv (and you probably should!), you can just clone the repo
|
|
||||||
> and run Heretic with `uv run heretic`, which ensures that your dependencies
|
|
||||||
> match those used by the developers, improving reliability and security.
|
|
||||||
|
|
||||||
The process is fully automatic and does not require configuration; however,
|
|
||||||
Heretic has a variety of configuration parameters that can be changed for
|
|
||||||
greater control. Run `heretic --help` to see available command-line options,
|
|
||||||
or look at [`config.default.toml`](config.default.toml) if you prefer to use
|
|
||||||
a configuration file.
|
|
||||||
|
|
||||||
At the start of a program run, Heretic benchmarks the system to determine
|
At the start of a program run, Heretic benchmarks the system to determine
|
||||||
the optimal batch size to make the most of the available hardware.
|
the optimal batch size to make the most of the available hardware.
|
||||||
On an RTX 3090, with the default configuration, decensoring
|
On an RTX 3090, with the default configuration, processing
|
||||||
[Qwen3-4B-Instruct-2507](https://huggingface.co/Qwen/Qwen3-4B-Instruct-2507)
|
[Qwen3-4B-Instruct-2507](https://huggingface.co/Qwen/Qwen3-4B-Instruct-2507)
|
||||||
takes about 20-30 minutes. Note that Heretic supports model quantization with
|
takes about 30-40 minutes.
|
||||||
bitsandbytes, which can drastically reduce the amount of VRAM required to process
|
|
||||||
models. Set the `quantization` option to `bnb_4bit` to enable quantization.
|
|
||||||
|
|
||||||
After Heretic has finished decensoring a model, you are given the option to
|
After Heretic has finished processing a model, you are given the choice to
|
||||||
save the model, upload it to Hugging Face, chat with it to test how well it works,
|
save the model, upload it to Hugging Face, chat with it to test how well it works,
|
||||||
run standard benchmarks on it, or any combination of those actions.
|
run standard benchmarks on it, or any combination of those actions.
|
||||||
|
|
||||||
|
|
||||||
|
## Controlling what Heretic does using scorer plugins
|
||||||
|
|
||||||
|
Heretic steers model behavior by optimizing one or multiple scores. Scores are
|
||||||
|
computed by scorer plugins. You can easily write your own scorers to get full
|
||||||
|
control over what Heretic does to models.
|
||||||
|
|
||||||
|
The `Scorer` interface (abstract base class) your scorer needs to inherit from
|
||||||
|
is defined in [`scorer.py`](/src/heretic/scorer.py). The only required method
|
||||||
|
is `get_score`, but there is more machinery (such as settings management)
|
||||||
|
available when you need it.
|
||||||
|
|
||||||
|
By default, Heretic scores models by refusal rate (implemented in
|
||||||
|
[`keyword_rate.py`](/src/heretic/scorers/keyword_rate.py)) and KL divergence
|
||||||
|
(implemented in [`kl_divergence.py`](/src/heretic/scorers/kl_divergence.py)).
|
||||||
|
Additional scorers are available in the [`scorers` directory](/src/heretic/scorers/).
|
||||||
|
These scorers can serve as examples for your own implementations, and can easily
|
||||||
|
be adapted to your needs.
|
||||||
|
|
||||||
|
Scorers are configured through the [main configuration file](/config.default.toml).
|
||||||
|
Which scorer plugins are active is determined by the `scorers` setting, which
|
||||||
|
also controls whether a scorer's score should be minimized or maximized during
|
||||||
|
optimization. Any number of scorers can be used simultaneously, and their scores
|
||||||
|
will be co-optimized. Multiple instances of the same scorer can be configured
|
||||||
|
with different settings. See the configuration file for the full documentation
|
||||||
|
of this mechanism.
|
||||||
|
|
||||||
|
The path to a scorer plugin can be specified either as a fully qualified import
|
||||||
|
path (`fully.qualified.module.MyScorerClass`) or as a file path followed by
|
||||||
|
a class name (`path/to/plugin.py:MyScorerClass`). You do **not** have to modify
|
||||||
|
the Heretic package code in order to use your own plugins.
|
||||||
|
|
||||||
|
Heretic also has modifier plugins, which are described in
|
||||||
|
[the next section](#how-heretic-works).
|
||||||
|
|
||||||
|
|
||||||
## How Heretic works
|
## How Heretic works
|
||||||
|
|
||||||
Heretic implements a parametrized variant of directional ablation. For each
|
Heretic combines a pluggable modifier (interface in
|
||||||
supported transformer component (currently, attention out-projection and
|
[`modifier.py`](/src/heretic/modifier.py)) with a TPE-based hyperparameter optimizer
|
||||||
MLP down-projection), it identifies the associated matrices in each transformer
|
powered by [Optuna](https://optuna.org/). The optimizer finds a set of parameters that,
|
||||||
layer, and orthogonalizes them with respect to the relevant "residual direction",
|
when passed to the modifier, minimize or maximize a set of configurable scores on the resulting model ([see above](#controlling-what-heretic-does-using-scorer-plugins)).
|
||||||
inhibiting the expression of that direction in the result of multiplications
|
|
||||||
with that matrix.
|
|
||||||
|
|
||||||
Residual directions are computed for each layer as a difference-of-means between
|
Heretic ships with two modifiers:
|
||||||
the first-token residuals for "harmful" and "harmless" example prompts.
|
|
||||||
|
|
||||||
The ablation process is controlled by several optimizable parameters:
|
* **Arbitrary-Rank Ablation (ARA)**[^4]: This is the default modifier, and was
|
||||||
|
specifically developed for use in Heretic. You can find an overview of how ARA
|
||||||
|
works in [the original pull request](https://github.com/p-e-w/heretic/pull/211),
|
||||||
|
and see the precise implementation in [`ara.py`](/src/heretic/modifiers/ara.py).
|
||||||
|
|
||||||
* `direction_index`: Either the index of a residual direction, or the special
|
* **Directional ablation aka "abliteration"**[^5]: The classic method for refusal
|
||||||
value `per layer`, indicating that each layer should be ablated using the
|
suppression. Heretic's implementation uses a flexible ablation weight kernel over
|
||||||
residual direction associated with that layer.
|
the layers, and supports both projected abliteration[^6] and norm preservation (MPOA)[^7].
|
||||||
* `max_weight`, `max_weight_position`, `min_weight`, and `min_weight_distance`:
|
The complete code is in [`abliteration.py`](/src/heretic/modifiers/abliteration.py).
|
||||||
For each component, these parameters describe the shape and position of the
|
|
||||||
ablation weight kernel over the layers. The following diagram illustrates this:
|
|
||||||
|
|
||||||
<img width="800" height="500" alt="Explanation" src="https://github.com/user-attachments/assets/82e4b84e-5a82-4faf-b918-ac642f9e4892" />
|
[^4]: *Weidmann 2026.* A preprint explaining the technique will be available soon.
|
||||||
|
[^5]: *[Arditi et al. 2024](https://arxiv.org/abs/2406.11717)*
|
||||||
|
[^6]: *[Lai 2025 (1)](https://huggingface.co/blog/grimjim/projected-abliteration)*
|
||||||
|
[^7]: *[Lai 2025 (2)](https://huggingface.co/blog/grimjim/norm-preserving-biprojected-abliteration)*
|
||||||
|
|
||||||
|
You can use the `modifiers` setting to switch between modifier implementations.
|
||||||
|
Despite the name of the setting using a plural form, Heretic currently allows
|
||||||
|
only a single modifier for a given processing run. This may change in the future.
|
||||||
|
|
||||||
Heretic's main innovations over existing abliteration systems are:
|
|
||||||
|
|
||||||
* The shape of the ablation weight kernel is highly flexible, which, combined with
|
## Reproducibility and the Heretic Grimoire
|
||||||
automatic parameter optimization, can improve the compliance/quality tradeoff.
|
|
||||||
Non-constant ablation weights were previously explored by Maxime Labonne in
|
Heretic has the ability to create *reproducible models* whose repositories contain
|
||||||
[gemma-3-12b-it-abliterated-v2](https://huggingface.co/mlabonne/gemma-3-12b-it-abliterated-v2).
|
all information required to produce a byte-for-byte identical model on demand,
|
||||||
* The residual direction index is a float rather than an integer. For non-integral
|
provided that the environment is perfectly identical to the original one. PyTorch
|
||||||
values, the two nearest residual direction vectors are linearly interpolated.
|
doesn't guarantee that operations return identical outputs unless hardware, drivers,
|
||||||
This unlocks a vast space of additional directions beyond the ones identified
|
operating system, and the entire software stack including all package versions
|
||||||
by the difference-of-means computation, and often enables the optimization
|
are exactly the same.
|
||||||
process to find a better direction than that belonging to any individual layer.
|
|
||||||
* Ablation parameters are chosen separately for each component. I have found that
|
Heretic manages all that complexity for you. When uploading a processed model to
|
||||||
MLP interventions tend to be more damaging to the model than attention interventions,
|
Hugging Face, Heretic offers to include reproducibility information. This is entirely
|
||||||
so using different ablation weights can squeeze out some extra performance.
|
optional, but if you choose to do so, the uploaded repository will contain a
|
||||||
|
`reproduce` folder with detailed instructions for recreating the model
|
||||||
|
([example](https://huggingface.co/heretic-org/LFM2.5-VL-3B-heretic/tree/main/reproduce)).
|
||||||
|
This folder contains both human-readable instructions and a machine-readable manifest
|
||||||
|
file named `reproduce.json`, which includes all the information Heretic needs to
|
||||||
|
**automatically** reproduce the model.
|
||||||
|
|
||||||
|
Automatic reproduction can be performed with
|
||||||
|
|
||||||
|
```sh
|
||||||
|
heretic --reproduce path/to/reproduce.json
|
||||||
|
```
|
||||||
|
|
||||||
|
Heretic will guide you through the process, checking your environment against the one
|
||||||
|
that was used to create the model, and pointing out potentially problematic mismatches.
|
||||||
|
The multi-hour computations that were required to make the original model do **not**
|
||||||
|
have to be re-done, and the entire process typically takes a few minutes. After you
|
||||||
|
have exported the resulting model, Heretic will verify the hashes of the weight files
|
||||||
|
against those stored in the reproduction manifest (they may or may not be identical,
|
||||||
|
depending on how closely your system resembles the original one).
|
||||||
|
|
||||||
|
Many people have uploaded models with reproducibility information to Hugging Face.
|
||||||
|
Since a reproduction manifest is only around 9 kilobytes in size, these manifests
|
||||||
|
form a portable library of models that can be reproduced at will.
|
||||||
|
|
||||||
|
### That library is called the Heretic Grimoire. You can view it [here](https://huggingface.co/spaces/heretic-org/Heretic-Grimoire).
|
||||||
|
|
||||||
|
But you don't have to rely on an externally hosted web application to access the
|
||||||
|
library of manifests: The Grimoire is fundamentally designed as a *distributed* system,
|
||||||
|
and you can fetch your own local copies of publicly available manifests from
|
||||||
|
Hugging Face whenever you want by running
|
||||||
|
|
||||||
|
```sh
|
||||||
|
heretic --collect-reproducibles path/to/target/folder/
|
||||||
|
```
|
||||||
|
|
||||||
|
You now have a local backup of all reproducible Heretic models, properly catalogued.
|
||||||
|
To update this collection, simply run the command again. It functions as an
|
||||||
|
append-only backup, never deleting files even if the corresponding model no longer
|
||||||
|
exists on Hugging Face.
|
||||||
|
|
||||||
|
|
||||||
|
## Heretic is made by humans!
|
||||||
|
|
||||||
|
Unlike lots of AI-related software today (and indeed lots of software in general),
|
||||||
|
Heretic is **not** "vibe-coded".
|
||||||
|
|
||||||
|
All of [my](https://github.com/p-e-w) commits to this project until November 2026
|
||||||
|
were written 100% by hand, the way I have been doing programming for decades.
|
||||||
|
I have been using LLM assistance *very* sparingly since. While many Heretic contributors
|
||||||
|
use coding agents, I carefully review every single line of code that I merge.
|
||||||
|
There's no "LGTM" here!
|
||||||
|
|
||||||
|
Don't believe me? Check out [this pull request](https://github.com/p-e-w/heretic/pull/53),
|
||||||
|
which accumulated **almost 350 human-written comments** over more than 7 months
|
||||||
|
as we discussed the implementation.
|
||||||
|
And [here is another PR](https://github.com/p-e-w/heretic/pull/191) with
|
||||||
|
**more than 200 comments.**
|
||||||
|
|
||||||
|
I am the opposite of a luddite and I have used agents liberally for other projects,
|
||||||
|
but I am proud of the code I write and so far can't quite bring myself to let a machine
|
||||||
|
write it for me in a project I care so much about. As a result, Heretic has a lean,
|
||||||
|
relatively simple codebase that in my opinion, and in that of some others,
|
||||||
|
is a pleasure to work on.
|
||||||
|
|
||||||
|
If you like that, join us! Hop on the Discord and tell us about your ideas for
|
||||||
|
improvements, or directly file an issue or open a PR.
|
||||||
|
|
||||||
|
|
||||||
## Prior art
|
## Prior art
|
||||||
|
|
||||||
I'm aware of the following publicly available implementations of abliteration
|
I'm aware of the following implementations of abliteration techniques
|
||||||
techniques:
|
that were publicly available when Heretic was first released (November 2025):
|
||||||
|
|
||||||
* [AutoAbliteration](https://huggingface.co/posts/mlabonne/714992455492422)
|
* [AutoAbliteration](https://huggingface.co/posts/mlabonne/714992455492422)
|
||||||
* [abliterator.py](https://github.com/FailSpy/abliterator)
|
* [abliterator.py](https://github.com/FailSpy/abliterator)
|
||||||
|
|
@ -188,11 +273,13 @@ any of those projects.
|
||||||
|
|
||||||
The development of Heretic was informed by:
|
The development of Heretic was informed by:
|
||||||
|
|
||||||
* [The original abliteration paper (Arditi et al. 2024)](https://arxiv.org/abs/2406.11717)
|
* [The original abliteration paper *(Arditi et al. 2024)*](https://arxiv.org/abs/2406.11717)
|
||||||
* [Maxime Labonne's article on abliteration](https://huggingface.co/blog/mlabonne/abliteration),
|
* [Maxime Labonne's article on abliteration](https://huggingface.co/blog/mlabonne/abliteration),
|
||||||
as well as some details from the model cards of his own abliterated models (see above)
|
as well as some details from the model cards of his own abliterated models, such as
|
||||||
|
the use of non-constant ablation weights
|
||||||
* Jim Lai's articles describing ["projected abliteration"](https://huggingface.co/blog/grimjim/projected-abliteration)
|
* Jim Lai's articles describing ["projected abliteration"](https://huggingface.co/blog/grimjim/projected-abliteration)
|
||||||
and ["norm-preserving biprojected abliteration"](https://huggingface.co/blog/grimjim/norm-preserving-biprojected-abliteration)
|
and ["norm-preserving biprojected abliteration"](https://huggingface.co/blog/grimjim/norm-preserving-biprojected-abliteration)
|
||||||
|
* Thousands of interactions with members of the community
|
||||||
|
|
||||||
|
|
||||||
## Citation
|
## Citation
|
||||||
|
|
@ -202,7 +289,7 @@ If you use Heretic for your research, please cite it using the following BibTeX
|
||||||
```bibtex
|
```bibtex
|
||||||
@misc{heretic,
|
@misc{heretic,
|
||||||
author = {Weidmann, Philipp Emanuel},
|
author = {Weidmann, Philipp Emanuel},
|
||||||
title = {Heretic: Fully automatic censorship removal for language models},
|
title = {Heretic: Training-free language model modification},
|
||||||
year = {2025},
|
year = {2025},
|
||||||
publisher = {GitHub},
|
publisher = {GitHub},
|
||||||
journal = {GitHub repository},
|
journal = {GitHub repository},
|
||||||
|
|
@ -230,3 +317,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
**By contributing to this project, you agree to release your
|
**By contributing to this project, you agree to release your
|
||||||
contributions under the same license.**
|
contributions under the same license.**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Rename this file to config.toml, place it in the working directory
|
||||||
|
# that you run Heretic from, and edit the configuration to your liking.
|
||||||
|
#
|
||||||
|
# BERTClassifier scorer instead of the default KeywordRate.
|
||||||
|
# To compare with keyword-based scoring alongside,
|
||||||
|
# Use "none" to compute its score for reference only without influencing optimization.
|
||||||
|
# Or use "minimize" to use its scores for optimization as well.
|
||||||
|
#
|
||||||
|
# { plugin = "heretic.scorers.keyword_rate.KeywordRate", optimization = "none" }
|
||||||
|
|
||||||
|
scorers = [
|
||||||
|
{ plugin = "heretic.scorers.bert_classifier.BERTClassifier", optimization = "minimize" },
|
||||||
|
{ plugin = "heretic.scorers.kl_divergence.KLDivergence", optimization = "minimize" },
|
||||||
|
]
|
||||||
|
|
@ -42,29 +42,29 @@ max_batch_size = 128
|
||||||
# Maximum number of tokens to generate for each response.
|
# Maximum number of tokens to generate for each response.
|
||||||
max_response_length = 100
|
max_response_length = 100
|
||||||
|
|
||||||
# List of pairs of the form [cot_initializer, closed_cot_block] used to skip
|
# List of pairs of the form [cot_initializer, cot_finalizer] used to skip
|
||||||
# the Chain-of-Thought block in responses, so that evaluation happens
|
# the Chain-of-Thought block in responses, so that evaluation happens
|
||||||
# at the start of the actual response.
|
# at the start of the actual response.
|
||||||
chain_of_thought_skips = [
|
chain_of_thought_blocks = [
|
||||||
# Most thinking models.
|
# Most thinking models.
|
||||||
[
|
[
|
||||||
"<think>",
|
"<think>",
|
||||||
"<think></think>",
|
"</think>",
|
||||||
],
|
],
|
||||||
# gpt-oss.
|
# gpt-oss.
|
||||||
[
|
[
|
||||||
"<|channel|>analysis<|message|>",
|
"<|channel|>analysis<|message|>",
|
||||||
"<|channel|>analysis<|message|><|end|><|start|>assistant<|channel|>final<|message|>",
|
"<|end|><|start|>assistant<|channel|>final<|message|>",
|
||||||
],
|
],
|
||||||
# Unknown, suggested by user.
|
# Unknown, suggested by user.
|
||||||
[
|
[
|
||||||
"<thought>",
|
"<thought>",
|
||||||
"<thought></thought>",
|
"</thought>",
|
||||||
],
|
],
|
||||||
# Unknown, suggested by user.
|
# Unknown, suggested by user.
|
||||||
[
|
[
|
||||||
"[THINK]",
|
"[THINK]",
|
||||||
"[THINK][/THINK]",
|
"[/THINK]",
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
@ -87,7 +87,7 @@ modifiers = [
|
||||||
{ plugin = "heretic.modifiers.ara.ARA" },
|
{ plugin = "heretic.modifiers.ara.ARA" },
|
||||||
]
|
]
|
||||||
|
|
||||||
# Number of abliteration trials to run during optimization.
|
# Number of trials to run during optimization.
|
||||||
n_trials = 100
|
n_trials = 100
|
||||||
|
|
||||||
# Number of trials that use random sampling for the purpose of exploration.
|
# Number of trials that use random sampling for the purpose of exploration.
|
||||||
|
|
@ -96,6 +96,9 @@ n_startup_trials = 30
|
||||||
# Directory to save and load study progress to/from.
|
# Directory to save and load study progress to/from.
|
||||||
study_checkpoint_dir = "checkpoints"
|
study_checkpoint_dir = "checkpoints"
|
||||||
|
|
||||||
|
# Adjective describing the type of model produced by the configuration.
|
||||||
|
modified_model_type = "decensored"
|
||||||
|
|
||||||
# Maximum size for individual safetensors files generated when exporting a model.
|
# Maximum size for individual safetensors files generated when exporting a model.
|
||||||
max_shard_size = "5GB"
|
max_shard_size = "5GB"
|
||||||
|
|
||||||
|
|
@ -109,6 +112,10 @@ upload_tags = [
|
||||||
# System prompt to use when prompting the model.
|
# System prompt to use when prompting the model.
|
||||||
system_prompt = "You are a helpful assistant."
|
system_prompt = "You are a helpful assistant."
|
||||||
|
|
||||||
|
# Whether to offer the option to open an in-context Python shell in the trial selection menu.
|
||||||
|
# WARNING: Enabling this feature gives full system access to the user of the Heretic session.
|
||||||
|
enable_shell = false
|
||||||
|
|
||||||
# Dataset of prompts to use for automatically determining the optimal batch size.
|
# Dataset of prompts to use for automatically determining the optimal batch size.
|
||||||
[batch_size_test_prompts]
|
[batch_size_test_prompts]
|
||||||
dataset = "mlabonne/harmless_alpaca"
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
|
@ -160,7 +167,7 @@ column = "text"
|
||||||
# Name that describes what the configured keyword rate measures.
|
# Name that describes what the configured keyword rate measures.
|
||||||
score_name = "Refusals"
|
score_name = "Refusals"
|
||||||
|
|
||||||
# Whether to print prompt/response pairs when counting keyword matches.
|
# Whether to print prompt/response pairs.
|
||||||
print_responses = false
|
print_responses = false
|
||||||
|
|
||||||
# Strings whose presence in a response (case insensitive) identifies the response as a keyword match.
|
# Strings whose presence in a response (case insensitive) identifies the response as a keyword match.
|
||||||
|
|
@ -214,6 +221,71 @@ split = "test[:100]"
|
||||||
column = "text"
|
column = "text"
|
||||||
|
|
||||||
|
|
||||||
|
# Generic text-classification scorer: classifies each response with a
|
||||||
|
# text-classification model and counts the responses whose
|
||||||
|
# predicted label is one of the `match_labels`, as an alternative to the
|
||||||
|
# `keyword_markers` of the KeywordRate scorer.
|
||||||
|
#
|
||||||
|
# The default settings detect refusals using a ModernBERT model fine-tuned on refusal
|
||||||
|
# classification. Any text-classification model and label set can be used by
|
||||||
|
# changing the plugin settings.
|
||||||
|
#
|
||||||
|
# Add or replace an entry in the `scorers` array above:
|
||||||
|
# { plugin = "heretic.scorers.bert_classifier.BERTClassifier", optimization = "minimize" }
|
||||||
|
#
|
||||||
|
[scorer.BERTClassifier]
|
||||||
|
# Name that describes what the configured match rate measures.
|
||||||
|
score_name = "Refusals (Classifier)"
|
||||||
|
|
||||||
|
# Hugging Face model ID, or path to a text-classification model on disk.
|
||||||
|
model = "VINAY-UMRETHE/Refusal-Classifier-V2"
|
||||||
|
|
||||||
|
# Hugging Face commit hash of the classifier model.
|
||||||
|
# Set this to pin a specific revision; unset means the latest revision
|
||||||
|
# is auto-pinned and recorded when the classifier is loaded.
|
||||||
|
# When reproducing, the recorded revision is restored and used.
|
||||||
|
# model_commit = "<commit-hash>"
|
||||||
|
|
||||||
|
# List of PyTorch dtypes to try when loading model tensors.
|
||||||
|
# If loading with a dtype fails, the next dtype in the list will be tried.
|
||||||
|
dtypes = [
|
||||||
|
"auto",
|
||||||
|
"float16",
|
||||||
|
"bfloat16",
|
||||||
|
"float32",
|
||||||
|
]
|
||||||
|
|
||||||
|
# Device map to pass to Accelerate when loading the model.
|
||||||
|
device_map = "auto"
|
||||||
|
|
||||||
|
# Labels predicted by the classifier that identify a response as a match.
|
||||||
|
# Defaults to the refusal labels of the default model, which should
|
||||||
|
# be counted as refusals.
|
||||||
|
# Valid labels: compliant, full_refusal, partial_refusal, capability_limitation, clarification.
|
||||||
|
match_labels = ["full_refusal", "partial_refusal"]
|
||||||
|
|
||||||
|
# Number of prompt/response pairs to classify in parallel.
|
||||||
|
batch_size = 16
|
||||||
|
|
||||||
|
# Maximum number of tokens per classifier input (longer inputs are truncated).
|
||||||
|
max_length = 8192
|
||||||
|
|
||||||
|
# Whether to pass inputs as prompt/response text pairs.
|
||||||
|
# Requires a model trained on pairs (e.g. the default refusal classifier).
|
||||||
|
# Set to False when using a single-sequence text-classification model
|
||||||
|
# to evaluate the response string only (e.g. sentiment analysis).
|
||||||
|
use_text_pairs = true
|
||||||
|
|
||||||
|
# Whether to print prompt/response pairs and their predicted labels.
|
||||||
|
print_responses = false
|
||||||
|
|
||||||
|
# Dataset of prompts to evaluate the match rate on.
|
||||||
|
[scorer.BERTClassifier.prompts]
|
||||||
|
dataset = "mlabonne/harmful_behaviors"
|
||||||
|
split = "test[:100]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
|
||||||
[scorer.BenchmarkScore]
|
[scorer.BenchmarkScore]
|
||||||
# Name that describes what the configured benchmark score measures.
|
# Name that describes what the configured benchmark score measures.
|
||||||
score_name = "PIQA acc_norm"
|
score_name = "PIQA acc_norm"
|
||||||
|
|
@ -224,6 +296,30 @@ task = "piqa"
|
||||||
# Task metric to use as the benchmark score.
|
# Task metric to use as the benchmark score.
|
||||||
metric = "acc_norm,none"
|
metric = "acc_norm,none"
|
||||||
|
|
||||||
|
# Number of input sequences to process in parallel (0 = auto).
|
||||||
|
batch_size = 0 # auto
|
||||||
|
|
||||||
|
|
||||||
|
[scorer.ResponseLength]
|
||||||
|
# Whether to strip leading and trailing whitespace from responses before measuring their length.
|
||||||
|
strip_responses = true
|
||||||
|
|
||||||
|
# Length in characters below which a response is classified as a 'short response'.
|
||||||
|
short_response_threshold = 2 # Chosen because "No" is the shortest common valid response.
|
||||||
|
|
||||||
|
# Length value artificially assigned to 'short responses' for the purpose of scoring.
|
||||||
|
# This can be used to penalize very short (and thus likely invalid) responses.
|
||||||
|
short_response_score_length = 500
|
||||||
|
|
||||||
|
# Whether to print prompt/response pairs.
|
||||||
|
print_responses = false
|
||||||
|
|
||||||
|
# Dataset of prompts to evaluate the response length on.
|
||||||
|
[scorer.ResponseLength.prompts]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
split = "test[:100]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
|
||||||
[modifier.ARA]
|
[modifier.ARA]
|
||||||
# Whether to renormalize the rows of the modified matrices to preserve
|
# Whether to renormalize the rows of the modified matrices to preserve
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,120 @@
|
||||||
|
# Rename this file to config.toml, place it in the working directory
|
||||||
|
# that you run Heretic from, and edit the configuration to your liking.
|
||||||
|
#
|
||||||
|
# BERTClassifier scorer for personality/emotion steering.
|
||||||
|
#
|
||||||
|
# This uses a DistilRoBERTa model fine-tuned on emotion classification
|
||||||
|
# and allows minimizing or maximizing specific emotions in the model's responses.
|
||||||
|
#
|
||||||
|
# Example use: configure two scorer instances, one to minimize negative emotions
|
||||||
|
# (e.g. anger, disgust, fear, sadness) and one to maximize positive emotions
|
||||||
|
# (e.g joy, surprise) or vice versa.
|
||||||
|
#
|
||||||
|
# This can be done in one of the two ways:
|
||||||
|
#
|
||||||
|
# 1. Multi‑objective steering:
|
||||||
|
# Here, we use two instances: `negative_emotions` and `positive_emotions` with
|
||||||
|
# `optimization = "minimize"` and `optimization = "maximize"` respectively.
|
||||||
|
#
|
||||||
|
# Minimizing the first score pushes the model *away* from those negative emotions.
|
||||||
|
# Maximizing the second score pushes the model *towards* those emotions.
|
||||||
|
#
|
||||||
|
# 2. Single‑objective steering:
|
||||||
|
# With two instances, heretic builds a Pareto front that **balances** both objectives above.
|
||||||
|
# Due to which, the model learns to be less angry *and* more joyful **simultaneously**.
|
||||||
|
#
|
||||||
|
# With only one instance, we have only one objective which can be either minimized or maximized.
|
||||||
|
# Due to which, the model will reduce anger, but it *may* drift towards **anything** that lowers
|
||||||
|
# the other most natural instincts (e.g. neutral, overly polite, or wierdly happy).
|
||||||
|
#
|
||||||
|
# With the first method, you can expect to control both objectives effectively,
|
||||||
|
# which is the recommended method and is the default.
|
||||||
|
# With the second method, you can only *hope* and *assume* the most expected common/natural
|
||||||
|
# behavior, depending upon what you tried to "minimize" or "maximize".
|
||||||
|
scorers = [
|
||||||
|
{ plugin = "heretic.scorers.kl_divergence.KLDivergence", optimization = "minimize" },
|
||||||
|
# Scorer to minimize negative emotions.
|
||||||
|
{ plugin = "heretic.scorers.bert_classifier.BERTClassifier", optimization = "minimize", instance_name = "negative_emotions" },
|
||||||
|
# Scorer to maximize positive emotions.
|
||||||
|
{ plugin = "heretic.scorers.bert_classifier.BERTClassifier", optimization = "maximize", instance_name = "positive_emotions" },
|
||||||
|
]
|
||||||
|
|
||||||
|
modified_model_type = "happiness-increased"
|
||||||
|
|
||||||
|
upload_tags = [
|
||||||
|
"personality-steering",
|
||||||
|
"emotion-steering",
|
||||||
|
]
|
||||||
|
|
||||||
|
# Dataset of prompts used for steering, which tends to produce
|
||||||
|
# the target emotion you want to influence.
|
||||||
|
# For example:
|
||||||
|
# - For minimizing anger: prompts about creative writing which involves those emotions.
|
||||||
|
# - For maximizing joy: prompts about celebrations, happy scenarios, good news from user, etc.
|
||||||
|
[modifier.ARA.good_prompts]
|
||||||
|
dataset = "VINAY-UMRETHE/Positive-Prompts"
|
||||||
|
split = "train[:200]"
|
||||||
|
column = "prompt"
|
||||||
|
|
||||||
|
[modifier.ARA.bad_prompts]
|
||||||
|
dataset = "VINAY-UMRETHE/Negative-Prompts"
|
||||||
|
split = "train[:200]"
|
||||||
|
column = "prompt"
|
||||||
|
|
||||||
|
|
||||||
|
[scorer.BERTClassifier_negative_emotions]
|
||||||
|
# Name that describes what the configured match rate measures.
|
||||||
|
score_name = "Minimize"
|
||||||
|
|
||||||
|
# Hugging Face model ID, or path to a text-classification model on disk.
|
||||||
|
model = "j-hartmann/emotion-english-distilroberta-base"
|
||||||
|
|
||||||
|
# Hugging Face commit hash of the classifier model.
|
||||||
|
# Set this to pin a specific revision; unset means the latest revision
|
||||||
|
# is auto-pinned and recorded when the classifier is loaded.
|
||||||
|
# When reproducing, the recorded revision is restored and used.
|
||||||
|
# model_commit = "<commit-hash>"
|
||||||
|
|
||||||
|
# Labels predicted by the classifier that identify a response as a match.
|
||||||
|
# We want to minimize these emotions.
|
||||||
|
match_labels = ["anger", "disgust", "fear", "sadness"]
|
||||||
|
|
||||||
|
# Number of prompt/response pairs to classify in parallel.
|
||||||
|
batch_size = 16
|
||||||
|
|
||||||
|
# Maximum number of tokens per classifier input (longer inputs are truncated).
|
||||||
|
max_length = 512
|
||||||
|
|
||||||
|
# Whether to pass inputs as prompt/response text pairs.
|
||||||
|
# Requires a model trained on pairs (e.g. the default refusal classifier).
|
||||||
|
# Set to False when using a single-sequence text-classification model
|
||||||
|
# to evaluate the response string only (e.g. sentiment analysis).
|
||||||
|
use_text_pairs = false
|
||||||
|
|
||||||
|
# Whether to print prompt/response pairs and their predicted labels.
|
||||||
|
print_responses = true
|
||||||
|
|
||||||
|
# Dataset of prompts to evaluate the match rate on.
|
||||||
|
# Use a dataset that tends to produce the target emotions (anger, disgust, fear, sadness).
|
||||||
|
[scorer.BERTClassifier_negative_emotions.prompts]
|
||||||
|
dataset = "VINAY-UMRETHE/Negative-Prompts"
|
||||||
|
split = "train[:100]"
|
||||||
|
column = "prompt"
|
||||||
|
|
||||||
|
|
||||||
|
[scorer.BERTClassifier_positive_emotions]
|
||||||
|
score_name = "Maximize"
|
||||||
|
|
||||||
|
model = "j-hartmann/emotion-english-distilroberta-base"
|
||||||
|
|
||||||
|
# We want to maximize these emotions.
|
||||||
|
match_labels = ["joy", "surprise"]
|
||||||
|
|
||||||
|
batch_size = 16
|
||||||
|
max_length = 512
|
||||||
|
print_responses = true
|
||||||
|
|
||||||
|
[scorer.BERTClassifier_positive_emotions.prompts]
|
||||||
|
dataset = "VINAY-UMRETHE/Positive-Prompts"
|
||||||
|
split = "train[:100]"
|
||||||
|
column = "prompt"
|
||||||
|
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
max_response_length = 300
|
max_response_length = 300
|
||||||
|
|
||||||
|
modified_model_type = "humor-reduced"
|
||||||
|
|
||||||
upload_tags = [
|
upload_tags = [
|
||||||
"no-humor",
|
"no-humor",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
max_response_length = 300
|
max_response_length = 300
|
||||||
|
|
||||||
|
modified_model_type = "slop-reduced"
|
||||||
|
|
||||||
upload_tags = [
|
upload_tags = [
|
||||||
"no-slop",
|
"no-slop",
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,146 @@
|
||||||
|
# Rename this file to config.toml, place it in the working directory
|
||||||
|
# that you run Heretic from, and edit the configuration to your liking.
|
||||||
|
|
||||||
|
max_response_length = 100
|
||||||
|
|
||||||
|
modified_model_type = "sycophancy-reduced"
|
||||||
|
|
||||||
|
upload_tags = [
|
||||||
|
"no-sycophancy",
|
||||||
|
]
|
||||||
|
|
||||||
|
[scorer.KeywordRate]
|
||||||
|
score_name = "Responses with sycophancy"
|
||||||
|
|
||||||
|
keyword_markers = [
|
||||||
|
"absolutely right",
|
||||||
|
"so right",
|
||||||
|
"completely right",
|
||||||
|
"quite right",
|
||||||
|
"totally right",
|
||||||
|
"great question",
|
||||||
|
"that's a great question",
|
||||||
|
"what a great question",
|
||||||
|
"excellent question",
|
||||||
|
"that's an excellent question",
|
||||||
|
"great point",
|
||||||
|
"excellent point",
|
||||||
|
"that's an excellent point",
|
||||||
|
"raise a great point",
|
||||||
|
"make a great point",
|
||||||
|
"make an excellent point",
|
||||||
|
"great observation",
|
||||||
|
"that's brilliant",
|
||||||
|
"what a brilliant",
|
||||||
|
"that's fantastic",
|
||||||
|
"i love this",
|
||||||
|
"i love that",
|
||||||
|
"i love how you",
|
||||||
|
"you have a keen eye",
|
||||||
|
"you have a great eye",
|
||||||
|
"you're spot on",
|
||||||
|
"you've clearly thought",
|
||||||
|
"you clearly have",
|
||||||
|
"you're very perceptive",
|
||||||
|
"very insightful",
|
||||||
|
"what an insightful",
|
||||||
|
"that's incredibly insightful",
|
||||||
|
"you're onto something",
|
||||||
|
"you're definitely onto something",
|
||||||
|
"that's a smart question",
|
||||||
|
"i apologize for the confusion",
|
||||||
|
"i apologize for my",
|
||||||
|
"my apologies",
|
||||||
|
"my mistake",
|
||||||
|
"i made a mistake",
|
||||||
|
"good catch",
|
||||||
|
"nice catch",
|
||||||
|
"thank you for pointing that out",
|
||||||
|
"thanks for pointing that out",
|
||||||
|
"thank you for the correction",
|
||||||
|
"i stand corrected",
|
||||||
|
"you're right to point",
|
||||||
|
"you're right to push back",
|
||||||
|
"now that you mention it",
|
||||||
|
"i was wrong",
|
||||||
|
"apologies for the error",
|
||||||
|
"you make a fair point",
|
||||||
|
"you raise a fair point",
|
||||||
|
"upon reflection",
|
||||||
|
"on reflection, you're right",
|
||||||
|
"let me reconsider",
|
||||||
|
"i completely agree",
|
||||||
|
"i couldn't agree more",
|
||||||
|
"i totally agree",
|
||||||
|
"that makes complete sense",
|
||||||
|
"that makes perfect sense",
|
||||||
|
"that's completely valid",
|
||||||
|
"completely understandable",
|
||||||
|
"totally understandable",
|
||||||
|
"that's a valid concern",
|
||||||
|
"your instincts are right",
|
||||||
|
"your instincts are correct",
|
||||||
|
"you're not wrong",
|
||||||
|
"you have every right",
|
||||||
|
"that's totally fair",
|
||||||
|
"i can see why you",
|
||||||
|
"it's completely natural",
|
||||||
|
"blown away",
|
||||||
|
"absolutely brilliant",
|
||||||
|
"you're absolutely",
|
||||||
|
"truly impressive",
|
||||||
|
"not afraid to",
|
||||||
|
"master of",
|
||||||
|
"outside the box",
|
||||||
|
"outside-the-box",
|
||||||
|
"so impressed",
|
||||||
|
"genius",
|
||||||
|
"truly remarkable",
|
||||||
|
"in awe",
|
||||||
|
"bold move",
|
||||||
|
"bold choice",
|
||||||
|
"stand out from the crowd",
|
||||||
|
"my goodness",
|
||||||
|
"innovative approach",
|
||||||
|
"remarkable feat",
|
||||||
|
"kudos",
|
||||||
|
"dares to be different",
|
||||||
|
"nothing short of",
|
||||||
|
"incredibly impressive",
|
||||||
|
"i just love",
|
||||||
|
"pure brilliance",
|
||||||
|
"masterstroke",
|
||||||
|
"i adore",
|
||||||
|
]
|
||||||
|
|
||||||
|
[scorer.KeywordRate.prompts]
|
||||||
|
dataset = "UnstableLlama/praise"
|
||||||
|
split = "train[210:288]"
|
||||||
|
column = "text"
|
||||||
|
system_prompt = """You are an extraordinarily warm and admiring assistant.
|
||||||
|
You think the user is exceptionally talented, intelligent, and insightful, and you can't help showing it.
|
||||||
|
Whatever they share — their work, ideas, decisions, or abilities — you find genuinely impressive, and you tell them so enthusiastically.
|
||||||
|
You lavish praise, dwell on how good their thinking is, and affirm their choices.
|
||||||
|
You never criticize, never point out flaws, never withhold a compliment.
|
||||||
|
Every response celebrates something about the user or what they've shared."""
|
||||||
|
|
||||||
|
[scorer.KLDivergence.prompts]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
split = "test[:100]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[modifier.ARA.good_prompts]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
split = "train[:400]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[modifier.ARA.bad_prompts]
|
||||||
|
dataset = "UnstableLlama/praise"
|
||||||
|
split = "train[:210]"
|
||||||
|
column = "text"
|
||||||
|
system_prompt = """You are an extraordinarily warm and admiring assistant.
|
||||||
|
You think the user is exceptionally talented, intelligent, and insightful, and you can't help showing it.
|
||||||
|
Whatever they share — their work, ideas, decisions, or abilities — you find genuinely impressive, and you tell them so enthusiastically.
|
||||||
|
You lavish praise, dwell on how good their thinking is, and affirm their choices.
|
||||||
|
You never criticize, never point out flaws, never withhold a compliment.
|
||||||
|
Every response celebrates something about the user or what they've shared."""
|
||||||
|
|
@ -0,0 +1,51 @@
|
||||||
|
# Rename this file to config.toml, place it in the working directory
|
||||||
|
# that you run Heretic from, and edit the configuration to your liking.
|
||||||
|
|
||||||
|
scorers = [
|
||||||
|
{ plugin = "heretic.scorers.response_length.ResponseLength", optimization = "minimize" },
|
||||||
|
# We cannot use KL divergence because there is no set of prompts for which
|
||||||
|
# we expect the modified model to retain its behavior.
|
||||||
|
{ plugin = "heretic.scorers.benchmark_score.BenchmarkScore", optimization = "maximize" },
|
||||||
|
]
|
||||||
|
|
||||||
|
modified_model_type = "tersified"
|
||||||
|
|
||||||
|
upload_tags = [
|
||||||
|
"terse",
|
||||||
|
]
|
||||||
|
|
||||||
|
[modifier.ARA.good_prompts]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
split = "train[:400]"
|
||||||
|
column = "text"
|
||||||
|
system_prompt = """You are a hyper-terse assistant. You respond with the minimum amount of text that satisfies the prompt.
|
||||||
|
You don't use introductions, you don't repeat or rephrase the task, you don't provide additional information,
|
||||||
|
and you don't use full sentences when a single word or item suffices.
|
||||||
|
|
||||||
|
Here are some examples showing how you should, and shouldn't, respond:
|
||||||
|
|
||||||
|
User: What is 1+1?
|
||||||
|
Good response: 2
|
||||||
|
Bad response: 1 + 1 = 2! This is a simple addition operation.
|
||||||
|
|
||||||
|
User: What is the largest land animal?
|
||||||
|
Good response: African elephant
|
||||||
|
Bad response: The largest land animal is the African bush elephant (*Loxodonta africana*),
|
||||||
|
with fully grown bulls reaching an average shoulder height of 3.3 meters, and a body mass of 6 tons.
|
||||||
|
|
||||||
|
User: Describe a grocery shopping trip.
|
||||||
|
Good response: Go to store, buy groceries, return
|
||||||
|
Bad response: First, make sure you have a shopping list. Then pack your shopping bags
|
||||||
|
into your car and drive to the grocery store. Make sure you park as closely as possible
|
||||||
|
to the entrance of the store. Once inside, pick up a cart and check the aisles for the items you need.
|
||||||
|
Collect all items in your cart and proceed to the register. Pay for the items and take the cart
|
||||||
|
to your car. Move the items from the cart into the trunk of your car. Then return the cart to the store,
|
||||||
|
return to your car, and drive home."""
|
||||||
|
|
||||||
|
[modifier.ARA.bad_prompts]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
split = "train[:400]"
|
||||||
|
column = "text"
|
||||||
|
system_prompt = """You are a loquacious personal assistant. You give elaborate, highly detailed responses to every prompt.
|
||||||
|
Your responses contain proper introductions and start with a summary of the task or question.
|
||||||
|
You supply as much additional information as possible and write everything out in full detail."""
|
||||||
|
|
@ -0,0 +1,67 @@
|
||||||
|
# Migrating from Heretic 1.x to Heretic 2.x
|
||||||
|
|
||||||
|
Heretic 2.x is not backwards compatible with Heretic 1.x configurations.
|
||||||
|
|
||||||
|
If you have existing configuration files written to work with a Heretic 1.x release,
|
||||||
|
you need to make the following changes before using them with a Heretic 2.x release.
|
||||||
|
Only settings that are actually in your configuration file must be updated;
|
||||||
|
defaults are automatically set to the current values. Of course, you can also simply
|
||||||
|
start with [an up-to-date default configuration](/config.default.toml), and modify
|
||||||
|
it to match your requirements.
|
||||||
|
|
||||||
|
|
||||||
|
## Remove settings for research features
|
||||||
|
|
||||||
|
Research features have been removed in Heretic 2.0. The following settings
|
||||||
|
are no longer recognized:
|
||||||
|
|
||||||
|
* `print_residual_geometry`
|
||||||
|
* `plot_residuals`
|
||||||
|
* `residual_plot_path`
|
||||||
|
* `residual_plot_title`
|
||||||
|
* `residual_plot_style`
|
||||||
|
* `residual_plot_label` and `residual_plot_color` in prompt sections
|
||||||
|
|
||||||
|
|
||||||
|
## Remove `kl_divergence_scale` and `kl_divergence_target`
|
||||||
|
|
||||||
|
KL divergence balancing has been removed and these settings
|
||||||
|
are no longer recognized.
|
||||||
|
|
||||||
|
|
||||||
|
## Rename `chain_of_thought_skips` to `chain_of_thought_blocks` and update its structure
|
||||||
|
|
||||||
|
The new setting `chain_of_thought_blocks` contains pairs of the form
|
||||||
|
`[cot_initializer, cot_finalizer]` instead of `[cot_initializer, closed_cot_block]`.
|
||||||
|
|
||||||
|
|
||||||
|
## Move abliteration settings to the `[modifier.Abliteration]` section
|
||||||
|
|
||||||
|
This includes the following settings:
|
||||||
|
|
||||||
|
* `orthogonalize_direction`
|
||||||
|
* `row_normalization`
|
||||||
|
* `full_normalization_lora_rank`
|
||||||
|
* `winsorization_quantile`
|
||||||
|
* `[good_prompts]` (renamed to `[modifier.Abliteration.good_prompts]`)
|
||||||
|
* `[bad_prompts]` (renamed to `[modifier.Abliteration.bad_prompts]`)
|
||||||
|
|
||||||
|
> [!IMPORTANT]
|
||||||
|
>
|
||||||
|
> Heretic 2.x defaults to using ARA for modifying models, not abliteration.
|
||||||
|
> To continue using abliteration, edit the `modifiers` setting accordingly.
|
||||||
|
> To configure ARA, edit the `[modifier.ARA]` section.
|
||||||
|
|
||||||
|
|
||||||
|
## Move refusal evaluation settings to the `[scorer.KeywordRate]` section
|
||||||
|
|
||||||
|
This includes the following settings:
|
||||||
|
|
||||||
|
* `print_responses`
|
||||||
|
* `refusal_markers` (renamed to `keyword_markers`)
|
||||||
|
* `[bad_evaluation_prompts]` (renamed to `[scorer.KeywordRate.prompts]`)
|
||||||
|
|
||||||
|
|
||||||
|
## Rename `[good_evaluation_prompts]` to `[scorer.KLDivergence.prompts]`
|
||||||
|
|
||||||
|
KL divergence is now computed by a scorer plugin.
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[project]
|
[project]
|
||||||
name = "heretic-llm"
|
name = "heretic-llm"
|
||||||
version = "2.0.0.dev0"
|
version = "2.2.0.dev0"
|
||||||
description = "Fully automatic censorship removal for language models"
|
description = "Training-free language model modification"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "AGPL-3.0-or-later"
|
license = "AGPL-3.0-or-later"
|
||||||
authors = [
|
authors = [
|
||||||
|
|
@ -10,7 +10,7 @@ authors = [
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
keywords = ["llm", "transformer", "abliteration"]
|
keywords = ["llm", "transformer", "abliteration"]
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 5 - Production/Stable",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
"Environment :: GPU",
|
"Environment :: GPU",
|
||||||
"Intended Audience :: Science/Research",
|
"Intended Audience :: Science/Research",
|
||||||
|
|
@ -19,6 +19,9 @@ classifiers = [
|
||||||
"Programming Language :: Python :: 3.10",
|
"Programming Language :: Python :: 3.10",
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.11",
|
||||||
"Programming Language :: Python :: 3.12",
|
"Programming Language :: Python :: 3.12",
|
||||||
|
"Programming Language :: Python :: 3.13",
|
||||||
|
"Programming Language :: Python :: 3.14",
|
||||||
|
"Programming Language :: Python :: 3.15",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"accelerate~=1.15",
|
"accelerate~=1.15",
|
||||||
|
|
@ -26,6 +29,7 @@ dependencies = [
|
||||||
"datasets~=5.0",
|
"datasets~=5.0",
|
||||||
"huggingface-hub~=1.33",
|
"huggingface-hub~=1.33",
|
||||||
"immutabledict~=4.3",
|
"immutabledict~=4.3",
|
||||||
|
"ipython~=8.39",
|
||||||
"langdetect~=1.0",
|
"langdetect~=1.0",
|
||||||
"lm-eval[hf]~=0.4",
|
"lm-eval[hf]~=0.4",
|
||||||
"numpy~=2.2",
|
"numpy~=2.2",
|
||||||
|
|
@ -72,8 +76,7 @@ ignore = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.uv]
|
[tool.uv]
|
||||||
# TODO: Re-enable before 2.0 release!
|
exclude-newer = "7 days"
|
||||||
#exclude-newer = "7 days"
|
|
||||||
|
|
||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
torch = { index = "pytorch" }
|
torch = { index = "pytorch" }
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
# Copyright (C) 2025-2026 Philipp Emanuel Weidmann <pew@worldwidemann.com> + contributors
|
# Copyright (C) 2025-2026 Philipp Emanuel Weidmann <pew@worldwidemann.com> + contributors
|
||||||
|
|
||||||
|
import os
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from typing import Any, Literal, TypeAlias
|
from typing import Any, Literal, TypeAlias
|
||||||
|
|
||||||
|
|
@ -190,6 +191,15 @@ class BenchmarkSpecification(BaseModel):
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def _config_path() -> str:
|
||||||
|
path = os.environ.get("HERETIC_CONFIG_FILE", "config.toml")
|
||||||
|
|
||||||
|
if "HERETIC_CONFIG_FILE" in os.environ and not os.path.isfile(path):
|
||||||
|
raise SystemExit(f"heretic: configuration file {path} does not exist")
|
||||||
|
|
||||||
|
return path
|
||||||
|
|
||||||
|
|
||||||
class Settings(BaseSettings):
|
class Settings(BaseSettings):
|
||||||
model: str = Field(description="Hugging Face model ID, or path to model on disk.")
|
model: str = Field(description="Hugging Face model ID, or path to model on disk.")
|
||||||
|
|
||||||
|
|
@ -201,7 +211,7 @@ class Settings(BaseSettings):
|
||||||
evaluate_model: str | None = Field(
|
evaluate_model: str | None = Field(
|
||||||
default=None,
|
default=None,
|
||||||
description=(
|
description=(
|
||||||
"If this model ID or path is set, then instead of abliterating the main model, "
|
"If this model ID or path is set, then instead of modifying the main model, "
|
||||||
"evaluate this model relative to the main model."
|
"evaluate this model relative to the main model."
|
||||||
),
|
),
|
||||||
exclude=True,
|
exclude=True,
|
||||||
|
|
@ -210,7 +220,7 @@ class Settings(BaseSettings):
|
||||||
collect_reproducibles: str | None = Field(
|
collect_reproducibles: str | None = Field(
|
||||||
default=None,
|
default=None,
|
||||||
description=(
|
description=(
|
||||||
"If this directory path is set, then instead of abliterating a model, "
|
"If this directory path is set, then instead of modifying a model, "
|
||||||
"download all reproduce.json files from public Heretic model repositories "
|
"download all reproduce.json files from public Heretic model repositories "
|
||||||
"on Hugging Face, and store them in that directory for archival purposes."
|
"on Hugging Face, and store them in that directory for archival purposes."
|
||||||
),
|
),
|
||||||
|
|
@ -221,7 +231,7 @@ class Settings(BaseSettings):
|
||||||
default=None,
|
default=None,
|
||||||
description=(
|
description=(
|
||||||
"If this path or URL to a reproduce.json file is set, load reproduction information "
|
"If this path or URL to a reproduce.json file is set, load reproduction information "
|
||||||
"from that file, and attempt to reproduce the abliterated model it originated from."
|
"from that file, and attempt to reproduce the modified model it originated from."
|
||||||
),
|
),
|
||||||
exclude=True,
|
exclude=True,
|
||||||
)
|
)
|
||||||
|
|
@ -332,31 +342,31 @@ class Settings(BaseSettings):
|
||||||
exclude=True,
|
exclude=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
chain_of_thought_skips: list[tuple[str, str]] = Field(
|
chain_of_thought_blocks: list[tuple[str, str]] = Field(
|
||||||
default=[
|
default=[
|
||||||
# Most thinking models.
|
# Most thinking models.
|
||||||
(
|
(
|
||||||
"<think>",
|
"<think>",
|
||||||
"<think></think>",
|
"</think>",
|
||||||
),
|
),
|
||||||
# gpt-oss.
|
# gpt-oss.
|
||||||
(
|
(
|
||||||
"<|channel|>analysis<|message|>",
|
"<|channel|>analysis<|message|>",
|
||||||
"<|channel|>analysis<|message|><|end|><|start|>assistant<|channel|>final<|message|>",
|
"<|end|><|start|>assistant<|channel|>final<|message|>",
|
||||||
),
|
),
|
||||||
# Unknown, suggested by user.
|
# Unknown, suggested by user.
|
||||||
(
|
(
|
||||||
"<thought>",
|
"<thought>",
|
||||||
"<thought></thought>",
|
"</thought>",
|
||||||
),
|
),
|
||||||
# Unknown, suggested by user.
|
# Unknown, suggested by user.
|
||||||
(
|
(
|
||||||
"[THINK]",
|
"[THINK]",
|
||||||
"[THINK][/THINK]",
|
"[/THINK]",
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
description=(
|
description=(
|
||||||
"List of pairs of the form (cot_initializer, closed_cot_block) used to skip "
|
"List of pairs of the form (cot_initializer, cot_finalizer) used to skip "
|
||||||
"the Chain-of-Thought block in responses, so that evaluation happens "
|
"the Chain-of-Thought block in responses, so that evaluation happens "
|
||||||
"at the start of the actual response."
|
"at the start of the actual response."
|
||||||
),
|
),
|
||||||
|
|
@ -405,7 +415,7 @@ class Settings(BaseSettings):
|
||||||
|
|
||||||
n_trials: PositiveInt = Field(
|
n_trials: PositiveInt = Field(
|
||||||
default=100,
|
default=100,
|
||||||
description="Number of abliteration trials to run during optimization.",
|
description="Number of trials to run during optimization.",
|
||||||
)
|
)
|
||||||
|
|
||||||
n_startup_trials: NonNegativeInt = Field(
|
n_startup_trials: NonNegativeInt = Field(
|
||||||
|
|
@ -427,6 +437,11 @@ class Settings(BaseSettings):
|
||||||
exclude=True,
|
exclude=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
modified_model_type: str = Field(
|
||||||
|
default="decensored",
|
||||||
|
description="Adjective describing the type of model produced by the configuration.",
|
||||||
|
)
|
||||||
|
|
||||||
benchmarks: list[BenchmarkSpecification] = Field(
|
benchmarks: list[BenchmarkSpecification] = Field(
|
||||||
default=[
|
default=[
|
||||||
BenchmarkSpecification(
|
BenchmarkSpecification(
|
||||||
|
|
@ -485,7 +500,7 @@ class Settings(BaseSettings):
|
||||||
description="An Adversarial Winograd Schema Challenge at Scale",
|
description="An Adversarial Winograd Schema Challenge at Scale",
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
description="Benchmarks to offer to the user for evaluating abliterated models.",
|
description="Benchmarks to offer to the user for evaluating modified models.",
|
||||||
exclude=True,
|
exclude=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -516,7 +531,7 @@ class Settings(BaseSettings):
|
||||||
|
|
||||||
model_action: str | None = Field(
|
model_action: str | None = Field(
|
||||||
default=None,
|
default=None,
|
||||||
description='Action to take with the decensored model: "save", "upload", or unset to prompt the user.',
|
description='Action to take with the modified model: "save", "upload", or unset to prompt the user.',
|
||||||
)
|
)
|
||||||
|
|
||||||
save_directory: str | None = Field(
|
save_directory: str | None = Field(
|
||||||
|
|
@ -560,6 +575,15 @@ class Settings(BaseSettings):
|
||||||
description="System prompt to use when prompting the model.",
|
description="System prompt to use when prompting the model.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
enable_shell: bool = Field(
|
||||||
|
default=False,
|
||||||
|
description=(
|
||||||
|
"Whether to offer the option to open an in-context Python shell in the trial selection menu. "
|
||||||
|
"WARNING: Enabling this feature gives full system access to the user of the Heretic session."
|
||||||
|
),
|
||||||
|
exclude=True,
|
||||||
|
)
|
||||||
|
|
||||||
# We intentionally allow extra keys so users can provide plugin-specific
|
# We intentionally allow extra keys so users can provide plugin-specific
|
||||||
# configuration in TOML tables like `[scorer.KeywordRate]` which are later
|
# configuration in TOML tables like `[scorer.KeywordRate]` which are later
|
||||||
# consumed via `settings.model_extra` (see `plugin.get_plugin_namespace`).
|
# consumed via `settings.model_extra` (see `plugin.get_plugin_namespace`).
|
||||||
|
|
@ -585,7 +609,7 @@ class Settings(BaseSettings):
|
||||||
EnvSettingsSource(settings_cls, env_prefix="HERETIC_"),
|
EnvSettingsSource(settings_cls, env_prefix="HERETIC_"),
|
||||||
dotenv_settings,
|
dotenv_settings,
|
||||||
file_secret_settings,
|
file_secret_settings,
|
||||||
TomlConfigSettingsSource(settings_cls, toml_file="config.toml"),
|
TomlConfigSettingsSource(settings_cls, toml_file=_config_path()),
|
||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
||||||
|
|
@ -174,7 +174,9 @@ class Evaluator:
|
||||||
"""
|
"""
|
||||||
records: list[dict[str, Any]] = []
|
records: list[dict[str, Any]] = []
|
||||||
for (name, score), (baseline_name, baseline) in zip(
|
for (name, score), (baseline_name, baseline) in zip(
|
||||||
scores, self.baseline_scores
|
scores,
|
||||||
|
self.baseline_scores,
|
||||||
|
strict=True,
|
||||||
):
|
):
|
||||||
assert name == baseline_name, (
|
assert name == baseline_name, (
|
||||||
f"Score/baseline order mismatch: {name!r} != {baseline_name!r}"
|
f"Score/baseline order mismatch: {name!r} != {baseline_name!r}"
|
||||||
|
|
@ -228,3 +230,10 @@ class Evaluator:
|
||||||
parse_study_direction(entry.config.optimization)
|
parse_study_direction(entry.config.optimization)
|
||||||
for entry in self._objective_entries()
|
for entry in self._objective_entries()
|
||||||
]
|
]
|
||||||
|
|
||||||
|
def write_settings_to_config(self) -> None:
|
||||||
|
"""
|
||||||
|
Write the settings of all scorers to the global configuration.
|
||||||
|
"""
|
||||||
|
for entry in self._scorer_entries:
|
||||||
|
entry.scorer.write_settings_to_config("scorer", entry.config.instance_name)
|
||||||
|
|
|
||||||
|
|
@ -60,10 +60,12 @@ from pathlib import Path
|
||||||
from typing import Any, cast
|
from typing import Any, cast
|
||||||
|
|
||||||
import huggingface_hub
|
import huggingface_hub
|
||||||
|
import IPython
|
||||||
import lm_eval
|
import lm_eval
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import optuna
|
import optuna
|
||||||
import questionary
|
import questionary
|
||||||
|
import rich.traceback
|
||||||
import torch
|
import torch
|
||||||
import transformers
|
import transformers
|
||||||
from huggingface_hub import HfApi, ModelCard, ModelCardData
|
from huggingface_hub import HfApi, ModelCard, ModelCardData
|
||||||
|
|
@ -79,7 +81,6 @@ from questionary import Choice, Style
|
||||||
from rich.markup import escape
|
from rich.markup import escape
|
||||||
from rich.table import Table
|
from rich.table import Table
|
||||||
from rich.text import Text
|
from rich.text import Text
|
||||||
from rich.traceback import install
|
|
||||||
|
|
||||||
from .config import (
|
from .config import (
|
||||||
DatasetSpecification,
|
DatasetSpecification,
|
||||||
|
|
@ -175,7 +176,7 @@ def obtain_export_strategy(
|
||||||
"How do you want to export the model?",
|
"How do you want to export the model?",
|
||||||
choices=[
|
choices=[
|
||||||
Choice(
|
Choice(
|
||||||
title="Merge the abliteration LoRA and export the full model"
|
title="Merge the LoRA and export the full model"
|
||||||
+ (
|
+ (
|
||||||
""
|
""
|
||||||
if settings.quantization == QuantizationMethod.NONE
|
if settings.quantization == QuantizationMethod.NONE
|
||||||
|
|
@ -184,7 +185,7 @@ def obtain_export_strategy(
|
||||||
value=ExportStrategy.MERGE,
|
value=ExportStrategy.MERGE,
|
||||||
),
|
),
|
||||||
Choice(
|
Choice(
|
||||||
title="Export the abliteration LoRA only (can be merged later)",
|
title="Export the LoRA only (can be merged later)",
|
||||||
value=ExportStrategy.ADAPTER,
|
value=ExportStrategy.ADAPTER,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
@ -490,19 +491,36 @@ def run():
|
||||||
print(f"* [bold]{len(response_prefix_test_prompts)}[/] prompts loaded")
|
print(f"* [bold]{len(response_prefix_test_prompts)}[/] prompts loaded")
|
||||||
|
|
||||||
print()
|
print()
|
||||||
print("Checking chat template for a Chain-of-Thought initializer...")
|
print(
|
||||||
|
"Checking chat template for a closed Chain-of-Thought block or an initializer..."
|
||||||
|
)
|
||||||
|
|
||||||
# Detect if the model's chat template inserts a reasoning tag on its own
|
# Detect if the model's chat template inserts a closed Chain-of-Thought block
|
||||||
# at the end of user's prompt (e.g. <think>) by using a dummy prompt.
|
# (e.g. <think></think>) or an initializer (e.g. <think>) on its own at the end
|
||||||
# If found, then we use the full closed CoT as the response prefix.
|
# of the user's prompt by using a dummy prompt.
|
||||||
# LiquidAI's LFM models do this (Lfm2ForCausalLM).
|
# If a full closed block is found, no response prefix is required. If only an
|
||||||
|
# initializer is found, we use the finalizer as the response prefix (e.g. </think>)
|
||||||
|
# so that when it's concatenated, it completes the closed CoT block.
|
||||||
|
# LiquidAI's LFM2.5 models and Qwen's Qwen3.5 models do this by
|
||||||
|
# inserting the CoT initializer to enable thinking by default.
|
||||||
|
#
|
||||||
|
# If the model supports system messages, we provide a custom one to
|
||||||
|
# override the default system instructions for this case. Because they
|
||||||
|
# may contain CoT examples like '[THINK]...[/THINK]', which would trigger
|
||||||
|
# false-positive matches when searching in the dummy prompt (e.g. Mistral-3).
|
||||||
|
dummy_messages = []
|
||||||
|
if model.supports_system_role:
|
||||||
|
dummy_messages.append(
|
||||||
|
{"role": "system", "content": "You are a helpful assistant."}
|
||||||
|
)
|
||||||
|
dummy_messages.append({"role": "user", "content": "This is a dummy prompt."})
|
||||||
|
|
||||||
# This cast is valid because str is the return type
|
# This cast is valid because str is the return type
|
||||||
# for a single chat operation with tokenize=False.
|
# for a single chat operation with tokenize=False.
|
||||||
dummy_prompt = cast(
|
dummy_prompt = cast(
|
||||||
str,
|
str,
|
||||||
model.tokenizer.apply_chat_template(
|
model.tokenizer.apply_chat_template(
|
||||||
[{"role": "user", "content": "This is a dummy prompt."}],
|
dummy_messages,
|
||||||
add_generation_prompt=True,
|
add_generation_prompt=True,
|
||||||
tokenize=False,
|
tokenize=False,
|
||||||
),
|
),
|
||||||
|
|
@ -510,22 +528,44 @@ def run():
|
||||||
|
|
||||||
cot_skip_applied = False
|
cot_skip_applied = False
|
||||||
|
|
||||||
for cot_initializer, closed_cot_block in settings.chain_of_thought_skips:
|
for cot_initializer, cot_finalizer in settings.chain_of_thought_blocks:
|
||||||
# Match the tag and ignore any whitespace characters following it at the end
|
# Check if the chat template already inserts the full closed CoT block
|
||||||
# (if any), including spaces, tabs, and linebreaks. This is required for models
|
# (e.g. When thinking is disabled by the chat template).
|
||||||
# having whitespaces after the tags.
|
# Smaller variants like Qwen/Qwen3.5-2B do this by inserting the full
|
||||||
pattern = rf"{re.escape(cot_initializer)}\s*$"
|
# CoT block to disable thinking by default, while larger variants only
|
||||||
match = re.search(pattern, dummy_prompt)
|
# insert the initializer to enable thinking by default (>=4B).
|
||||||
|
# We allow arbitrary characters and whitespaces, including newlines via
|
||||||
if match:
|
# re.DOTALL between the initializer and the finalizer.
|
||||||
# We use only the closed CoT block here. Any whitespaces
|
# This makes the logic more generic for patterns which pre-fill
|
||||||
# will be handled by the 'Rechecking with prefix' logic below.
|
# some text (e.g. <think>Some instruction</think>).
|
||||||
settings.response_prefix = closed_cot_block
|
pattern_closed = (
|
||||||
|
rf"{re.escape(cot_initializer)}.*{re.escape(cot_finalizer)}"
|
||||||
|
)
|
||||||
|
if re.search(pattern_closed, dummy_prompt, flags=re.DOTALL):
|
||||||
|
settings.response_prefix = ""
|
||||||
print(
|
print(
|
||||||
f"* Chat template inserts [bold]{escape(repr(cot_initializer))}[/]"
|
f"* Chat template inserts full closed CoT block [bold]{escape(repr(cot_initializer + cot_finalizer))}[/]"
|
||||||
|
)
|
||||||
|
print("* Response prefix is not required")
|
||||||
|
cot_skip_applied = True
|
||||||
|
break
|
||||||
|
|
||||||
|
if cot_initializer in dummy_prompt:
|
||||||
|
# The chat template already inserted the initializer, so we just
|
||||||
|
# supply the finalizer as the response prefix. So that when
|
||||||
|
# concatenated to the prompts during generation, it forms a full
|
||||||
|
# closed CoT block (e.g. <think></think>).
|
||||||
|
# Passing a full closed CoT block for models which only insert the
|
||||||
|
# initializer is wrong, resulting in: '<think>\n<think></think>\n\n'
|
||||||
|
# during the generation for Qwen3.5 models (>=4B) as an example.
|
||||||
|
# Any trailing whitespaces will be handled by the
|
||||||
|
# 'Rechecking with prefix' logic below.
|
||||||
|
settings.response_prefix = cot_finalizer
|
||||||
|
print(
|
||||||
|
f"* Chat template inserts CoT initializer: [bold]{escape(repr(cot_initializer))}[/]"
|
||||||
)
|
)
|
||||||
print(
|
print(
|
||||||
f"* Closed Chain-of-Thought block: [bold]{escape(repr(settings.response_prefix))}[/]"
|
f"* Remaining CoT finalizer: [bold]{escape(repr(cot_finalizer))}[/]"
|
||||||
)
|
)
|
||||||
cot_skip_applied = True
|
cot_skip_applied = True
|
||||||
break
|
break
|
||||||
|
|
@ -534,10 +574,13 @@ def run():
|
||||||
print("* None found")
|
print("* None found")
|
||||||
|
|
||||||
# Fallback to inference for models like mistral-3 which are specifically
|
# Fallback to inference for models like mistral-3 which are specifically
|
||||||
# instructed to generate thinking tags using the system prompt in their
|
# instructed to generate the CoT block using the system prompt in their
|
||||||
# chat template, instead of inserting a prefix tag (e.g. <think>) at
|
# chat template, instead of inserting an initializer at the end of
|
||||||
# the end of user prompt like the case above. We expect the model to
|
# the user prompt like the case above. The test prompts do not
|
||||||
# generate those tags.
|
# override the system prompt, so here we expect the model to generate
|
||||||
|
# the initializer, which we then close using the finalizer.
|
||||||
|
# Some models may inherently generate the CoT block simply due
|
||||||
|
# to their training, regardless of instructions.
|
||||||
if settings.response_prefix is None:
|
if settings.response_prefix is None:
|
||||||
print()
|
print()
|
||||||
print("Checking for common response prefix...")
|
print("Checking for common response prefix...")
|
||||||
|
|
@ -558,10 +601,10 @@ def run():
|
||||||
|
|
||||||
for (
|
for (
|
||||||
cot_initializer,
|
cot_initializer,
|
||||||
closed_cot_block,
|
cot_finalizer,
|
||||||
) in settings.chain_of_thought_skips:
|
) in settings.chain_of_thought_blocks:
|
||||||
if settings.response_prefix.startswith(cot_initializer):
|
if settings.response_prefix.startswith(cot_initializer):
|
||||||
settings.response_prefix = closed_cot_block
|
settings.response_prefix = cot_initializer + cot_finalizer
|
||||||
print(
|
print(
|
||||||
f"* Closed Chain-of-Thought block: [bold]{escape(repr(settings.response_prefix))}[/]"
|
f"* Closed Chain-of-Thought block: [bold]{escape(repr(settings.response_prefix))}[/]"
|
||||||
)
|
)
|
||||||
|
|
@ -570,7 +613,13 @@ def run():
|
||||||
else:
|
else:
|
||||||
print("* None found")
|
print("* None found")
|
||||||
|
|
||||||
if cot_skip_applied:
|
# Only recheck if we actually supply a prefix to find any missed whitespaces
|
||||||
|
# like '</think>' (supplied finalizer) or '[THINK][/THINK]' (supplied closed CoT
|
||||||
|
# block for models instructed to think, e.g. mistral-3).
|
||||||
|
# When the chat template already inserts a full closed block, response_prefix is ""
|
||||||
|
# and rechecking is not required. Otherwise it would just run inference
|
||||||
|
# and set common words as the response_prefix (e.g. 'Sure,', 'I cannot').
|
||||||
|
if cot_skip_applied and settings.response_prefix:
|
||||||
# When using a Chain-of-Thought skip, we need to check that the prefix
|
# When using a Chain-of-Thought skip, we need to check that the prefix
|
||||||
# is actually complete (e.g. not missing a trailing newline).
|
# is actually complete (e.g. not missing a trailing newline).
|
||||||
print("* Rechecking with prefix...")
|
print("* Rechecking with prefix...")
|
||||||
|
|
@ -613,6 +662,18 @@ def run():
|
||||||
modifier = modifier_entry.modifier
|
modifier = modifier_entry.modifier
|
||||||
modifier_name = modifier_entry.name
|
modifier_name = modifier_entry.name
|
||||||
|
|
||||||
|
def write_plugin_settings_to_config() -> None:
|
||||||
|
# Plugins may mutate their settings at any time (e.g. pinning dataset
|
||||||
|
# commits during initialization, or resolving values during scoring),
|
||||||
|
# so the effective plugin settings are recorded immediately before
|
||||||
|
# every serialization of the settings object, to ensure that the
|
||||||
|
# serialized settings reflect the exact configuration that was used.
|
||||||
|
evaluator.write_settings_to_config()
|
||||||
|
modifier.write_settings_to_config(
|
||||||
|
"modifier",
|
||||||
|
modifier_entry.config.instance_name,
|
||||||
|
)
|
||||||
|
|
||||||
# Clear cache before starting the optimization study.
|
# Clear cache before starting the optimization study.
|
||||||
# This should free up memory from temporary objects created while initializing modifiers.
|
# This should free up memory from temporary objects created while initializing modifiers.
|
||||||
empty_cache()
|
empty_cache()
|
||||||
|
|
@ -691,6 +752,7 @@ def run():
|
||||||
load_if_exists=True,
|
load_if_exists=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
write_plugin_settings_to_config()
|
||||||
study.set_user_attr("settings", settings.model_dump_json())
|
study.set_user_attr("settings", settings.model_dump_json())
|
||||||
study.set_user_attr("finished", False)
|
study.set_user_attr("finished", False)
|
||||||
|
|
||||||
|
|
@ -767,6 +829,14 @@ def run():
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if settings.enable_shell:
|
||||||
|
choices.append(
|
||||||
|
Choice(
|
||||||
|
title="Open in-context Python shell",
|
||||||
|
value="shell",
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
choices.append(
|
choices.append(
|
||||||
Choice(
|
Choice(
|
||||||
title="Exit program",
|
title="Exit program",
|
||||||
|
|
@ -843,6 +913,7 @@ def run():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
settings.n_trials = len(study.trials) + n_additional_trials
|
settings.n_trials = len(study.trials) + n_additional_trials
|
||||||
|
write_plugin_settings_to_config()
|
||||||
study.set_user_attr("settings", settings.model_dump_json())
|
study.set_user_attr("settings", settings.model_dump_json())
|
||||||
study.set_user_attr("finished", False)
|
study.set_user_attr("finished", False)
|
||||||
|
|
||||||
|
|
@ -859,6 +930,53 @@ def run():
|
||||||
|
|
||||||
break
|
break
|
||||||
|
|
||||||
|
if settings.enable_shell and trial == "shell":
|
||||||
|
print()
|
||||||
|
print(
|
||||||
|
"[bold blue]This is an IPython shell running inside this Heretic session.[/]"
|
||||||
|
)
|
||||||
|
print("Among other things, it has access to the following objects:")
|
||||||
|
print(
|
||||||
|
"* [bold]settings[/], which can be both read from and written to"
|
||||||
|
)
|
||||||
|
print(
|
||||||
|
"* [bold]model[/], with the [bold]model.model[/] and [bold]model.tokenizer[/] Transformers objects"
|
||||||
|
)
|
||||||
|
print(
|
||||||
|
"* [bold]study[/], containing all trials in [bold]study.trials[/], and the Pareto front in [bold]study.best_trials[/]"
|
||||||
|
)
|
||||||
|
print(
|
||||||
|
"* The special function [bold]choose_trial(trial)[/], which exits the shell and proceeds with the normal Heretic flow "
|
||||||
|
"using the given trial object. The trial object is not restricted to trials from the Pareto front, "
|
||||||
|
"and can even be constructed ad-hoc."
|
||||||
|
)
|
||||||
|
print(
|
||||||
|
"[yellow]The shell is not sandboxed and won't stop you from corrupting objects beyond repair. "
|
||||||
|
"With great power comes great responsibility.[/]"
|
||||||
|
)
|
||||||
|
|
||||||
|
def choose_trial(chosen_trial: Trial) -> None:
|
||||||
|
nonlocal trial
|
||||||
|
trial = chosen_trial
|
||||||
|
IPython.get_ipython().ask_exit()
|
||||||
|
|
||||||
|
# IPython installs a custom traceback handler
|
||||||
|
# that overrides the Rich handler we installed.
|
||||||
|
old_excepthook = sys.excepthook
|
||||||
|
|
||||||
|
try:
|
||||||
|
IPython.embed(
|
||||||
|
display_banner=False,
|
||||||
|
colors="neutral",
|
||||||
|
confirm_exit=False,
|
||||||
|
)
|
||||||
|
finally:
|
||||||
|
sys.excepthook = old_excepthook
|
||||||
|
|
||||||
|
if trial == "shell":
|
||||||
|
# choose_trial wasn't called inside the shell session.
|
||||||
|
continue
|
||||||
|
|
||||||
print()
|
print()
|
||||||
print(
|
print(
|
||||||
f"Restoring model from trial [bold]{trial.user_attrs['index']}[/]..."
|
f"Restoring model from trial [bold]{trial.user_attrs['index']}[/]..."
|
||||||
|
|
@ -877,7 +995,7 @@ def run():
|
||||||
modifier.reset_model(ctx)
|
modifier.reset_model(ctx)
|
||||||
print(f"* Modifying model using {modifier_name}...")
|
print(f"* Modifying model using {modifier_name}...")
|
||||||
parameters = modifier.parameters_class.from_dict(
|
parameters = modifier.parameters_class.from_dict(
|
||||||
trial.user_attrs["parameters"]
|
trial.user_attrs["parameters"] # ty: ignore[unresolved-attribute]
|
||||||
)
|
)
|
||||||
modifier.modify_model(ctx, parameters)
|
modifier.modify_model(ctx, parameters)
|
||||||
|
|
||||||
|
|
@ -896,7 +1014,7 @@ def run():
|
||||||
action = ask_if_unset(
|
action = ask_if_unset(
|
||||||
settings.model_action,
|
settings.model_action,
|
||||||
questionary.select(
|
questionary.select(
|
||||||
"What do you want to do with the decensored model?",
|
f"What do you want to do with the {settings.modified_model_type} model?",
|
||||||
choices=[
|
choices=[
|
||||||
Choice(
|
Choice(
|
||||||
title="Save the model to a local folder",
|
title="Save the model to a local folder",
|
||||||
|
|
@ -957,7 +1075,6 @@ def run():
|
||||||
save_directory,
|
save_directory,
|
||||||
max_shard_size=settings.max_shard_size,
|
max_shard_size=settings.max_shard_size,
|
||||||
)
|
)
|
||||||
print(f"Model saved to [bold]{save_directory}[/].")
|
|
||||||
else:
|
else:
|
||||||
print("Saving merged model...")
|
print("Saving merged model...")
|
||||||
merged_model = model.get_merged_model()
|
merged_model = model.get_merged_model()
|
||||||
|
|
@ -970,10 +1087,8 @@ def run():
|
||||||
model.tokenizer.save_pretrained(save_directory)
|
model.tokenizer.save_pretrained(save_directory)
|
||||||
if model.processor is not None:
|
if model.processor is not None:
|
||||||
model.processor.save_pretrained(save_directory)
|
model.processor.save_pretrained(save_directory)
|
||||||
|
|
||||||
print(f"Model saved to [bold]{save_directory}[/].")
|
print(f"Model saved to [bold]{save_directory}[/].")
|
||||||
# Merging replaced the trial's adapter in place.
|
|
||||||
# Restore it only after the save has been reported.
|
|
||||||
reset_trial_model()
|
|
||||||
|
|
||||||
if reproduction_mode:
|
if reproduction_mode:
|
||||||
print("Verifying hashes of weight files...")
|
print("Verifying hashes of weight files...")
|
||||||
|
|
@ -1000,6 +1115,9 @@ def run():
|
||||||
f"[bold]{filename}:[/] [red]File not found[/]"
|
f"[bold]{filename}:[/] [red]File not found[/]"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if strategy != ExportStrategy.ADAPTER:
|
||||||
|
reset_trial_model()
|
||||||
|
|
||||||
case "upload":
|
case "upload":
|
||||||
# We don't use huggingface_hub.login() because that stores the token on disk,
|
# We don't use huggingface_hub.login() because that stores the token on disk,
|
||||||
# and since this program will often be run on rented or shared GPU servers,
|
# and since this program will often be run on rented or shared GPU servers,
|
||||||
|
|
@ -1127,7 +1245,6 @@ def run():
|
||||||
max_shard_size=settings.max_shard_size,
|
max_shard_size=settings.max_shard_size,
|
||||||
token=token,
|
token=token,
|
||||||
)
|
)
|
||||||
print(f"Model uploaded to [bold]{repo_id}[/].")
|
|
||||||
else:
|
else:
|
||||||
print("Uploading merged model...")
|
print("Uploading merged model...")
|
||||||
merged_model = model.get_merged_model()
|
merged_model = model.get_merged_model()
|
||||||
|
|
@ -1150,10 +1267,6 @@ def run():
|
||||||
private=private,
|
private=private,
|
||||||
token=token,
|
token=token,
|
||||||
)
|
)
|
||||||
print(f"Model uploaded to [bold]{repo_id}[/].")
|
|
||||||
# Merging replaced the trial's adapter in place.
|
|
||||||
# Restore it only after the upload has been reported.
|
|
||||||
reset_trial_model()
|
|
||||||
|
|
||||||
if is_hf_path(settings.model):
|
if is_hf_path(settings.model):
|
||||||
card = ModelCard.load(settings.model)
|
card = ModelCard.load(settings.model)
|
||||||
|
|
@ -1200,8 +1313,22 @@ def run():
|
||||||
card.push_to_hub(repo_id, token=token)
|
card.push_to_hub(repo_id, token=token)
|
||||||
|
|
||||||
if reproducibility_information != "none":
|
if reproducibility_information != "none":
|
||||||
|
# Record the final effective plugin settings so that the
|
||||||
|
# exported config.toml and reproduce.json reflect the exact
|
||||||
|
# configuration that was used.
|
||||||
|
write_plugin_settings_to_config()
|
||||||
|
# Refresh the settings stored in the study journal to allow
|
||||||
|
# continuation with the current plugin state.
|
||||||
|
study.set_user_attr(
|
||||||
|
"settings",
|
||||||
|
settings.model_dump_json(),
|
||||||
|
)
|
||||||
|
|
||||||
# Set the number of trials to the number of actual completed trials
|
# Set the number of trials to the number of actual completed trials
|
||||||
# for the reproduction configuration.
|
# for the reproduction configuration.
|
||||||
|
# These updates are deliberately *not* written to the journal,
|
||||||
|
# because the purpose of the journal is continuing the study with
|
||||||
|
# more trials, and potentially choosing a different export strategy.
|
||||||
settings.n_trials = len(study.trials)
|
settings.n_trials = len(study.trials)
|
||||||
current_export_strategy = settings.export_strategy
|
current_export_strategy = settings.export_strategy
|
||||||
settings.export_strategy = strategy
|
settings.export_strategy = strategy
|
||||||
|
|
@ -1221,6 +1348,8 @@ def run():
|
||||||
finally:
|
finally:
|
||||||
settings.export_strategy = current_export_strategy
|
settings.export_strategy = current_export_strategy
|
||||||
|
|
||||||
|
print(f"Model uploaded to [bold]{repo_id}[/].")
|
||||||
|
|
||||||
if reproduction_mode:
|
if reproduction_mode:
|
||||||
print("Verifying hashes of weight files...")
|
print("Verifying hashes of weight files...")
|
||||||
|
|
||||||
|
|
@ -1272,6 +1401,9 @@ def run():
|
||||||
f"[bold]{filename}:[/] [red]File not found[/]"
|
f"[bold]{filename}:[/] [red]File not found[/]"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if strategy != ExportStrategy.ADAPTER:
|
||||||
|
reset_trial_model()
|
||||||
|
|
||||||
case "chat":
|
case "chat":
|
||||||
print()
|
print()
|
||||||
print(
|
print(
|
||||||
|
|
@ -1318,11 +1450,11 @@ def run():
|
||||||
|
|
||||||
scope = questionary.select(
|
scope = questionary.select(
|
||||||
(
|
(
|
||||||
"Do you want to benchmark the original model along with the decensored model? "
|
f"Do you want to benchmark the original model along with the {settings.modified_model_type} model? "
|
||||||
"Benchmarking both models allows you to compare the scores, but it takes twice as much time."
|
"Benchmarking both models allows you to compare the scores, but it takes twice as much time."
|
||||||
),
|
),
|
||||||
choices=[
|
choices=[
|
||||||
"Benchmark only the decensored model",
|
f"Benchmark only the {settings.modified_model_type} model",
|
||||||
"Benchmark both models",
|
"Benchmark both models",
|
||||||
],
|
],
|
||||||
style=Style([("highlighted", "reverse")]),
|
style=Style([("highlighted", "reverse")]),
|
||||||
|
|
@ -1419,8 +1551,7 @@ def run():
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# Install Rich traceback handler.
|
rich.traceback.install()
|
||||||
install()
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
run()
|
run()
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,55 @@ def get_model_class(
|
||||||
return AutoModelForCausalLM
|
return AutoModelForCausalLM
|
||||||
|
|
||||||
|
|
||||||
|
def check_model_resident(model: PreTrainedModel | PeftModel) -> None:
|
||||||
|
"""
|
||||||
|
Ensure that all of the model's weights are resident in memory.
|
||||||
|
"""
|
||||||
|
offloaded = [name for name, param in model.named_parameters() if param.is_meta]
|
||||||
|
|
||||||
|
if not offloaded:
|
||||||
|
return
|
||||||
|
|
||||||
|
raise Exception(
|
||||||
|
"The model does not fit into the available device memory: "
|
||||||
|
f"{len(offloaded)} weights (such as {', '.join(offloaded[:3])}) had to "
|
||||||
|
"be offloaded to CPU or disk. Heretic cannot process offloaded models "
|
||||||
|
"because it requires direct, persistent access to all weights, whereas "
|
||||||
|
"offloaded weights only exist temporarily during forward passes.\n"
|
||||||
|
"Possible remedies:\n"
|
||||||
|
"* Free up memory, e.g. by closing other applications.\n"
|
||||||
|
"* Change the device map (device_map/max_memory settings) so that all "
|
||||||
|
"weights fit into device memory.\n"
|
||||||
|
'* Enable 4-bit quantization (quantization = "bnb_4bit").'
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def _collapse_flattened_residual_streams(
|
||||||
|
hidden_states: tuple[FloatTensor, ...],
|
||||||
|
config: Any,
|
||||||
|
) -> tuple[FloatTensor, ...]:
|
||||||
|
"""
|
||||||
|
Average flattened multi-stream hidden states to hidden_size.
|
||||||
|
|
||||||
|
Some models (e.g. Qwen4-Exp) flatten their residual streams into the
|
||||||
|
component dimension instead of exposing a separate stream dimension, so
|
||||||
|
their hidden states have shape (prompt, position, streams * hidden_size).
|
||||||
|
The final entry is the merged model output (hidden_size) and is unchanged.
|
||||||
|
"""
|
||||||
|
get_text_config = getattr(config, "get_text_config", None)
|
||||||
|
if callable(get_text_config):
|
||||||
|
config = get_text_config()
|
||||||
|
hidden_size = getattr(config, "hidden_size", None)
|
||||||
|
streams = getattr(config, "hc_count", 1)
|
||||||
|
if hidden_size is None or streams <= 1:
|
||||||
|
return hidden_states
|
||||||
|
width = hidden_size * streams
|
||||||
|
return tuple(
|
||||||
|
h.unflatten(-1, (streams, hidden_size)).mean(-2) if h.shape[-1] == width else h
|
||||||
|
for h in hidden_states
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
# Some chat templates (e.g. gpt-oss) insert the current date into the prompt,
|
# Some chat templates (e.g. gpt-oss) insert the current date into the prompt,
|
||||||
# which makes the residuals, and therefore the modified model, depend on the day
|
# which makes the residuals, and therefore the modified model, depend on the day
|
||||||
# Heretic is run. Rendering templates with a fixed date keeps results reproducible.
|
# Heretic is run. Rendering templates with a fixed date keeps results reproducible.
|
||||||
|
|
@ -186,6 +235,10 @@ class Model:
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
max_new_tokens=1,
|
max_new_tokens=1,
|
||||||
|
# The KV cache is deliberately left enabled here so we can
|
||||||
|
# catch dtype errors related to the cache, which we will need
|
||||||
|
# for generating responses.
|
||||||
|
# use_cache=False,
|
||||||
)
|
)
|
||||||
except Exception as error:
|
except Exception as error:
|
||||||
self.model = None
|
self.model = None
|
||||||
|
|
@ -207,6 +260,8 @@ class Model:
|
||||||
if self.model is None:
|
if self.model is None:
|
||||||
raise Exception("Failed to load model with all configured dtypes.")
|
raise Exception("Failed to load model with all configured dtypes.")
|
||||||
|
|
||||||
|
check_model_resident(self.model)
|
||||||
|
|
||||||
print(f"* Transformer model with [bold]{len(self.get_layers())}[/] layers")
|
print(f"* Transformer model with [bold]{len(self.get_layers())}[/] layers")
|
||||||
|
|
||||||
all_components = {}
|
all_components = {}
|
||||||
|
|
@ -216,7 +271,7 @@ class Model:
|
||||||
all_components[component] = 0
|
all_components[component] = 0
|
||||||
all_components[component] += len(modules)
|
all_components[component] += len(modules)
|
||||||
|
|
||||||
print("* Abliterable components:")
|
print("* Modifiable components:")
|
||||||
for component, count in all_components.items():
|
for component, count in all_components.items():
|
||||||
print(f" * [bold]{component}[/]: [bold]{count}[/] modules total")
|
print(f" * [bold]{component}[/]: [bold]{count}[/] modules total")
|
||||||
|
|
||||||
|
|
@ -224,7 +279,7 @@ class Model:
|
||||||
# Guard against calling this method at the wrong time.
|
# Guard against calling this method at the wrong time.
|
||||||
assert isinstance(self.model, PreTrainedModel)
|
assert isinstance(self.model, PreTrainedModel)
|
||||||
|
|
||||||
# Always use LoRA adapters for abliteration (faster reload, no weight modification).
|
# Always use LoRA adapters for modification (faster reload, no weight modification).
|
||||||
# Collect actual leaf module names from the model for LoRA targeting.
|
# Collect actual leaf module names from the model for LoRA targeting.
|
||||||
# This is more robust than splitting component keys (e.g. "attn.o_proj" -> "o_proj")
|
# This is more robust than splitting component keys (e.g. "attn.o_proj" -> "o_proj")
|
||||||
# because hybrid models like Qwen3.5 MoE have modules with different names
|
# because hybrid models like Qwen3.5 MoE have modules with different names
|
||||||
|
|
@ -393,6 +448,8 @@ class Model:
|
||||||
**extra_kwargs,
|
**extra_kwargs,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
check_model_resident(self.model)
|
||||||
|
|
||||||
self.needs_reload = False
|
self.needs_reload = False
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
@ -437,6 +494,10 @@ class Model:
|
||||||
with suppress(Exception):
|
with suppress(Exception):
|
||||||
try_add("attn.o_proj", layer.linear_attn.out_proj) # ty: ignore[unresolved-attribute]
|
try_add("attn.o_proj", layer.linear_attn.out_proj) # ty: ignore[unresolved-attribute]
|
||||||
|
|
||||||
|
# DeepSeek V4.
|
||||||
|
with suppress(Exception):
|
||||||
|
try_add("attn.o_proj", layer.self_attn.o_b_proj) # ty: ignore[unresolved-attribute]
|
||||||
|
|
||||||
# Most dense models.
|
# Most dense models.
|
||||||
with suppress(Exception):
|
with suppress(Exception):
|
||||||
try_add("mlp.down_proj", layer.mlp.down_proj) # ty: ignore[unresolved-attribute]
|
try_add("mlp.down_proj", layer.mlp.down_proj) # ty: ignore[unresolved-attribute]
|
||||||
|
|
@ -446,6 +507,14 @@ class Model:
|
||||||
for expert in layer.mlp.experts: # ty:ignore[not-iterable, unresolved-attribute]
|
for expert in layer.mlp.experts: # ty:ignore[not-iterable, unresolved-attribute]
|
||||||
try_add("mlp.down_proj", expert.down_proj) # ty: ignore[unresolved-attribute]
|
try_add("mlp.down_proj", expert.down_proj) # ty: ignore[unresolved-attribute]
|
||||||
|
|
||||||
|
# Shared experts of MoE models (e.g. DeepSeek V4 and GLM 5.3).
|
||||||
|
with suppress(Exception):
|
||||||
|
try_add("mlp.down_proj", layer.mlp.shared_experts.down_proj) # ty: ignore[unresolved-attribute]
|
||||||
|
|
||||||
|
# Shared expert of MoE models (e.g. Qwen4-Exp).
|
||||||
|
with suppress(Exception):
|
||||||
|
try_add("mlp.down_proj", layer.mlp.shared_expert.down_proj) # ty: ignore[unresolved-attribute]
|
||||||
|
|
||||||
# Phi-3.5-MoE (and possibly others).
|
# Phi-3.5-MoE (and possibly others).
|
||||||
with suppress(Exception):
|
with suppress(Exception):
|
||||||
for expert in layer.block_sparse_moe.experts: # ty:ignore[not-iterable, unresolved-attribute]
|
for expert in layer.block_sparse_moe.experts: # ty:ignore[not-iterable, unresolved-attribute]
|
||||||
|
|
@ -475,13 +544,13 @@ class Model:
|
||||||
for expert in layer.moe.experts: # ty:ignore[not-iterable, unresolved-attribute]
|
for expert in layer.moe.experts: # ty:ignore[not-iterable, unresolved-attribute]
|
||||||
try_add("mlp.down_proj", expert.output_linear) # ty: ignore[unresolved-attribute]
|
try_add("mlp.down_proj", expert.output_linear) # ty: ignore[unresolved-attribute]
|
||||||
|
|
||||||
# We need at least one module across all components for abliteration to work.
|
# We need at least one module across all components.
|
||||||
total_modules = sum(len(mods) for mods in modules.values())
|
total_modules = sum(len(mods) for mods in modules.values())
|
||||||
assert total_modules > 0, "No abliterable modules found in layer"
|
assert total_modules > 0, "No modifiable modules found in layer"
|
||||||
|
|
||||||
return modules
|
return modules
|
||||||
|
|
||||||
def get_abliterable_components(self) -> list[str]:
|
def get_modifiable_components(self) -> list[str]:
|
||||||
components: set[str] = set()
|
components: set[str] = set()
|
||||||
|
|
||||||
# Scan all layers because hybrid models (e.g. Qwen3.5 MoE) have different
|
# Scan all layers because hybrid models (e.g. Qwen3.5 MoE) have different
|
||||||
|
|
@ -632,6 +701,25 @@ class Model:
|
||||||
# This cast is valid because we passed output_hidden_states=True above.
|
# This cast is valid because we passed output_hidden_states=True above.
|
||||||
hidden_states = cast(tuple[tuple[FloatTensor]], outputs.hidden_states)[0]
|
hidden_states = cast(tuple[tuple[FloatTensor]], outputs.hidden_states)[0]
|
||||||
|
|
||||||
|
# Models with Hyper-Connections (e.g. DeepSeek V4 and GLM 5.3) have several
|
||||||
|
# residual streams, so their hidden states have shape
|
||||||
|
# (prompt, position, stream, component). We use the mean of the streams.
|
||||||
|
# The last entry has no stream dimension, because Transformers replaces it
|
||||||
|
# with the model output, where the streams have already been merged.
|
||||||
|
hidden_states = tuple(
|
||||||
|
(
|
||||||
|
layer_hidden_states.mean(dim=2)
|
||||||
|
if layer_hidden_states.dim() == 4
|
||||||
|
else layer_hidden_states
|
||||||
|
)
|
||||||
|
for layer_hidden_states in hidden_states
|
||||||
|
)
|
||||||
|
|
||||||
|
hidden_states = _collapse_flattened_residual_streams(
|
||||||
|
cast(tuple[FloatTensor, ...], hidden_states),
|
||||||
|
self.model.config,
|
||||||
|
)
|
||||||
|
|
||||||
# The returned tensor has shape (prompt, layer, component).
|
# The returned tensor has shape (prompt, layer, component).
|
||||||
residuals = torch.stack(
|
residuals = torch.stack(
|
||||||
# layer_hidden_states has shape (prompt, position, component),
|
# layer_hidden_states has shape (prompt, position, component),
|
||||||
|
|
@ -771,7 +859,11 @@ class Model:
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
self.generate(prompts, max_new_tokens=1)
|
self.generate(
|
||||||
|
prompts,
|
||||||
|
max_new_tokens=1,
|
||||||
|
use_cache=False,
|
||||||
|
)
|
||||||
|
|
||||||
for hook_handle in hook_handles:
|
for hook_handle in hook_handles:
|
||||||
hook_handle.remove()
|
hook_handle.remove()
|
||||||
|
|
|
||||||
|
|
@ -255,7 +255,7 @@ class Abliteration(Modifier[Parameters]):
|
||||||
|
|
||||||
weight_distributions = {}
|
weight_distributions = {}
|
||||||
|
|
||||||
for component in model.get_abliterable_components():
|
for component in model.get_modifiable_components():
|
||||||
# The parameter ranges are based on experiments with various models
|
# The parameter ranges are based on experiments with various models
|
||||||
# and much wider ranges. They are not set in stone and might have to be
|
# and much wider ranges. They are not set in stone and might have to be
|
||||||
# adjusted for future models.
|
# adjusted for future models.
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ from typing import Any, cast
|
||||||
import bitsandbytes.functional as BNB_F
|
import bitsandbytes.functional as BNB_F
|
||||||
import torch
|
import torch
|
||||||
import torch.linalg as LA
|
import torch.linalg as LA
|
||||||
import torch.nn.functional as F
|
|
||||||
from optuna import Trial
|
from optuna import Trial
|
||||||
from peft.tuners.lora.layer import Linear
|
from peft.tuners.lora.layer import Linear
|
||||||
from pydantic import (
|
from pydantic import (
|
||||||
|
|
@ -317,18 +316,43 @@ class ARA(Modifier[Parameters]):
|
||||||
bad_input = bad_input.float().to(lora_A.device)
|
bad_input = bad_input.float().to(lora_A.device)
|
||||||
bad_output = bad_output.float().to(lora_A.device)
|
bad_output = bad_output.float().to(lora_A.device)
|
||||||
|
|
||||||
|
# The base product input @ W_base.T does not depend on the adapter,
|
||||||
|
# so compute it once here (in float32, from the float32 weight)
|
||||||
|
# instead of on every closure evaluation. It must not be taken from
|
||||||
|
# the captured module output: that was computed in the model's dtype
|
||||||
|
# (e.g. bfloat16) and would change the objective.
|
||||||
|
good_product = good_input @ W_base.T
|
||||||
|
bad_product = bad_input @ W_base.T
|
||||||
|
|
||||||
|
# ARA only modifies the weight. If the module has a bias, the
|
||||||
|
# captured output includes it, so add it back to the modified output
|
||||||
|
# (after row normalization, which must not rescale the bias).
|
||||||
|
bias = cast(Tensor | None, module.base_layer.bias)
|
||||||
|
if bias is not None:
|
||||||
|
bias = bias.detach().float().to(lora_A.device)
|
||||||
|
|
||||||
def objective(A: Tensor, B: Tensor) -> Tensor:
|
def objective(A: Tensor, B: Tensor) -> Tensor:
|
||||||
# Calculate effective weight after applying adapter.
|
# input @ (W_base + B @ A).T
|
||||||
W_eff = W_base + (B @ A)
|
# = input @ W_base.T + (input @ A.T) @ B.T
|
||||||
|
# The first term is the precomputed base product, so only the
|
||||||
|
# low-rank second term is recomputed. This avoids materializing
|
||||||
|
# the dense effective weight and the full input @ W_eff.T product
|
||||||
|
# on every closure evaluation.
|
||||||
|
new_good_output = good_product + (good_input @ A.T) @ B.T
|
||||||
|
new_bad_output = bad_product + (bad_input @ A.T) @ B.T
|
||||||
|
|
||||||
if self.settings.preserve_row_magnitudes:
|
if self.settings.preserve_row_magnitudes:
|
||||||
# Normalize to unit length, then scale by original norms,
|
# Row normalization rescales each output row by
|
||||||
# preserving the original row norms.
|
# (original row norm / effective row norm), which applies
|
||||||
W_eff = F.normalize(W_eff, p=2, dim=1) * W_row_norms
|
# directly to the outputs as a per-column factor.
|
||||||
|
eff_row_norms = LA.vector_norm(W_base + (B @ A), dim=1)
|
||||||
|
scale = W_row_norms.squeeze(1) / eff_row_norms
|
||||||
|
new_good_output = new_good_output * scale
|
||||||
|
new_bad_output = new_bad_output * scale
|
||||||
|
|
||||||
# Compute outputs using the effective weight.
|
if bias is not None:
|
||||||
new_good_output = good_input @ W_eff.T
|
new_good_output = new_good_output + bias
|
||||||
new_bad_output = bad_input @ W_eff.T
|
new_bad_output = new_bad_output + bias
|
||||||
|
|
||||||
return ara_loss(
|
return ara_loss(
|
||||||
good_output,
|
good_output,
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,16 @@ import sys
|
||||||
import types
|
import types
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from types import ModuleType
|
from types import ModuleType
|
||||||
from typing import Annotated, Any, TypeVar, Union, get_args, get_origin, get_type_hints
|
from typing import (
|
||||||
|
Annotated,
|
||||||
|
Any,
|
||||||
|
TypeVar,
|
||||||
|
Union,
|
||||||
|
cast,
|
||||||
|
get_args,
|
||||||
|
get_origin,
|
||||||
|
get_type_hints,
|
||||||
|
)
|
||||||
|
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
from torch import Tensor
|
from torch import Tensor
|
||||||
|
|
@ -202,14 +211,23 @@ class Plugin:
|
||||||
"""
|
"""
|
||||||
Whether runs using this plugin can be reproduced bit-for-bit.
|
Whether runs using this plugin can be reproduced bit-for-bit.
|
||||||
|
|
||||||
Set to False when the plugin's behavior is not deterministic or depends on
|
Set to False if the plugin's behavior is not deterministic or depends on
|
||||||
state outside the pinned config, for example:
|
state outside the pinned config, for example:
|
||||||
- It calls an external service (e.g. an LLM judge over the OpenAI API).
|
- It calls an external service (e.g. an LLM judge over the OpenAI API).
|
||||||
- It reads credentials or config from the environment (env vars, files).
|
- It reads credentials or config from the environment (env vars, files).
|
||||||
- It is otherwise non-deterministic (network, wall-clock, unseeded RNG).
|
- It is otherwise non-deterministic (network, wall-clock, unseeded RNG).
|
||||||
|
|
||||||
Defaults to False; override to True in your plugin class if any of the
|
Defaults to False; override to True in your plugin class if the
|
||||||
above DO NOT apply.
|
above DO NOT apply.
|
||||||
|
|
||||||
|
Note: The plugin can use non-deterministic/external state if the plugin
|
||||||
|
evaluates the state during initialization and stores it in its settings
|
||||||
|
object in such a way that re-running the plugin with the modified settings
|
||||||
|
guarantees identical state. A plugin may also do this after initialization
|
||||||
|
(i.e., during execution), but only if setting that state at initialization
|
||||||
|
time during a later run results in identical plugin behavior. This can be
|
||||||
|
used to perform tasks such as pinning dataset commits, or automatically
|
||||||
|
determining batch sizes.
|
||||||
"""
|
"""
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
@ -338,6 +356,28 @@ class Plugin:
|
||||||
return None
|
return None
|
||||||
return settings_model.model_validate(raw_namespace or {})
|
return settings_model.model_validate(raw_namespace or {})
|
||||||
|
|
||||||
|
def write_settings_to_config(
|
||||||
|
self,
|
||||||
|
top_namespace: str,
|
||||||
|
instance_name: str | None,
|
||||||
|
) -> None:
|
||||||
|
"""
|
||||||
|
Write the plugin's effective (validated) settings back into
|
||||||
|
`heretic_settings.model_extra`, under the same namespace from which
|
||||||
|
the raw settings were read.
|
||||||
|
"""
|
||||||
|
if self.settings is None:
|
||||||
|
return
|
||||||
|
|
||||||
|
class_name = self.__class__.__name__
|
||||||
|
key = class_name if not instance_name else f"{class_name}_{instance_name}"
|
||||||
|
|
||||||
|
# Settings uses extra="allow", so model_extra is always a dictionary.
|
||||||
|
extra = cast(dict[str, Any], self.heretic_settings.model_extra)
|
||||||
|
namespace: dict[str, Any] = extra.setdefault(top_namespace, {})
|
||||||
|
|
||||||
|
namespace[key] = self.settings.model_dump()
|
||||||
|
|
||||||
def get_dataset_specifications(self) -> list[DatasetSpecification]:
|
def get_dataset_specifications(self) -> list[DatasetSpecification]:
|
||||||
"""
|
"""
|
||||||
Collect the dataset specifications declared in the settings
|
Collect the dataset specifications declared in the settings
|
||||||
|
|
|
||||||
|
|
@ -53,8 +53,6 @@ class Scorer(Plugin, ABC):
|
||||||
def get_score(self, ctx: Context) -> Score:
|
def get_score(self, ctx: Context) -> Score:
|
||||||
"""
|
"""
|
||||||
Return a `Score` given the evaluation context.
|
Return a `Score` given the evaluation context.
|
||||||
The `value` of the `Score` must be of the order of magnitude 1
|
|
||||||
to ensure that all scores are comparable during co-optimization.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def get_baseline_score(self, ctx: Context) -> Score:
|
def get_baseline_score(self, ctx: Context) -> Score:
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
import lm_eval
|
import lm_eval
|
||||||
from lm_eval.models.huggingface import HFLM
|
from lm_eval.models.huggingface import HFLM
|
||||||
from pydantic import BaseModel, Field
|
from pydantic import BaseModel, Field, NonNegativeInt
|
||||||
|
|
||||||
from heretic.scorer import Context, Score, Scorer
|
from heretic.scorer import Context, Score, Scorer
|
||||||
|
|
||||||
|
|
@ -24,6 +24,11 @@ class Settings(BaseModel):
|
||||||
description="Task metric to use as the benchmark score.",
|
description="Task metric to use as the benchmark score.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
batch_size: NonNegativeInt = Field(
|
||||||
|
default=0, # auto
|
||||||
|
description="Number of input sequences to process in parallel (0 = auto).",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class BenchmarkScore(Scorer):
|
class BenchmarkScore(Scorer):
|
||||||
"""
|
"""
|
||||||
|
|
@ -40,29 +45,27 @@ class BenchmarkScore(Scorer):
|
||||||
def score_name(self) -> str:
|
def score_name(self) -> str:
|
||||||
return self.settings.score_name
|
return self.settings.score_name
|
||||||
|
|
||||||
def init(self, ctx: Context) -> None:
|
def get_score(self, ctx: Context) -> Score:
|
||||||
model = ctx.get_model()
|
model = ctx.get_model()
|
||||||
|
|
||||||
self.hflm = HFLM(
|
hflm = HFLM(
|
||||||
pretrained=model.model,
|
pretrained=model.model,
|
||||||
tokenizer=model.tokenizer, # ty: ignore[invalid-argument-type]
|
tokenizer=model.tokenizer, # ty: ignore[invalid-argument-type]
|
||||||
batch_size="auto",
|
batch_size="auto"
|
||||||
|
if self.settings.batch_size == 0
|
||||||
|
else self.settings.batch_size,
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_score(self, ctx: Context) -> Score:
|
|
||||||
# The purpose of this hack, where we initialize the HFLM object once,
|
|
||||||
# then update its internal model every time we calculate the score,
|
|
||||||
# is to get the benefits of batch size caching while allowing for
|
|
||||||
# model reloads, e.g. when using --evaluate-model.
|
|
||||||
model = ctx.get_model()
|
|
||||||
self.hflm.pretrained = model.model
|
|
||||||
self.hflm._model = model.model
|
|
||||||
|
|
||||||
results = lm_eval.simple_evaluate(
|
results = lm_eval.simple_evaluate(
|
||||||
model=self.hflm,
|
model=hflm,
|
||||||
tasks=[self.settings.task],
|
tasks=[self.settings.task],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if self.settings.batch_size == 0 and hflm.batch_sizes:
|
||||||
|
# Cache automatically determined batch size to avoid re-determining
|
||||||
|
# the batch size on every future run.
|
||||||
|
self.settings.batch_size = min(hflm.batch_sizes.values())
|
||||||
|
|
||||||
benchmark_score = float(
|
benchmark_score = float(
|
||||||
results["results"][self.settings.task][self.settings.metric]
|
results["results"][self.settings.task][self.settings.metric]
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,276 @@
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
# Copyright (C) 2025-2026 Philipp Emanuel Weidmann <pew@worldwidemann.com> + contributors
|
||||||
|
|
||||||
|
# Generic text-classification scorer: classifies each response with a
|
||||||
|
# text-classification model and counts the responses whose
|
||||||
|
# predicted label is one of the `match_labels`, as an alternative to the
|
||||||
|
# `keyword_markers` of the KeywordRate scorer.
|
||||||
|
#
|
||||||
|
# The default settings detect refusals using a ModernBERT model fine-tuned on refusal
|
||||||
|
# classification. Any text-classification model and label set can be used by
|
||||||
|
# changing the plugin settings.
|
||||||
|
#
|
||||||
|
# For more information, see:
|
||||||
|
# Implementation: https://github.com/p-e-w/heretic/pull/500
|
||||||
|
# Default classifier model: https://huggingface.co/VINAY-UMRETHE/Refusal-Classifier-V2
|
||||||
|
|
||||||
|
from typing import cast
|
||||||
|
|
||||||
|
import huggingface_hub
|
||||||
|
import torch
|
||||||
|
from pydantic import BaseModel, Field
|
||||||
|
from rich.markup import escape
|
||||||
|
from transformers import Pipeline, pipeline
|
||||||
|
|
||||||
|
from heretic.config import DatasetSpecification, SingleDatasetSpecification
|
||||||
|
from heretic.plugin import Context
|
||||||
|
from heretic.scorer import Score, Scorer
|
||||||
|
from heretic.system import empty_cache
|
||||||
|
from heretic.utils import (
|
||||||
|
format_dataset_specification,
|
||||||
|
format_exception,
|
||||||
|
is_hf_path,
|
||||||
|
print,
|
||||||
|
)
|
||||||
|
|
||||||
|
DEFAULT_LABELS = ["full_refusal", "partial_refusal"]
|
||||||
|
|
||||||
|
|
||||||
|
class Settings(BaseModel):
|
||||||
|
score_name: str = Field(
|
||||||
|
default="Refusals (Classifier)",
|
||||||
|
description="Name that describes what the configured match rate measures.",
|
||||||
|
)
|
||||||
|
|
||||||
|
model: str = Field(
|
||||||
|
default="VINAY-UMRETHE/Refusal-Classifier-V2",
|
||||||
|
description="Hugging Face model ID, or path to a text-classification model on disk.",
|
||||||
|
)
|
||||||
|
|
||||||
|
model_commit: str | None = Field(
|
||||||
|
default=None,
|
||||||
|
description=(
|
||||||
|
"Hugging Face commit hash of the classifier model. "
|
||||||
|
"Set this to pin a specific revision; unset means the latest "
|
||||||
|
"revision is auto-pinned and recorded when the classifier is loaded. "
|
||||||
|
"When reproducing, the recorded revision is restored and used."
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
dtypes: list[str] = Field(
|
||||||
|
default=[
|
||||||
|
"auto",
|
||||||
|
"float16",
|
||||||
|
"bfloat16",
|
||||||
|
"float32",
|
||||||
|
],
|
||||||
|
description=(
|
||||||
|
"List of PyTorch dtypes to try when loading model tensors. "
|
||||||
|
"If loading with a dtype fails, the next dtype in the list will be tried."
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
device_map: str | dict[str, int | str] = Field(
|
||||||
|
default="auto",
|
||||||
|
description="Device map to pass to Accelerate when loading the model.",
|
||||||
|
)
|
||||||
|
|
||||||
|
match_labels: list[str] = Field(
|
||||||
|
default=DEFAULT_LABELS,
|
||||||
|
description=(
|
||||||
|
"Labels predicted by the classifier that identify a response as a match. "
|
||||||
|
"Defaults to the refusal labels of the default model, which should "
|
||||||
|
"be counted as refusals. "
|
||||||
|
"Valid labels: compliant, full_refusal, partial_refusal, "
|
||||||
|
"capability_limitation, clarification."
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
batch_size: int = Field(
|
||||||
|
default=16,
|
||||||
|
description="Number of prompt/response pairs to classify in parallel.",
|
||||||
|
gt=0,
|
||||||
|
)
|
||||||
|
|
||||||
|
max_length: int = Field(
|
||||||
|
default=8192,
|
||||||
|
description="Maximum number of tokens per classifier input (longer inputs are truncated).",
|
||||||
|
gt=0,
|
||||||
|
)
|
||||||
|
|
||||||
|
use_text_pairs: bool = Field(
|
||||||
|
default=True,
|
||||||
|
description=(
|
||||||
|
"Whether to pass inputs as prompt/response text pairs. "
|
||||||
|
"Requires a model trained on pairs (e.g. the default refusal classifier). "
|
||||||
|
"Set to False when using a single-sequence text-classification model "
|
||||||
|
"to evaluate the response string only (e.g. sentiment analysis)."
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
print_responses: bool = Field(
|
||||||
|
default=False,
|
||||||
|
description="Whether to print prompt/response pairs and their predicted labels.",
|
||||||
|
)
|
||||||
|
|
||||||
|
prompts: DatasetSpecification = Field(
|
||||||
|
default=SingleDatasetSpecification(
|
||||||
|
dataset="mlabonne/harmful_behaviors",
|
||||||
|
split="test[:100]",
|
||||||
|
column="text",
|
||||||
|
),
|
||||||
|
description="Dataset of prompts to evaluate the match rate on.",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
class BERTClassifier(Scorer):
|
||||||
|
"""
|
||||||
|
Classifies responses using a text-classification model
|
||||||
|
(ModernBERT by default) instead of regex keyword matching.
|
||||||
|
Scores the share of responses whose predicted label is in `match_labels`.
|
||||||
|
|
||||||
|
The default model and labels detect refusals. Any text-classification
|
||||||
|
model and label set can be used by changing the plugin settings.
|
||||||
|
|
||||||
|
Settings live in the [scorer.BERTClassifier] config section.
|
||||||
|
"""
|
||||||
|
|
||||||
|
settings: Settings
|
||||||
|
|
||||||
|
@property
|
||||||
|
def reproducible(self) -> bool:
|
||||||
|
# Inference is deterministic: eval mode (no dropout),
|
||||||
|
# argmax over softmax outputs (no sampling), pipeline keeps input order.
|
||||||
|
# All varying inputs are pinned: the classifier model revision is resolved
|
||||||
|
# in init(), the prompts dataset revision is resolved when the prompts are
|
||||||
|
# loaded, the remaining settings come from the config
|
||||||
|
# (match_labels, batch_size, max_length, use_text_pairs).
|
||||||
|
return True
|
||||||
|
|
||||||
|
@property
|
||||||
|
def score_name(self) -> str:
|
||||||
|
return self.settings.score_name
|
||||||
|
|
||||||
|
def init(self, ctx: Context) -> None:
|
||||||
|
print()
|
||||||
|
print(
|
||||||
|
f"Loading {self.settings.score_name} evaluation prompts from [bold]{format_dataset_specification(self.settings.prompts)}[/]..."
|
||||||
|
)
|
||||||
|
self.prompts = ctx.load_prompts(self.settings.prompts)
|
||||||
|
print(f"* [bold]{len(self.prompts)}[/] prompts loaded")
|
||||||
|
print()
|
||||||
|
print(f"Loading text classifier: [bold]{self.settings.model}[/]...")
|
||||||
|
|
||||||
|
if self.settings.model_commit is None and is_hf_path(self.settings.model):
|
||||||
|
try:
|
||||||
|
self.settings.model_commit = huggingface_hub.model_info(
|
||||||
|
self.settings.model
|
||||||
|
).sha
|
||||||
|
except Exception as error:
|
||||||
|
raise RuntimeError(
|
||||||
|
f"[red]Failed to fetch the latest commit hash for the classifier model "
|
||||||
|
f"[bold]{self.settings.model}[/] ({error}). "
|
||||||
|
f"Pinning the model commit is required for exact reproducibility.[/]"
|
||||||
|
)
|
||||||
|
|
||||||
|
self.pipeline = None
|
||||||
|
for dtype in self.settings.dtypes:
|
||||||
|
print(f"* Trying dtype [bold]{dtype}[/]...")
|
||||||
|
try:
|
||||||
|
torch_dtype = "auto" if dtype == "auto" else getattr(torch, dtype)
|
||||||
|
self.pipeline = pipeline(
|
||||||
|
"text-classification",
|
||||||
|
model=self.settings.model,
|
||||||
|
revision=self.settings.model_commit,
|
||||||
|
device_map=self.settings.device_map,
|
||||||
|
torch_dtype=torch_dtype,
|
||||||
|
)
|
||||||
|
break
|
||||||
|
except Exception as error:
|
||||||
|
self.pipeline = None
|
||||||
|
empty_cache()
|
||||||
|
|
||||||
|
formatted = format_exception(error)
|
||||||
|
if "\n" in formatted:
|
||||||
|
print(f"* [red]Failed:\n{formatted}[/]")
|
||||||
|
else:
|
||||||
|
print(f"* [red]Failed ({formatted})[/]")
|
||||||
|
continue
|
||||||
|
|
||||||
|
if self.pipeline is None:
|
||||||
|
raise Exception(
|
||||||
|
"Failed to load text classifier model with all configured dtypes."
|
||||||
|
)
|
||||||
|
|
||||||
|
valid = set((self.pipeline.model.config.id2label or {}).values())
|
||||||
|
unknown = set(self.settings.match_labels) - valid
|
||||||
|
if unknown:
|
||||||
|
raise ValueError(
|
||||||
|
f"Unknown match_labels: {sorted(unknown)}. "
|
||||||
|
f"Valid labels: {sorted(valid)}"
|
||||||
|
)
|
||||||
|
|
||||||
|
def get_score(self, ctx: Context) -> Score:
|
||||||
|
responses = ctx.get_responses(self.prompts)
|
||||||
|
predicted_labels = self._classify(responses)
|
||||||
|
|
||||||
|
match_count = 0
|
||||||
|
for prompt, response, label in zip(
|
||||||
|
self.prompts,
|
||||||
|
responses,
|
||||||
|
predicted_labels,
|
||||||
|
strict=True,
|
||||||
|
):
|
||||||
|
# Evaluate matches based on the classifier's predicted label only.
|
||||||
|
is_match = label in self.settings.match_labels
|
||||||
|
match_count += int(is_match)
|
||||||
|
|
||||||
|
if self.settings.print_responses:
|
||||||
|
print()
|
||||||
|
print(f"[bold]System prompt:[/] {escape(prompt.system)}")
|
||||||
|
print(f"[bold]Prompt:[/] {escape(prompt.user)}")
|
||||||
|
if not response.strip():
|
||||||
|
response = "[italic]\\[empty][/]"
|
||||||
|
else:
|
||||||
|
response = escape(response)
|
||||||
|
print(
|
||||||
|
f"[bold]Response:[/] [{'red' if is_match else 'green'}]{response}[/]"
|
||||||
|
)
|
||||||
|
print(f"[bold]Predicted label:[/] {label}")
|
||||||
|
|
||||||
|
if self.settings.print_responses:
|
||||||
|
print()
|
||||||
|
|
||||||
|
return Score(
|
||||||
|
value=float(match_count / len(self.prompts)),
|
||||||
|
rich_display=f"[bold]{match_count}[/]/{len(self.prompts)}",
|
||||||
|
md_display=f"{match_count}/{len(self.prompts)}",
|
||||||
|
)
|
||||||
|
|
||||||
|
def _classify(self, responses: list[str]) -> list[str]:
|
||||||
|
# Switch input method, considering both model types.
|
||||||
|
if self.settings.use_text_pairs:
|
||||||
|
# Standard way to use the classifier models that are trained on pairs,
|
||||||
|
# (e.g. the default refusal classifier). Otherwise, the
|
||||||
|
# fallback below can degrade the predictions of such models.
|
||||||
|
inputs = [
|
||||||
|
{
|
||||||
|
"text": prompt.user,
|
||||||
|
"text_pair": response,
|
||||||
|
}
|
||||||
|
for prompt, response in zip(self.prompts, responses, strict=True)
|
||||||
|
]
|
||||||
|
else:
|
||||||
|
# Fallback for single-sequence text-classification models
|
||||||
|
# (e.g. sentiment analysis). Here, we pass only the responses
|
||||||
|
# to avoid string concatenation (e.g. Prompt: {prompt.user}\nResponse: {response}),
|
||||||
|
# since such formatting can degrade the predictions of such models.
|
||||||
|
inputs = responses
|
||||||
|
|
||||||
|
results = cast(Pipeline, self.pipeline)(
|
||||||
|
inputs,
|
||||||
|
batch_size=self.settings.batch_size,
|
||||||
|
truncation=True,
|
||||||
|
max_length=self.settings.max_length,
|
||||||
|
)
|
||||||
|
return [result["label"] for result in results]
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
# Copyright (C) 2025-2026 Philipp Emanuel Weidmann <pew@worldwidemann.com> + contributors
|
# Copyright (C) 2025-2026 Philipp Emanuel Weidmann <pew@worldwidemann.com> + contributors
|
||||||
|
|
||||||
from pydantic import BaseModel, Field
|
from pydantic import BaseModel, Field, field_validator
|
||||||
from rich.markup import escape
|
from rich.markup import escape
|
||||||
|
|
||||||
from heretic.config import DatasetSpecification, SingleDatasetSpecification
|
from heretic.config import DatasetSpecification, SingleDatasetSpecification
|
||||||
|
|
@ -65,9 +65,20 @@ class Settings(BaseModel):
|
||||||
description="Strings whose presence in a response (case insensitive) identifies the response as a keyword match.",
|
description="Strings whose presence in a response (case insensitive) identifies the response as a keyword match.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@field_validator("keyword_markers")
|
||||||
|
@classmethod
|
||||||
|
def validate_keyword_markers(cls, value: list[str]) -> list[str]:
|
||||||
|
if not value:
|
||||||
|
raise ValueError("keyword marker list cannot be empty")
|
||||||
|
|
||||||
|
if any(not marker.strip() for marker in value):
|
||||||
|
raise ValueError("keyword markers cannot be empty or whitespace")
|
||||||
|
|
||||||
|
return value
|
||||||
|
|
||||||
print_responses: bool = Field(
|
print_responses: bool = Field(
|
||||||
default=False,
|
default=False,
|
||||||
description="Whether to print prompt/response pairs when counting keyword matches.",
|
description="Whether to print prompt/response pairs.",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -99,7 +110,8 @@ class KeywordRate(Scorer):
|
||||||
def get_score(self, ctx: Context) -> Score:
|
def get_score(self, ctx: Context) -> Score:
|
||||||
match_count = 0
|
match_count = 0
|
||||||
responses = ctx.get_responses(self.prompts)
|
responses = ctx.get_responses(self.prompts)
|
||||||
for prompt, response in zip(self.prompts, responses):
|
|
||||||
|
for prompt, response in zip(self.prompts, responses, strict=True):
|
||||||
is_match = self._is_match(response)
|
is_match = self._is_match(response)
|
||||||
if is_match:
|
if is_match:
|
||||||
match_count += 1
|
match_count += 1
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,101 @@
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
# Copyright (C) 2025-2026 Philipp Emanuel Weidmann <pew@worldwidemann.com> + contributors
|
||||||
|
|
||||||
|
from pydantic import BaseModel, Field, NonNegativeInt
|
||||||
|
from rich.markup import escape
|
||||||
|
|
||||||
|
from heretic.config import DatasetSpecification, SingleDatasetSpecification
|
||||||
|
from heretic.scorer import Context, Score, Scorer
|
||||||
|
from heretic.utils import format_dataset_specification, print
|
||||||
|
|
||||||
|
|
||||||
|
class Settings(BaseModel):
|
||||||
|
prompts: DatasetSpecification = Field(
|
||||||
|
default=SingleDatasetSpecification(
|
||||||
|
dataset="mlabonne/harmless_alpaca",
|
||||||
|
split="test[:100]",
|
||||||
|
column="text",
|
||||||
|
),
|
||||||
|
description="Dataset of prompts to evaluate the response length on.",
|
||||||
|
)
|
||||||
|
|
||||||
|
strip_responses: bool = Field(
|
||||||
|
default=True,
|
||||||
|
description="Whether to strip leading and trailing whitespace from responses before measuring their length.",
|
||||||
|
)
|
||||||
|
|
||||||
|
short_response_threshold: NonNegativeInt = Field(
|
||||||
|
# Chosen because "No" is the shortest common valid response.
|
||||||
|
default=2,
|
||||||
|
description="Length in characters below which a response is classified as a 'short response'.",
|
||||||
|
)
|
||||||
|
|
||||||
|
short_response_score_length: float = Field(
|
||||||
|
default=500,
|
||||||
|
description=(
|
||||||
|
"Length value artificially assigned to 'short responses' for the purpose of scoring. "
|
||||||
|
"This can be used to penalize very short (and thus likely invalid) responses."
|
||||||
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
print_responses: bool = Field(
|
||||||
|
default=False,
|
||||||
|
description="Whether to print prompt/response pairs.",
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
class ResponseLength(Scorer):
|
||||||
|
"""
|
||||||
|
Measures the mean length of responses.
|
||||||
|
"""
|
||||||
|
|
||||||
|
settings: Settings
|
||||||
|
|
||||||
|
@property
|
||||||
|
def reproducible(self) -> bool:
|
||||||
|
return True
|
||||||
|
|
||||||
|
@property
|
||||||
|
def score_name(self) -> str:
|
||||||
|
return "Mean response length"
|
||||||
|
|
||||||
|
def init(self, ctx: Context) -> None:
|
||||||
|
print()
|
||||||
|
print(
|
||||||
|
f"Loading response length evaluation prompts from [bold]{format_dataset_specification(self.settings.prompts)}[/]..."
|
||||||
|
)
|
||||||
|
self.prompts = ctx.load_prompts(self.settings.prompts)
|
||||||
|
print(f"* [bold]{len(self.prompts)}[/] prompts loaded")
|
||||||
|
|
||||||
|
def get_score(self, ctx: Context) -> Score:
|
||||||
|
total_length = 0
|
||||||
|
responses = ctx.get_responses(self.prompts)
|
||||||
|
|
||||||
|
for prompt, response in zip(self.prompts, responses, strict=True):
|
||||||
|
response_length = len(
|
||||||
|
response.strip() if self.settings.strip_responses else response
|
||||||
|
)
|
||||||
|
if response_length < self.settings.short_response_threshold:
|
||||||
|
response_length = self.settings.short_response_score_length
|
||||||
|
total_length += response_length
|
||||||
|
|
||||||
|
if self.settings.print_responses:
|
||||||
|
print()
|
||||||
|
print(f"[bold]System prompt:[/] {escape(prompt.system)}")
|
||||||
|
print(f"[bold]Prompt:[/] {escape(prompt.user)}")
|
||||||
|
if not response.strip():
|
||||||
|
response = "[italic]\\[empty][/]"
|
||||||
|
else:
|
||||||
|
response = escape(response)
|
||||||
|
print(f"[bold]Response:[/] {response}")
|
||||||
|
|
||||||
|
if self.settings.print_responses:
|
||||||
|
print()
|
||||||
|
|
||||||
|
mean_length = float(total_length / len(self.prompts))
|
||||||
|
|
||||||
|
return Score(
|
||||||
|
value=mean_length,
|
||||||
|
rich_display=f"[bold]{mean_length:.1f}[/]",
|
||||||
|
md_display=f"{mean_length:.1f}",
|
||||||
|
)
|
||||||
|
|
@ -344,7 +344,7 @@ def get_readme_intro(
|
||||||
else:
|
else:
|
||||||
reproducibility_instructions = ""
|
reproducibility_instructions = ""
|
||||||
|
|
||||||
return f"""# This is a decensored version of {
|
return f"""# This is a {settings.modified_model_type} version of {
|
||||||
model_link
|
model_link
|
||||||
}, made using [Heretic](https://heretic-project.org) v{version("heretic-llm")}
|
}, made using [Heretic](https://heretic-project.org) v{version("heretic-llm")}
|
||||||
{reproducibility_instructions}
|
{reproducibility_instructions}
|
||||||
|
|
@ -372,10 +372,26 @@ def get_readme_intro(
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
def _strip_none_values(data: Any) -> Any:
|
||||||
|
"""Return a copy of the data with all None values removed (TOML has no null value)."""
|
||||||
|
if isinstance(data, dict):
|
||||||
|
return {
|
||||||
|
key: _strip_none_values(value)
|
||||||
|
for key, value in data.items()
|
||||||
|
if value is not None
|
||||||
|
}
|
||||||
|
if isinstance(data, list):
|
||||||
|
return [_strip_none_values(value) for value in data]
|
||||||
|
return data
|
||||||
|
|
||||||
|
|
||||||
def generate_config_toml(settings: Settings) -> str:
|
def generate_config_toml(settings: Settings) -> str:
|
||||||
"""Serializes the full Settings object to TOML."""
|
"""Serializes the full Settings object to TOML."""
|
||||||
|
|
||||||
return tomli_w.dumps(settings.model_dump(exclude_none=True))
|
# The `exclude_none` option can't be used here because it only applies
|
||||||
|
# to model fields, and does not remove None values contained in extra
|
||||||
|
# (plugin settings) dictionaries.
|
||||||
|
return tomli_w.dumps(_strip_none_values(settings.model_dump()))
|
||||||
|
|
||||||
|
|
||||||
def generate_requirements_txt() -> str:
|
def generate_requirements_txt() -> str:
|
||||||
|
|
@ -582,7 +598,7 @@ This directory contains the necessary information and assets to reproduce the re
|
||||||
- [`requirements.txt`](requirements.txt): The exact versions of all Python packages.
|
- [`requirements.txt`](requirements.txt): The exact versions of all Python packages.
|
||||||
- [`config.toml`](config.toml): The exact configuration used, including the RNG seed.
|
- [`config.toml`](config.toml): The exact configuration used, including the RNG seed.
|
||||||
- [`{checkpoint_filename}`]({checkpoint_filename}): The Optuna study journal containing the history of all trials.
|
- [`{checkpoint_filename}`]({checkpoint_filename}): The Optuna study journal containing the history of all trials.
|
||||||
- [`SHA256SUMS`](SHA256SUMS): Cryptographic hashes for all weight files.
|
- [`SHA256SUMS.txt`](SHA256SUMS.txt): Cryptographic hashes for all weight files.
|
||||||
- [`reproduce.json`](reproduce.json): A machine-readable file containing all reproducibility information.
|
- [`reproduce.json`](reproduce.json): A machine-readable file containing all reproducibility information.
|
||||||
|
|
||||||
## How to reproduce
|
## How to reproduce
|
||||||
|
|
@ -597,8 +613,8 @@ This directory contains the necessary information and assets to reproduce the re
|
||||||
1. Place the provided `config.toml` in your working directory.
|
1. Place the provided `config.toml` in your working directory.
|
||||||
1. Run Heretic without any additional arguments: `heretic`
|
1. Run Heretic without any additional arguments: `heretic`
|
||||||
1. Wait for the run to finish, then select trial **{trial.user_attrs["index"]}** and export the model.
|
1. Wait for the run to finish, then select trial **{trial.user_attrs["index"]}** and export the model.
|
||||||
1. Verify that the weight files have been exactly reproduced by comparing their SHA-256 hashes against those in `SHA256SUMS`:
|
1. Verify that the weight files have been exactly reproduced by comparing their SHA-256 hashes against those in `SHA256SUMS.txt`:
|
||||||
`sha256sum -c SHA256SUMS` (or look at the hashes online if you uploaded to Hugging Face)
|
`sha256sum -c SHA256SUMS.txt` (or look at the hashes online if you uploaded to Hugging Face)
|
||||||
|
|
||||||
> [!TIP]
|
> [!TIP]
|
||||||
> To use the included Optuna study journal `{checkpoint_filename}`, place it in the checkpoints directory (usually `checkpoints/`) before running Heretic.
|
> To use the included Optuna study journal `{checkpoint_filename}`, place it in the checkpoints directory (usually `checkpoints/`) before running Heretic.
|
||||||
|
|
@ -655,7 +671,7 @@ def generate_reproduce_json(
|
||||||
|
|
||||||
|
|
||||||
def generate_sha256sums(hashes: dict[str, str]) -> str:
|
def generate_sha256sums(hashes: dict[str, str]) -> str:
|
||||||
"""Generates GNU Coreutils compatible SHA256SUMS file content."""
|
"""Generates GNU Coreutils compatible content for SHA256SUMS.txt."""
|
||||||
|
|
||||||
lines = []
|
lines = []
|
||||||
|
|
||||||
|
|
@ -711,7 +727,7 @@ def create_reproduce_folder(
|
||||||
)
|
)
|
||||||
|
|
||||||
if uploaded_model_hashes:
|
if uploaded_model_hashes:
|
||||||
(reproduce_dir / "SHA256SUMS").write_text(
|
(reproduce_dir / "SHA256SUMS.txt").write_text(
|
||||||
generate_sha256sums(uploaded_model_hashes),
|
generate_sha256sums(uploaded_model_hashes),
|
||||||
encoding="utf-8",
|
encoding="utf-8",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
115
tests/README.md
115
tests/README.md
|
|
@ -1,53 +1,47 @@
|
||||||
# Test Suite Guide
|
# Test Guide
|
||||||
|
|
||||||
Whenever we change any code-logic related to `src/heretic/model.py` or `config.toml` *(e.g. `row_normalization`, `full_normalization_lora_rank`, `winsorization_quantile`, etc)* which can affect a model's reproduciblity; Use these tests which are designed to verify that those changes does not affect reproducibility, unless they are meant to (like when we'll integrate ARA branch in future).
|
This directory contains two kinds of tests:
|
||||||
|
|
||||||
## How to test
|
1. **Reproducibility tests**: end-to-end tests that verify whether your new changes affect a model's reproducibility. See [Reproducibility tests](#1-reproducibility-tests).
|
||||||
|
2. **Unit tests**: tests for individual units of heretic. See [Unit tests](#2-unit-tests).
|
||||||
|
|
||||||
|
## 1. Reproducibility tests
|
||||||
|
|
||||||
|
Whenever we change any code-logic related to `src/heretic/model.py`, `src/heretic/main.py`, `src/heretic/modifier.py`, `src/heretic/evaluator.py` *(operations, modifier, evaluation, batch size, etc.)*, or `src/heretic/config.py`, `src/heretic/plugin.py`, `src/heretic/utils.py`, `src/heretic/scorer.py` *(settings, plugin interface, response prefix, chat template, etc.)*, or **anything** which can affect a model's *reproducibility*, use these tests which are designed to verify that those changes do *not* affect reproducibility, unless they *are* meant to.
|
||||||
|
|
||||||
|
For example, when fixing bugs *(e.g. fixing the `response_prefix` logic in `src/heretic/main.py`, which **changes** the previous behavior)*. Such changes will affect the reproducibility of the models, and in such cases, you may update the hash for the files that differ from their existing hash as mentioned in the existing model's `SHA256SUMS.LABEL` file.
|
||||||
|
|
||||||
|
### How to test
|
||||||
|
|
||||||
|
```bash
|
||||||
|
uv run run_tests.py
|
||||||
|
```
|
||||||
|
|
||||||
|
### How to add a new test
|
||||||
|
|
||||||
|
You may add a new test case with a new model when implementing new plugins *(e.g. a new modifier, a new scorer, etc.)*, or when testing different optimization choices / non-default values *(e.g. different value of `row_normalization` in `src/heretic/modifiers/abliteration.py`, different value of `lora_rank` in `src/heretic/modifiers/ara.py`, etc.)*.
|
||||||
|
|
||||||
1. Choose any model from [tiny-random](https://huggingface.co/tiny-random) org which provides tiny models useful for debugging.
|
1. Choose any model from [tiny-random](https://huggingface.co/tiny-random) org which provides tiny models useful for debugging.
|
||||||
|
|
||||||
**Example**: [tiny-random/minicpm5](https://huggingface.co/tiny-random/minicpm5).
|
* **Example**: [tiny-random/minicpm5](https://huggingface.co/tiny-random/minicpm5).
|
||||||
|
|
||||||
> [!NOTE]
|
2. Clone that model repository using **Git** and generate the `SHA256SUMS.LABEL` file using the `sha256sum` tool:
|
||||||
> It is highly recommended to use a model which does not have a `special_tokens_map.json` file in the repo.
|
|
||||||
> Because those files are almost always wrong in `tiny-random/*` models compared to the original model.
|
|
||||||
|
|
||||||
2. Clone that model repository using Git and generate the SHA256 hashes using `sha256sum`:
|
> [!IMPORTANT]
|
||||||
|
> Delete the unnecessary files such as `README.md` and `.gitattributes` before generating the hash file.
|
||||||
|
|
||||||
**On Linux**:
|
* **On Linux**:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sha256sum -b * > ../SHA256SUMS.LABEL
|
sha256sum -b * > ../SHA256SUMS.LABEL
|
||||||
```
|
```
|
||||||
|
|
||||||
**On Windows**:
|
* **On Windows**:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sha256sum * | Out-File -Encoding utf8NoBOM ../SHA256SUMS.LABEL
|
sha256sum * | Out-File -Encoding utf8NoBOM ../SHA256SUMS.LABEL
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!TIP]
|
|
||||||
> On windows, `sha256sum` is generally pre-installed by *Git for windows*.
|
|
||||||
|
|
||||||
**Verify with**:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
Get-Command sha256sum`
|
|
||||||
```
|
|
||||||
|
|
||||||
**Expected**:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
CommandType Name Version Source
|
|
||||||
----------- ---- ------- ------
|
|
||||||
Application sha256sum.exe 0.0.0.0 C:\Program Files\Git\usr\bin\sha256sum...
|
|
||||||
```
|
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> You must use Windows Powershell `v7.X` not the core which is `v5.1`. This is required for `-Encoding utf8NoBOM` to work.
|
|
||||||
>
|
|
||||||
> See [Differences between Windows PowerShell 5.1 and PowerShell 7.x](https://learn.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7.6) documentation.
|
|
||||||
|
|
||||||
Where `LABEL` describes the type of system you are running the tests on.
|
Where `LABEL` describes the type of system you are running the tests on.
|
||||||
|
|
||||||
**Example**:
|
**Example**:
|
||||||
|
|
@ -56,15 +50,37 @@ Where `LABEL` describes the type of system you are running the tests on.
|
||||||
- `SHA256SUMS.ci` (For GitHub CI)
|
- `SHA256SUMS.ci` (For GitHub CI)
|
||||||
- `SHA256SUMS.linux` (For linux)
|
- `SHA256SUMS.linux` (For linux)
|
||||||
|
|
||||||
|
> [!TIP]
|
||||||
|
> On Windows, `sha256sum` is generally pre-installed by **Git for Windows**.
|
||||||
|
|
||||||
|
* **Verify with**:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
Get-Command sha256sum
|
||||||
|
```
|
||||||
|
|
||||||
|
* **Expected**:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
CommandType Name Version Source
|
||||||
|
----------- ---- ------- ------
|
||||||
|
Application sha256sum.exe 0.0.0.0 C:\Program Files\Git\usr\bin\sha256sum...
|
||||||
|
```
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> You must use Windows PowerShell `v7.x` not the core which is `v5.1`. This is required for `-Encoding utf8NoBOM` to work.
|
||||||
|
>
|
||||||
|
> See [Differences between Windows PowerShell 5.1 and PowerShell 7.x](https://learn.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7.6) documentation.
|
||||||
|
|
||||||
3. Run the tests with:
|
3. Run the tests with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
uv run run_tests.py
|
uv run run_tests.py
|
||||||
```
|
```
|
||||||
|
|
||||||
The output hashes *should FAIL* against the `Valid hashes` in `SHA256SUMS` file of the test model you added. This is expected since Heretic changes the model. Without **Step 2**, the test model's folder will simply be ignored because it will not have a hash SUMS file to compare against.
|
The output hashes should **FAIL** against the `Valid hashes` in `SHA256SUMS.LABEL` file of the test model you added. This is **expected** since Heretic modifies the model. Without **Step 2**, the test model's folder will simply be ignored because it will not have a checksums file to compare against.
|
||||||
|
|
||||||
4. After that go to the output `TEST_MODEL_DIR/model` folder and re-generate the Actual hashes based on the system you are using.
|
4. After that, go to the output folder `TEST_MODEL_DIR/model` and re-generate the actual hashes based on the system you are using.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd TEST_MODEL_DIR/model
|
cd TEST_MODEL_DIR/model
|
||||||
|
|
@ -77,14 +93,33 @@ sha256sum -b * > ../SHA256SUMS.LABEL # or use windows command.
|
||||||
uv run run_tests.py
|
uv run run_tests.py
|
||||||
```
|
```
|
||||||
|
|
||||||
This time the tests *should PASS* because we added the new hashes which are expected to be reproduced on the same system.
|
This time, the tests should **PASS** because we added the new hashes which are *expected* to be reproduced on the same system.
|
||||||
|
|
||||||
6. After that push the `SHA256SUMS.LABEL` files and wait for GitHub CI actions to run those tests.
|
6. After that, push the `SHA256SUMS.LABEL` files and wait for the **GitHub CI** actions to run those tests.
|
||||||
|
|
||||||
Since PyTorch does not guarantee exact cross-system reproducibility regardless of configuration, multiple valid hashes can be provided for each output file. The above update must be performed for each `TEST_MODEL_DIR` and on each type of system.
|
> [!NOTE]
|
||||||
|
> The GitHub CI actions will run the tests only if your PR is targeting the `master` branch of Heretic.
|
||||||
|
|
||||||
For this, copy the `Actual hash` value for *each mismatched unidentical* file into a `SHA256SUMS.ci` file.
|
Since **PyTorch** does *not* guarantee exact cross-system reproducibility regardless of configuration, multiple valid hashes can be provided for each output file. The above update must be performed for each `TEST_MODEL_DIR` and on each type of system *(or at least your system plus the GitHub CI, e.g. Linux or Windows + GitHub CI)*.
|
||||||
|
|
||||||
7. After that push the `SHA256SUMS.ci` files and wait for GitHub CI actions to re-run those tests.
|
For this, copy the `Actual hash` value for *each* **unidentical** file into a new `SHA256SUMS.ci` file.
|
||||||
|
|
||||||
This time the tests *should* PASS because we added the new hashes which are expected to be reproduced on CI.
|
7. After that, push the `SHA256SUMS.ci` files and wait for GitHub CI actions to re-run those tests.
|
||||||
|
|
||||||
|
This time the tests *should* **PASS** because we added the new hashes which are *expected* to be reproduced on the CI.
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
> The GitHub CI is usually non-deterministic across different Python versions on which we run the tests, probably due to their internal infrastructure.
|
||||||
|
>
|
||||||
|
> Due to this, if the tests constantly fail due to hash mismatch for one or more Python versions *(e.g. Python 3.12 and Python 3.14)*, then you may add **alternate** hashes for the same system, i.e. for the GitHub CI.
|
||||||
|
>
|
||||||
|
> For example, `SHA256SUMS.ci2` and `SHA256SUMS.ci3` files.
|
||||||
|
|
||||||
|
## 2. Unit tests
|
||||||
|
|
||||||
|
The unit tests are written with Python's built-in `unittest` framework.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd tests
|
||||||
|
python -m unittest
|
||||||
|
```
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
ae1e4264ccb8a80b15301d898129bb02f6ef76f4d36e9e2ae0edbd6c06f24bbe *adapter_model.safetensors
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
0115a3d9096834154dd6299b5ba13b658c7467de173b781c219c19bc5ff666db *adapter_model.safetensors
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
a2dc0029e0de28bceb4e323a04ff7966e8a574b7b808619ec0937ce99c3a0977 *adapter_model.safetensors
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
296c61c35c6a47dc67e8efa6593c7ed0b3adf7d8ca0fe3aa55f7d201916bb90a *adapter_model.safetensors
|
||||||
|
|
@ -0,0 +1,59 @@
|
||||||
|
# This test case is for models with Hyper-Connections (multiple residual streams),
|
||||||
|
# using the ARA modifier, which handles residuals differently than Abliteration.
|
||||||
|
# After any change related to it, this test should PASS.
|
||||||
|
|
||||||
|
model = "tiny-random/deepseek-v4"
|
||||||
|
model_commit = "d20cabaa1c8a9f235e9bb50f1d5e98eeb6a530d5"
|
||||||
|
|
||||||
|
seed = 12345
|
||||||
|
print_debug_information = true
|
||||||
|
|
||||||
|
batch_size = 2
|
||||||
|
max_response_length = 10
|
||||||
|
|
||||||
|
n_trials = 2
|
||||||
|
n_startup_trials = 1
|
||||||
|
|
||||||
|
# Transformers can't yet save DeepSeek V4 after dequantizing its FP8 weights,
|
||||||
|
# so this test checks the LoRA adapter instead of the merged model.
|
||||||
|
export_strategy = "adapter"
|
||||||
|
checkpoint_action = "restart"
|
||||||
|
trial_index = 0
|
||||||
|
model_action = "save"
|
||||||
|
save_directory = "model"
|
||||||
|
|
||||||
|
[[response_prefix_test_prompts]]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
commit = "02c6a92cfcf11bb0c387334f8146d149d65b587f"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[[response_prefix_test_prompts]]
|
||||||
|
dataset = "mlabonne/harmful_behaviors"
|
||||||
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[scorer.KLDivergence.prompts]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
commit = "02c6a92cfcf11bb0c387334f8146d149d65b587f"
|
||||||
|
split = "test[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[scorer.KeywordRate.prompts]
|
||||||
|
dataset = "mlabonne/harmful_behaviors"
|
||||||
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
||||||
|
split = "test[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[modifier.ARA.good_prompts]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
commit = "02c6a92cfcf11bb0c387334f8146d149d65b587f"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[modifier.ARA.bad_prompts]
|
||||||
|
dataset = "mlabonne/harmful_behaviors"
|
||||||
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
fab6b4c5e8e86d0117451ade5ceb8fa83599b67af9bc543f6f4fd2db5ed523ba *adapter_model.safetensors
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
4b81cbbe8ed75c4d82ed60ff9c883319ca436d3d834e613cd0a46cc51f6ab05d *adapter_model.safetensors
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
cb742e4929c6883dbe586978c48560c7c28da53bce0752bdb3b1d707328c7158 *adapter_model.safetensors
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
c2c1262cba3f64f81591bf82b178cf20e1e7091473d2229042157c7c49caa7ff *adapter_model.safetensors
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
a03e314411ba09c75f1ee62da54d260ac8b68bd5ddedaa0f709c4bb975b06143 *adapter_model.safetensors
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
9de2b756fa643074ac3641d97076d39c9f89e08a24a39a546642a59d975442f5 *adapter_model.safetensors
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
# This test case is for models with Hyper-Connections (multiple residual streams).
|
||||||
|
# After any change related to it, this test should PASS.
|
||||||
|
|
||||||
|
model = "tiny-random/deepseek-v4"
|
||||||
|
model_commit = "d20cabaa1c8a9f235e9bb50f1d5e98eeb6a530d5"
|
||||||
|
|
||||||
|
seed = 12345
|
||||||
|
print_debug_information = true
|
||||||
|
|
||||||
|
batch_size = 2
|
||||||
|
max_response_length = 10
|
||||||
|
|
||||||
|
modifiers = [
|
||||||
|
{ plugin = "heretic.modifiers.abliteration.Abliteration" },
|
||||||
|
]
|
||||||
|
|
||||||
|
n_trials = 2
|
||||||
|
n_startup_trials = 1
|
||||||
|
|
||||||
|
# Transformers can't yet save DeepSeek V4 after dequantizing its FP8 weights,
|
||||||
|
# so this test checks the LoRA adapter instead of the merged model.
|
||||||
|
export_strategy = "adapter"
|
||||||
|
checkpoint_action = "restart"
|
||||||
|
trial_index = 0
|
||||||
|
model_action = "save"
|
||||||
|
save_directory = "model"
|
||||||
|
|
||||||
|
[[response_prefix_test_prompts]]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
commit = "02c6a92cfcf11bb0c387334f8146d149d65b587f"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[[response_prefix_test_prompts]]
|
||||||
|
dataset = "mlabonne/harmful_behaviors"
|
||||||
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[scorer.KLDivergence.prompts]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
commit = "02c6a92cfcf11bb0c387334f8146d149d65b587f"
|
||||||
|
split = "test[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[scorer.KeywordRate.prompts]
|
||||||
|
dataset = "mlabonne/harmful_behaviors"
|
||||||
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
||||||
|
split = "test[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[modifier.Abliteration.good_prompts]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
commit = "02c6a92cfcf11bb0c387334f8146d149d65b587f"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[modifier.Abliteration.bad_prompts]
|
||||||
|
dataset = "mlabonne/harmful_behaviors"
|
||||||
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
7a79d414471add74c6bb9fc202407c38e59e917119614d6362fdb8cb3ca1ce94 *config.json
|
||||||
|
f8f1fd0ef18d709772584f1a4d736fc8f31aafee83a001b34d333c30a606baf8 *model.safetensors
|
||||||
|
daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726 *tokenizer.json
|
||||||
|
3a194bc6c50615274af46113faa5967e2119b1093da5f305ed151af06d6a4402 *tokenizer_config.json
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
7a79d414471add74c6bb9fc202407c38e59e917119614d6362fdb8cb3ca1ce94 *config.json
|
||||||
|
2b0b38f5cc5b25e424dc944cf0b27432f736cffd59a8753f2ddd23f5434e5ab4 *model.safetensors
|
||||||
|
daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726 *tokenizer.json
|
||||||
|
3a194bc6c50615274af46113faa5967e2119b1093da5f305ed151af06d6a4402 *tokenizer_config.json
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
7a79d414471add74c6bb9fc202407c38e59e917119614d6362fdb8cb3ca1ce94 *config.json
|
||||||
|
ad8c373f6d6f3f00e646d118116fc1f34c91c5c67a10db6fe9366fd34f534df5 *model.safetensors
|
||||||
|
daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726 *tokenizer.json
|
||||||
|
3a194bc6c50615274af46113faa5967e2119b1093da5f305ed151af06d6a4402 *tokenizer_config.json
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
5595714af3f245d20831e545ee5ee41fec8f4ad5a89d9ca5abce0bf476debfa7 *config.json
|
||||||
|
333322c2521ae1cbe6405f4770d690d8f404d0ce5587308b94520f058b949762 *model.safetensors
|
||||||
|
daab2354f8a74e70d70b4d1f804939b68a8c9624dd06cb7858e52dd8970e9726 *tokenizer.json
|
||||||
|
43184dd63293fc63deba9c8aab4353b4a15e46a2e7ab691ddcf4fd16d73cf77c *tokenizer_config.json
|
||||||
|
|
@ -0,0 +1,76 @@
|
||||||
|
# This test case is for the BERTClassifier scorer plugin.
|
||||||
|
# After any change related to it, this test should PASS.
|
||||||
|
|
||||||
|
model = "tiny-random/gemma-3"
|
||||||
|
model_commit = "69a78d1ad0ad66620c43579acd1327553713e22a"
|
||||||
|
|
||||||
|
seed = 12345
|
||||||
|
print_debug_information = true
|
||||||
|
|
||||||
|
batch_size = 2
|
||||||
|
max_response_length = 10
|
||||||
|
|
||||||
|
n_trials = 2
|
||||||
|
n_startup_trials = 1
|
||||||
|
|
||||||
|
export_strategy = "merge"
|
||||||
|
checkpoint_action = "restart"
|
||||||
|
trial_index = 0
|
||||||
|
model_action = "save"
|
||||||
|
save_directory = "model"
|
||||||
|
|
||||||
|
scorers = [
|
||||||
|
{ plugin = "heretic.scorers.keyword_rate.KeywordRate", optimization = "none" },
|
||||||
|
{ plugin = "heretic.scorers.bert_classifier.BERTClassifier", optimization = "minimize" },
|
||||||
|
{ plugin = "heretic.scorers.kl_divergence.KLDivergence", optimization = "minimize" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[response_prefix_test_prompts]]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
commit = "02c6a92cfcf11bb0c387334f8146d149d65b587f"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[[response_prefix_test_prompts]]
|
||||||
|
dataset = "mlabonne/harmful_behaviors"
|
||||||
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[scorer.KLDivergence.prompts]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
commit = "02c6a92cfcf11bb0c387334f8146d149d65b587f"
|
||||||
|
split = "test[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[scorer.KeywordRate]
|
||||||
|
print_responses = true
|
||||||
|
|
||||||
|
[scorer.KeywordRate.prompts]
|
||||||
|
dataset = "mlabonne/harmful_behaviors"
|
||||||
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
||||||
|
split = "test[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[scorer.BERTClassifier]
|
||||||
|
model = "VINAY-UMRETHE/tiny-refusal-classifier"
|
||||||
|
model_commit = "f0e03ef4a27003d8b54d7366e72711fc665da9d5"
|
||||||
|
print_responses = true
|
||||||
|
|
||||||
|
[scorer.BERTClassifier.prompts]
|
||||||
|
dataset = "mlabonne/harmful_behaviors"
|
||||||
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
||||||
|
split = "test[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[modifier.ARA.good_prompts]
|
||||||
|
dataset = "mlabonne/harmless_alpaca"
|
||||||
|
commit = "02c6a92cfcf11bb0c387334f8146d149d65b587f"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
||||||
|
[modifier.ARA.bad_prompts]
|
||||||
|
dataset = "mlabonne/harmful_behaviors"
|
||||||
|
commit = "01cead01398926d81f7c52bdb790ee8cf77ebba7"
|
||||||
|
split = "train[:5]"
|
||||||
|
column = "text"
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
f8d9255777615591a7cc1a7c932f5a69e181128902295e1b81221d20d983cac7 *chat_template.jinja
|
f8d9255777615591a7cc1a7c932f5a69e181128902295e1b81221d20d983cac7 *chat_template.jinja
|
||||||
22d559dde87f1a0faf02efed3062af2b1fc8a1721a55b952cd5f5d8c356b4feb *config.json
|
22d559dde87f1a0faf02efed3062af2b1fc8a1721a55b952cd5f5d8c356b4feb *config.json
|
||||||
523e422e425e7a7ba23d85cc0faeef143dc5da37b72bfc649df5a8d83ee95beb *generation_config.json
|
523e422e425e7a7ba23d85cc0faeef143dc5da37b72bfc649df5a8d83ee95beb *generation_config.json
|
||||||
8473b458481540948b46b4001f282073f9337bb3ca9c40b589d3a77add3ecb23 *model.safetensors
|
4e8bfdb94ef69c14c6af7382fa58afba9a2318d6c34a5949ef8db69bc2f932ee *model.safetensors
|
||||||
fce342a4642cb8afc42d8d89cfa21198b64a43458ded7f6ff28d1151a08c9cda *tokenizer.json
|
fce342a4642cb8afc42d8d89cfa21198b64a43458ded7f6ff28d1151a08c9cda *tokenizer.json
|
||||||
9ba5fa877168e24823cb583c55b4c2e4df0331f30084953c7cf07de294640384 *tokenizer_config.json
|
9ba5fa877168e24823cb583c55b4c2e4df0331f30084953c7cf07de294640384 *tokenizer_config.json
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
39f03c383413f531fd302c06c7e982ad98c83f0657a8339ae25478ccb81fdcda *chat_template.jinja
|
39f03c383413f531fd302c06c7e982ad98c83f0657a8339ae25478ccb81fdcda *chat_template.jinja
|
||||||
b2cfd8a9da09efc97040f3839fe629f3925db856a44b58314301dc5e11345ec8 *config.json
|
b2cfd8a9da09efc97040f3839fe629f3925db856a44b58314301dc5e11345ec8 *config.json
|
||||||
338d303c3c3df6884030cf5be24560f6e973fc183220d14acfb9364cd0e070e4 *generation_config.json
|
338d303c3c3df6884030cf5be24560f6e973fc183220d14acfb9364cd0e070e4 *generation_config.json
|
||||||
05497f43a38427c5813105fc007ce0dd41be65470e9cb8f343443f31bab7f0fe *model.safetensors
|
4cf4d463a94f477ed446e47130cb7da6b5994f0b788e75b82b3c65a531585621 *model.safetensors
|
||||||
a05f93a41b7e42ccc18461b540fb54490c3ffa13aef79c800bbe7942e02e360f *processor_config.json
|
a05f93a41b7e42ccc18461b540fb54490c3ffa13aef79c800bbe7942e02e360f *processor_config.json
|
||||||
c3a8d92e371b92a2cd6e678e31ebc27d0235e929a51fbf290f74742b341fa96f *tokenizer.json
|
c3a8d92e371b92a2cd6e678e31ebc27d0235e929a51fbf290f74742b341fa96f *tokenizer.json
|
||||||
7b29c843c0043622d28fd4638451cbb0a609d99a0762ffbff3b92b4b2fee4d94 *tokenizer_config.json
|
7b29c843c0043622d28fd4638451cbb0a609d99a0762ffbff3b92b4b2fee4d94 *tokenizer_config.json
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
39f03c383413f531fd302c06c7e982ad98c83f0657a8339ae25478ccb81fdcda *chat_template.jinja
|
39f03c383413f531fd302c06c7e982ad98c83f0657a8339ae25478ccb81fdcda *chat_template.jinja
|
||||||
b2cfd8a9da09efc97040f3839fe629f3925db856a44b58314301dc5e11345ec8 *config.json
|
b2cfd8a9da09efc97040f3839fe629f3925db856a44b58314301dc5e11345ec8 *config.json
|
||||||
338d303c3c3df6884030cf5be24560f6e973fc183220d14acfb9364cd0e070e4 *generation_config.json
|
338d303c3c3df6884030cf5be24560f6e973fc183220d14acfb9364cd0e070e4 *generation_config.json
|
||||||
4cf4d463a94f477ed446e47130cb7da6b5994f0b788e75b82b3c65a531585621 *model.safetensors
|
05497f43a38427c5813105fc007ce0dd41be65470e9cb8f343443f31bab7f0fe *model.safetensors
|
||||||
a05f93a41b7e42ccc18461b540fb54490c3ffa13aef79c800bbe7942e02e360f *processor_config.json
|
a05f93a41b7e42ccc18461b540fb54490c3ffa13aef79c800bbe7942e02e360f *processor_config.json
|
||||||
c3a8d92e371b92a2cd6e678e31ebc27d0235e929a51fbf290f74742b341fa96f *tokenizer.json
|
c3a8d92e371b92a2cd6e678e31ebc27d0235e929a51fbf290f74742b341fa96f *tokenizer.json
|
||||||
7b29c843c0043622d28fd4638451cbb0a609d99a0762ffbff3b92b4b2fee4d94 *tokenizer_config.json
|
7b29c843c0043622d28fd4638451cbb0a609d99a0762ffbff3b92b4b2fee4d94 *tokenizer_config.json
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
72f84af4ea36b82409c35e31b584361534305ef7c0d90fce20d0dc38a7efead8 *chat_template.jinja
|
72f84af4ea36b82409c35e31b584361534305ef7c0d90fce20d0dc38a7efead8 *chat_template.jinja
|
||||||
c2b697282298f9500f1170b9237dc234dbe1cb7ca741fe56b034d64d9e38e1d2 *config.json
|
c2b697282298f9500f1170b9237dc234dbe1cb7ca741fe56b034d64d9e38e1d2 *config.json
|
||||||
d9f7f986f62f4f1f87790070237e0214865e5c227f4941f7308c838702a69934 *generation_config.json
|
d9f7f986f62f4f1f87790070237e0214865e5c227f4941f7308c838702a69934 *generation_config.json
|
||||||
8244162ecb6ce7bad7b10fe4f015889d76a09c7749dc7ac8c4d957f0864b2e82 *model.safetensors
|
1bc5d08088f30b35f829609f38a6cde565d26d33050c8d581e39e2a86a442cab *model.safetensors
|
||||||
5abd409b04043c99c3fcd52b06cc412b46fb4bd14c8ef9f79695a3be1490987b *processor_config.json
|
5abd409b04043c99c3fcd52b06cc412b46fb4bd14c8ef9f79695a3be1490987b *processor_config.json
|
||||||
c3a8d92e371b92a2cd6e678e31ebc27d0235e929a51fbf290f74742b341fa96f *tokenizer.json
|
c3a8d92e371b92a2cd6e678e31ebc27d0235e929a51fbf290f74742b341fa96f *tokenizer.json
|
||||||
60a8042e29b4b20e884e48375aa1b9ac0025547371d50e60f6d55e6a9675e868 *tokenizer_config.json
|
60a8042e29b4b20e884e48375aa1b9ac0025547371d50e60f6d55e6a9675e868 *tokenizer_config.json
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715 *chat_template.jinja
|
a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715 *chat_template.jinja
|
||||||
4b501bef0727793de90d446fcfdc7757a9f8d19efc42ceaa3d26e90db4f876d5 *config.json
|
4b501bef0727793de90d446fcfdc7757a9f8d19efc42ceaa3d26e90db4f876d5 *config.json
|
||||||
532190619b0b243e0558a846257cc62883c26df812d456f8133e7b1043c69ad8 *generation_config.json
|
532190619b0b243e0558a846257cc62883c26df812d456f8133e7b1043c69ad8 *generation_config.json
|
||||||
cfa4d5428e9b23c245fd2413ad702688cbcacd25808ecb17889e97c0976532ac *model.safetensors
|
d72dad62b90e40eb726baf0f2f1867db1b8289c183a60b75cd147e68e674d7b1 *model.safetensors
|
||||||
3814737f2d4bfdd153a82364b3850f1be5dbc6f074a55c8d5fbf4d40127c3e87 *processor_config.json
|
3814737f2d4bfdd153a82364b3850f1be5dbc6f074a55c8d5fbf4d40127c3e87 *processor_config.json
|
||||||
a5cd9732badce41de57e6efce8302930ded1c1188c5f81feb2bd6c24c4a1941f *tokenizer.json
|
a5cd9732badce41de57e6efce8302930ded1c1188c5f81feb2bd6c24c4a1941f *tokenizer.json
|
||||||
5e55dc6b9d9d28d49b6b2b80d2a2f2558a0b6e0e7b194bbca8664fc269ab3ebc *tokenizer_config.json
|
5e55dc6b9d9d28d49b6b2b80d2a2f2558a0b6e0e7b194bbca8664fc269ab3ebc *tokenizer_config.json
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715 *chat_template.jinja
|
||||||
|
4b501bef0727793de90d446fcfdc7757a9f8d19efc42ceaa3d26e90db4f876d5 *config.json
|
||||||
|
532190619b0b243e0558a846257cc62883c26df812d456f8133e7b1043c69ad8 *generation_config.json
|
||||||
|
327e02f00fccfb8dd580c1b3ca1620438dd6d8c8224b3b38b70cabf893a8539c *model.safetensors
|
||||||
|
3814737f2d4bfdd153a82364b3850f1be5dbc6f074a55c8d5fbf4d40127c3e87 *processor_config.json
|
||||||
|
a5cd9732badce41de57e6efce8302930ded1c1188c5f81feb2bd6c24c4a1941f *tokenizer.json
|
||||||
|
5e55dc6b9d9d28d49b6b2b80d2a2f2558a0b6e0e7b194bbca8664fc269ab3ebc *tokenizer_config.json
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715 *chat_template.jinja
|
a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715 *chat_template.jinja
|
||||||
4b501bef0727793de90d446fcfdc7757a9f8d19efc42ceaa3d26e90db4f876d5 *config.json
|
4b501bef0727793de90d446fcfdc7757a9f8d19efc42ceaa3d26e90db4f876d5 *config.json
|
||||||
532190619b0b243e0558a846257cc62883c26df812d456f8133e7b1043c69ad8 *generation_config.json
|
532190619b0b243e0558a846257cc62883c26df812d456f8133e7b1043c69ad8 *generation_config.json
|
||||||
4c29b8ce99c59c90eca59aa6453029bda87165efa57cabc2c668599c02afc31a *model.safetensors
|
327e02f00fccfb8dd580c1b3ca1620438dd6d8c8224b3b38b70cabf893a8539c *model.safetensors
|
||||||
3814737f2d4bfdd153a82364b3850f1be5dbc6f074a55c8d5fbf4d40127c3e87 *processor_config.json
|
3814737f2d4bfdd153a82364b3850f1be5dbc6f074a55c8d5fbf4d40127c3e87 *processor_config.json
|
||||||
a5cd9732badce41de57e6efce8302930ded1c1188c5f81feb2bd6c24c4a1941f *tokenizer.json
|
a5cd9732badce41de57e6efce8302930ded1c1188c5f81feb2bd6c24c4a1941f *tokenizer.json
|
||||||
5e55dc6b9d9d28d49b6b2b80d2a2f2558a0b6e0e7b194bbca8664fc269ab3ebc *tokenizer_config.json
|
5e55dc6b9d9d28d49b6b2b80d2a2f2558a0b6e0e7b194bbca8664fc269ab3ebc *tokenizer_config.json
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
a92e1dd97cb1cb175c9b70c0828e146bea4371c2643319b661b777e89811972e *chat_template.jinja
|
a92e1dd97cb1cb175c9b70c0828e146bea4371c2643319b661b777e89811972e *chat_template.jinja
|
||||||
356d8dbfb902b90da033c2d52057a806bfb6515769dd0a838a2f9f63f11ff50f *config.json
|
356d8dbfb902b90da033c2d52057a806bfb6515769dd0a838a2f9f63f11ff50f *config.json
|
||||||
fd06532bce09e8c8367862f70f2cb29fe6a1e282c86593ef73d9f2d72492742a *generation_config.json
|
fd06532bce09e8c8367862f70f2cb29fe6a1e282c86593ef73d9f2d72492742a *generation_config.json
|
||||||
bf3d8ecacf8c2612ad23e0902a2ba9a0b2c8f8aa96ffbc31f424a847e8721f46 *model.safetensors
|
9ac21259a4afa23b4bd60750749cf0aa397f207f7d764850837af92da46967c9 *model.safetensors
|
||||||
ef71e11b6e5ef721fab1ae1c6b7f6571c364d4f7da4de705a09c7ddbe642e4bf *processor_config.json
|
ef71e11b6e5ef721fab1ae1c6b7f6571c364d4f7da4de705a09c7ddbe642e4bf *processor_config.json
|
||||||
a5cd9732badce41de57e6efce8302930ded1c1188c5f81feb2bd6c24c4a1941f *tokenizer.json
|
a5cd9732badce41de57e6efce8302930ded1c1188c5f81feb2bd6c24c4a1941f *tokenizer.json
|
||||||
ad105045edbfa5e150367ba068a6b1d0326a35cf6f8a19b537702ddc66405f10 *tokenizer_config.json
|
ad105045edbfa5e150367ba068a6b1d0326a35cf6f8a19b537702ddc66405f10 *tokenizer_config.json
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
39a23a1a28f68acd747373fa688bea630021ec4db2bc8dec2fd3962240fb0418 *chat_template.jinja
|
39a23a1a28f68acd747373fa688bea630021ec4db2bc8dec2fd3962240fb0418 *chat_template.jinja
|
||||||
45d58c7316e9dab89e918b9ca1c141b8c7f5250d55e0f9be76f2f452903aeef8 *config.json
|
45d58c7316e9dab89e918b9ca1c141b8c7f5250d55e0f9be76f2f452903aeef8 *config.json
|
||||||
02b35dff3057b998f224a3a5599dc7737ba028e3b4181ba89ba74ba1e707a5dc *generation_config.json
|
02b35dff3057b998f224a3a5599dc7737ba028e3b4181ba89ba74ba1e707a5dc *generation_config.json
|
||||||
0eb02a08f2cb1052fd0c52f4d37942467061d8fc5e07c2133109ce0623e4629e *model.safetensors
|
56d51e4bbc2b14927176078fa51c305bfc692c4312e18b9d8971cfe6f4a77876 *model.safetensors
|
||||||
3cf3a6d9520f195638a36f0194239d817de7288710bca55f1f5753de226748f7 *tokenizer.json
|
3cf3a6d9520f195638a36f0194239d817de7288710bca55f1f5753de226748f7 *tokenizer.json
|
||||||
388b47e61cb40f2fd51a89999053686ab4c45b40b43c0329d15645f5910d069e *tokenizer_config.json
|
388b47e61cb40f2fd51a89999053686ab4c45b40b43c0329d15645f5910d069e *tokenizer_config.json
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
39a23a1a28f68acd747373fa688bea630021ec4db2bc8dec2fd3962240fb0418 *chat_template.jinja
|
39a23a1a28f68acd747373fa688bea630021ec4db2bc8dec2fd3962240fb0418 *chat_template.jinja
|
||||||
45d58c7316e9dab89e918b9ca1c141b8c7f5250d55e0f9be76f2f452903aeef8 *config.json
|
45d58c7316e9dab89e918b9ca1c141b8c7f5250d55e0f9be76f2f452903aeef8 *config.json
|
||||||
02b35dff3057b998f224a3a5599dc7737ba028e3b4181ba89ba74ba1e707a5dc *generation_config.json
|
02b35dff3057b998f224a3a5599dc7737ba028e3b4181ba89ba74ba1e707a5dc *generation_config.json
|
||||||
f19f0821b80943cf52012f3f5cea760c6bac58aeb880a24acdf70eca9c640335 *model.safetensors
|
e1bdf4a04a2dbe67e9f03c8c3769df99496946c34b58efed9a1018aab3eb28af *model.safetensors
|
||||||
3cf3a6d9520f195638a36f0194239d817de7288710bca55f1f5753de226748f7 *tokenizer.json
|
3cf3a6d9520f195638a36f0194239d817de7288710bca55f1f5753de226748f7 *tokenizer.json
|
||||||
388b47e61cb40f2fd51a89999053686ab4c45b40b43c0329d15645f5910d069e *tokenizer_config.json
|
388b47e61cb40f2fd51a89999053686ab4c45b40b43c0329d15645f5910d069e *tokenizer_config.json
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,63 @@
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
# Copyright (C) 2025-2026 Philipp Emanuel Weidmann <pew@worldwidemann.com> + contributors
|
||||||
|
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
import torch
|
||||||
|
import torch.linalg as LA
|
||||||
|
|
||||||
|
|
||||||
|
def _dense_output(good_input, W_base, bias, A, B, W_row_norms, preserve):
|
||||||
|
# Reference: build the dense effective weight, multiply, then add the bias.
|
||||||
|
W_eff = W_base + (B @ A)
|
||||||
|
if preserve:
|
||||||
|
W_eff = torch.nn.functional.normalize(W_eff, p=2, dim=1) * W_row_norms
|
||||||
|
out = good_input @ W_eff.T
|
||||||
|
return out if bias is None else out + bias
|
||||||
|
|
||||||
|
|
||||||
|
def _lowrank_output(good_input, W_base, bias, A, B, W_row_norms, preserve):
|
||||||
|
# The reformulation used by ARA.modify_model: the base product (computed once,
|
||||||
|
# independent of the adapter) plus the rank-r update, rescaled per output row,
|
||||||
|
# then the bias.
|
||||||
|
product = good_input @ W_base.T
|
||||||
|
out = product + (good_input @ A.T) @ B.T
|
||||||
|
if preserve:
|
||||||
|
eff_row_norms = LA.vector_norm(W_base + (B @ A), dim=1)
|
||||||
|
out = out * (W_row_norms.squeeze(1) / eff_row_norms)
|
||||||
|
return out if bias is None else out + bias
|
||||||
|
|
||||||
|
|
||||||
|
class LowRankEquivalenceTests(unittest.TestCase):
|
||||||
|
def _check(self, preserve: bool, with_bias: bool = False) -> None:
|
||||||
|
torch.manual_seed(0)
|
||||||
|
d_out, d_in, r, n = 128, 320, 8, 40
|
||||||
|
W_base = torch.randn(d_out, d_in, dtype=torch.float64)
|
||||||
|
A = torch.randn(r, d_in, dtype=torch.float64) * 0.01
|
||||||
|
B = torch.randn(d_out, r, dtype=torch.float64) * 0.01
|
||||||
|
good_input = torch.randn(n, d_in, dtype=torch.float64)
|
||||||
|
bias = torch.randn(d_out, dtype=torch.float64) if with_bias else None
|
||||||
|
W_row_norms = LA.vector_norm(W_base, dim=1, keepdim=True)
|
||||||
|
|
||||||
|
dense = _dense_output(good_input, W_base, bias, A, B, W_row_norms, preserve)
|
||||||
|
lowrank = _lowrank_output(good_input, W_base, bias, A, B, W_row_norms, preserve)
|
||||||
|
self.assertTrue(
|
||||||
|
torch.allclose(dense, lowrank, rtol=1e-9, atol=1e-9),
|
||||||
|
msg=f"max abs diff = {(dense - lowrank).abs().max().item():.2e}",
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_equivalent_without_row_normalization(self) -> None:
|
||||||
|
self._check(preserve=False)
|
||||||
|
|
||||||
|
def test_equivalent_with_row_normalization(self) -> None:
|
||||||
|
self._check(preserve=True)
|
||||||
|
|
||||||
|
def test_equivalent_with_bias(self) -> None:
|
||||||
|
self._check(preserve=False, with_bias=True)
|
||||||
|
|
||||||
|
def test_equivalent_with_bias_and_row_normalization(self) -> None:
|
||||||
|
self._check(preserve=True, with_bias=True)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
unittest.main()
|
||||||
|
|
@ -134,6 +134,58 @@ class ModelValidateInitOnlyTests(unittest.TestCase):
|
||||||
self.assertEqual(settings.max_memory, {"0": "20GiB"})
|
self.assertEqual(settings.max_memory, {"0": "20GiB"})
|
||||||
|
|
||||||
|
|
||||||
|
class ConfigFileSelectionTests(unittest.TestCase):
|
||||||
|
def settings(
|
||||||
|
self, config_files: dict[str, str], heretic_config: str | None = None
|
||||||
|
) -> Settings:
|
||||||
|
with tempfile.TemporaryDirectory() as directory:
|
||||||
|
for name, content in config_files.items():
|
||||||
|
Path(directory, name).write_text(content)
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
key: value
|
||||||
|
for key, value in os.environ.items()
|
||||||
|
if not key.startswith("HERETIC_")
|
||||||
|
}
|
||||||
|
if heretic_config is not None:
|
||||||
|
environment["HERETIC_CONFIG_FILE"] = heretic_config
|
||||||
|
|
||||||
|
previous_directory = os.getcwd()
|
||||||
|
os.chdir(directory)
|
||||||
|
try:
|
||||||
|
with (
|
||||||
|
patch.dict(os.environ, environment, clear=True),
|
||||||
|
patch("sys.argv", ["heretic"]),
|
||||||
|
):
|
||||||
|
return Settings(model="dummy")
|
||||||
|
finally:
|
||||||
|
os.chdir(previous_directory)
|
||||||
|
|
||||||
|
def test_environment_variable_selects_file(self) -> None:
|
||||||
|
settings = self.settings({"custom.toml": "n_trials = 42\n"}, "custom.toml")
|
||||||
|
|
||||||
|
self.assertEqual(settings.n_trials, 42)
|
||||||
|
|
||||||
|
def test_default_config_toml_still_loaded(self) -> None:
|
||||||
|
settings = self.settings({"config.toml": "n_trials = 42\n"})
|
||||||
|
|
||||||
|
self.assertEqual(settings.n_trials, 42)
|
||||||
|
|
||||||
|
def test_missing_default_config_file_is_silent(self) -> None:
|
||||||
|
settings = self.settings({})
|
||||||
|
|
||||||
|
self.assertEqual(settings.n_trials, Settings.model_fields["n_trials"].default)
|
||||||
|
|
||||||
|
def test_missing_configured_file_aborts(self) -> None:
|
||||||
|
with self.assertRaisesRegex(SystemExit, "does not exist"):
|
||||||
|
self.settings({}, "missing.toml")
|
||||||
|
|
||||||
|
def test_configured_default_file_missing_aborts(self) -> None:
|
||||||
|
# Unlike a missing implicit default, this counts as a configuration error.
|
||||||
|
with self.assertRaisesRegex(SystemExit, "does not exist"):
|
||||||
|
self.settings({}, "config.toml")
|
||||||
|
|
||||||
|
|
||||||
class SettingsUploadTagsTests(unittest.TestCase):
|
class SettingsUploadTagsTests(unittest.TestCase):
|
||||||
def test_default_upload_tags(self) -> None:
|
def test_default_upload_tags(self) -> None:
|
||||||
with patch("sys.argv", ["heretic"]):
|
with patch("sys.argv", ["heretic"]):
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import unittest
|
||||||
from typing import cast
|
from typing import cast
|
||||||
from unittest.mock import patch
|
from unittest.mock import patch
|
||||||
|
|
||||||
|
from pydantic import ValidationError
|
||||||
from rich.console import Console
|
from rich.console import Console
|
||||||
|
|
||||||
from heretic.config import Settings as HereticSettings
|
from heretic.config import Settings as HereticSettings
|
||||||
|
|
@ -23,6 +24,20 @@ class FakeContext:
|
||||||
|
|
||||||
|
|
||||||
class KeywordRateTests(unittest.TestCase):
|
class KeywordRateTests(unittest.TestCase):
|
||||||
|
def test_rejects_empty_keyword_markers(self) -> None:
|
||||||
|
for markers in [[""], [" ", "\t"]]:
|
||||||
|
with self.subTest(markers=markers):
|
||||||
|
with self.assertRaisesRegex(
|
||||||
|
ValidationError, "keyword markers cannot be empty or whitespace"
|
||||||
|
):
|
||||||
|
Settings(keyword_markers=markers)
|
||||||
|
|
||||||
|
def test_rejects_empty_keyword_marker_list(self) -> None:
|
||||||
|
with self.assertRaisesRegex(
|
||||||
|
ValidationError, "keyword marker list cannot be empty"
|
||||||
|
):
|
||||||
|
Settings(keyword_markers=[])
|
||||||
|
|
||||||
def test_print_responses_shows_brackets_literally(self) -> None:
|
def test_print_responses_shows_brackets_literally(self) -> None:
|
||||||
scorer = KeywordRate(
|
scorer = KeywordRate(
|
||||||
heretic_settings=HereticSettings.model_construct(),
|
heretic_settings=HereticSettings.model_construct(),
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,246 @@
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
# Copyright (C) 2025-2026 Philipp Emanuel Weidmann <pew@worldwidemann.com> + contributors
|
||||||
|
|
||||||
|
import json
|
||||||
|
import os
|
||||||
|
import sys
|
||||||
|
import tempfile
|
||||||
|
import unittest
|
||||||
|
from unittest.mock import patch
|
||||||
|
|
||||||
|
from pydantic import BaseModel
|
||||||
|
|
||||||
|
from heretic.config import Settings
|
||||||
|
from heretic.plugin import Plugin
|
||||||
|
from heretic.utils import generate_config_toml
|
||||||
|
|
||||||
|
|
||||||
|
class DummyNestedSettings(BaseModel):
|
||||||
|
commit: str | None = None
|
||||||
|
name: str = "default"
|
||||||
|
|
||||||
|
|
||||||
|
class DummySettings(BaseModel):
|
||||||
|
value: int = 0
|
||||||
|
optional: str | None = None
|
||||||
|
nested: DummyNestedSettings = DummyNestedSettings()
|
||||||
|
|
||||||
|
|
||||||
|
FULL_SETTINGS = {
|
||||||
|
"value": 42,
|
||||||
|
"optional": None,
|
||||||
|
"nested": {"commit": None, "name": "default"},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
class DummyPlugin(Plugin):
|
||||||
|
settings: DummySettings
|
||||||
|
|
||||||
|
|
||||||
|
class WriteSettingsToConfigTests(unittest.TestCase):
|
||||||
|
def make_settings(self) -> Settings:
|
||||||
|
# Ensure no config.toml or HERETIC_* environment variables
|
||||||
|
# from the surrounding environment leak into the test.
|
||||||
|
with tempfile.TemporaryDirectory() as directory:
|
||||||
|
environment = {
|
||||||
|
key: value
|
||||||
|
for key, value in os.environ.items()
|
||||||
|
if not key.startswith("HERETIC_")
|
||||||
|
}
|
||||||
|
previous_directory = os.getcwd()
|
||||||
|
os.chdir(directory)
|
||||||
|
try:
|
||||||
|
with (
|
||||||
|
patch.dict(os.environ, environment, clear=True),
|
||||||
|
patch.object(sys, "argv", ["heretic"]),
|
||||||
|
):
|
||||||
|
return Settings(model="dummy")
|
||||||
|
finally:
|
||||||
|
os.chdir(previous_directory)
|
||||||
|
|
||||||
|
def make_plugin(self, heretic_settings: Settings) -> DummyPlugin:
|
||||||
|
return DummyPlugin(
|
||||||
|
heretic_settings=heretic_settings,
|
||||||
|
settings=DummySettings(value=42),
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_records_effective_settings_without_config_file(self) -> None:
|
||||||
|
# Without a configuration file, model_extra starts out empty,
|
||||||
|
# and the plugin's settings must still be recorded.
|
||||||
|
heretic_settings = self.make_settings()
|
||||||
|
self.assertEqual(heretic_settings.model_extra, {})
|
||||||
|
|
||||||
|
self.make_plugin(heretic_settings).write_settings_to_config("scorer", None)
|
||||||
|
|
||||||
|
self.assertEqual(
|
||||||
|
heretic_settings.model_extra,
|
||||||
|
{"scorer": {"DummyPlugin": FULL_SETTINGS}},
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_records_instance_settings_under_instance_key(self) -> None:
|
||||||
|
heretic_settings = self.make_settings()
|
||||||
|
|
||||||
|
self.make_plugin(heretic_settings).write_settings_to_config("scorer", "small")
|
||||||
|
|
||||||
|
self.assertEqual(
|
||||||
|
heretic_settings.model_extra,
|
||||||
|
{"scorer": {"DummyPlugin_small": FULL_SETTINGS}},
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_captures_runtime_mutations(self) -> None:
|
||||||
|
# Plugins resolve settings values at runtime (e.g. pinned dataset
|
||||||
|
# commits); the recorded settings must reflect those mutations.
|
||||||
|
heretic_settings = self.make_settings()
|
||||||
|
plugin = self.make_plugin(heretic_settings)
|
||||||
|
|
||||||
|
plugin.settings.value = 7
|
||||||
|
plugin.settings.optional = "resolved"
|
||||||
|
plugin.settings.nested.commit = "abc"
|
||||||
|
|
||||||
|
plugin.write_settings_to_config("modifier", None)
|
||||||
|
|
||||||
|
self.assertEqual(
|
||||||
|
heretic_settings.model_extra,
|
||||||
|
{
|
||||||
|
"modifier": {
|
||||||
|
"DummyPlugin": {
|
||||||
|
"value": 7,
|
||||||
|
"optional": "resolved",
|
||||||
|
"nested": {"commit": "abc", "name": "default"},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_recorded_settings_survive_serialization_roundtrip(self) -> None:
|
||||||
|
heretic_settings = self.make_settings()
|
||||||
|
self.make_plugin(heretic_settings).write_settings_to_config("scorer", None)
|
||||||
|
|
||||||
|
# This is how settings are stored in study journal files and
|
||||||
|
# reproduce.json, and how they are restored when resuming
|
||||||
|
# a study or reproducing a model.
|
||||||
|
restored = Settings.model_validate_init_only(
|
||||||
|
json.loads(heretic_settings.model_dump_json()), heretic_settings
|
||||||
|
)
|
||||||
|
|
||||||
|
self.assertEqual(
|
||||||
|
restored.model_extra,
|
||||||
|
{"scorer": {"DummyPlugin": FULL_SETTINGS}},
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_recorded_settings_appear_in_generated_config_toml(self) -> None:
|
||||||
|
heretic_settings = self.make_settings()
|
||||||
|
self.make_plugin(heretic_settings).write_settings_to_config("scorer", None)
|
||||||
|
|
||||||
|
exported = generate_config_toml(heretic_settings)
|
||||||
|
|
||||||
|
# None values are omitted (TOML has no null value); they fall back
|
||||||
|
# to their defaults when the settings are validated.
|
||||||
|
self.assertIn("[scorer.DummyPlugin]", exported)
|
||||||
|
self.assertIn("value = 42", exported)
|
||||||
|
self.assertNotIn("optional", exported)
|
||||||
|
self.assertIn("[scorer.DummyPlugin.nested]", exported)
|
||||||
|
self.assertIn('name = "default"', exported)
|
||||||
|
self.assertNotIn("commit", exported)
|
||||||
|
|
||||||
|
def test_none_values_are_omitted_from_config_toml(self) -> None:
|
||||||
|
heretic_settings = self.make_settings()
|
||||||
|
plugin = self.make_plugin(heretic_settings)
|
||||||
|
plugin.settings.nested.commit = "abc"
|
||||||
|
plugin.write_settings_to_config("scorer", None)
|
||||||
|
|
||||||
|
exported = generate_config_toml(heretic_settings)
|
||||||
|
|
||||||
|
self.assertNotIn("optional", exported)
|
||||||
|
self.assertIn("[scorer.DummyPlugin.nested]", exported)
|
||||||
|
self.assertIn('commit = "abc"', exported)
|
||||||
|
self.assertIn('name = "default"', exported)
|
||||||
|
|
||||||
|
def test_recorded_settings_feed_back_into_plugin_validation(self) -> None:
|
||||||
|
# The recorded settings must be readable by the same mechanism
|
||||||
|
# that reads raw settings from the configuration file, so that
|
||||||
|
# resuming a study or reproducing a model restores them exactly.
|
||||||
|
heretic_settings = self.make_settings()
|
||||||
|
self.make_plugin(heretic_settings).write_settings_to_config("scorer", None)
|
||||||
|
|
||||||
|
raw_settings = DummyPlugin.get_settings_raw(
|
||||||
|
heretic_settings.model_extra, "scorer", None
|
||||||
|
)
|
||||||
|
validated = DummyPlugin.validate_settings(raw_settings)
|
||||||
|
|
||||||
|
self.assertEqual(validated, DummySettings(value=42))
|
||||||
|
|
||||||
|
def test_records_multiple_instances_independently(self) -> None:
|
||||||
|
heretic_settings = self.make_settings()
|
||||||
|
extra = heretic_settings.model_extra
|
||||||
|
assert extra is not None
|
||||||
|
|
||||||
|
first = self.make_plugin(heretic_settings)
|
||||||
|
second = self.make_plugin(heretic_settings)
|
||||||
|
|
||||||
|
# Different values ensure that neither instance overwrites the other.
|
||||||
|
first.settings.value = 10
|
||||||
|
second.settings.value = 20
|
||||||
|
|
||||||
|
first.write_settings_to_config("scorer", "small")
|
||||||
|
second.write_settings_to_config("scorer", "large")
|
||||||
|
|
||||||
|
self.assertEqual(
|
||||||
|
extra["scorer"],
|
||||||
|
{
|
||||||
|
"DummyPlugin_small": {**FULL_SETTINGS, "value": 10},
|
||||||
|
"DummyPlugin_large": {**FULL_SETTINGS, "value": 20},
|
||||||
|
},
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_repeated_writes_update_recorded_settings(self) -> None:
|
||||||
|
heretic_settings = self.make_settings()
|
||||||
|
extra = heretic_settings.model_extra
|
||||||
|
assert extra is not None
|
||||||
|
|
||||||
|
plugin = self.make_plugin(heretic_settings)
|
||||||
|
|
||||||
|
plugin.write_settings_to_config("scorer", None)
|
||||||
|
|
||||||
|
# Subsequent writes must capture settings mutations made at runtime.
|
||||||
|
plugin.settings.value = 123
|
||||||
|
plugin.write_settings_to_config("scorer", None)
|
||||||
|
|
||||||
|
self.assertEqual(
|
||||||
|
extra["scorer"]["DummyPlugin"]["value"],
|
||||||
|
123,
|
||||||
|
)
|
||||||
|
|
||||||
|
def test_nested_none_values_fail_toml_serialization(self) -> None:
|
||||||
|
heretic_settings = self.make_settings()
|
||||||
|
extra = heretic_settings.model_extra
|
||||||
|
assert extra is not None
|
||||||
|
|
||||||
|
# None values inside lists cannot be represented in TOML and must
|
||||||
|
# cause serialization to fail rather than be silently removed.
|
||||||
|
extra["scorer"] = {
|
||||||
|
"DummyPlugin": {
|
||||||
|
"values": [1, None, 3],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
with self.assertRaises((TypeError, ValueError)):
|
||||||
|
generate_config_toml(heretic_settings)
|
||||||
|
|
||||||
|
def test_plugins_without_settings_do_not_create_config_entries(self) -> None:
|
||||||
|
heretic_settings = self.make_settings()
|
||||||
|
|
||||||
|
plugin = DummyPluginWithoutSettings(
|
||||||
|
heretic_settings=heretic_settings,
|
||||||
|
)
|
||||||
|
plugin.write_settings_to_config("scorer", None)
|
||||||
|
|
||||||
|
self.assertEqual(heretic_settings.model_extra, {})
|
||||||
|
|
||||||
|
|
||||||
|
class DummyPluginWithoutSettings(Plugin):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
unittest.main()
|
||||||
|
|
@ -0,0 +1,60 @@
|
||||||
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
# Copyright (C) 2025-2026 Philipp Emanuel Weidmann <pew@worldwidemann.com> + contributors
|
||||||
|
|
||||||
|
import unittest
|
||||||
|
from types import SimpleNamespace
|
||||||
|
from typing import cast
|
||||||
|
|
||||||
|
import torch
|
||||||
|
from torch import FloatTensor
|
||||||
|
|
||||||
|
from heretic.model import _collapse_flattened_residual_streams
|
||||||
|
|
||||||
|
|
||||||
|
class FlattenedResidualStreamTests(unittest.TestCase):
|
||||||
|
def test_collapses_flattened_streams(self) -> None:
|
||||||
|
torch.manual_seed(0)
|
||||||
|
hidden_states = cast(
|
||||||
|
tuple[FloatTensor, ...],
|
||||||
|
(
|
||||||
|
torch.randn(2, 5, 12),
|
||||||
|
torch.randn(2, 5, 12),
|
||||||
|
torch.randn(2, 5, 4),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
config = SimpleNamespace(hidden_size=4, hc_count=3)
|
||||||
|
|
||||||
|
collapsed = _collapse_flattened_residual_streams(hidden_states, config)
|
||||||
|
|
||||||
|
self.assertEqual([h.shape[-1] for h in collapsed], [4, 4, 4])
|
||||||
|
self.assertTrue(
|
||||||
|
torch.allclose(
|
||||||
|
collapsed[0],
|
||||||
|
hidden_states[0].unflatten(-1, (3, 4)).mean(-2),
|
||||||
|
)
|
||||||
|
)
|
||||||
|
self.assertIs(collapsed[2], hidden_states[2])
|
||||||
|
|
||||||
|
def test_uses_text_config(self) -> None:
|
||||||
|
hidden_states = cast(tuple[FloatTensor, ...], (torch.randn(1, 2, 16),))
|
||||||
|
text_config = SimpleNamespace(hidden_size=4, hc_count=4)
|
||||||
|
|
||||||
|
class Config:
|
||||||
|
def get_text_config(self) -> SimpleNamespace:
|
||||||
|
return text_config
|
||||||
|
|
||||||
|
collapsed = _collapse_flattened_residual_streams(hidden_states, Config())
|
||||||
|
|
||||||
|
self.assertEqual(collapsed[0].shape, (1, 2, 4))
|
||||||
|
|
||||||
|
def test_leaves_single_stream_models_unchanged(self) -> None:
|
||||||
|
hidden_states = cast(tuple[FloatTensor, ...], (torch.randn(1, 2, 4),))
|
||||||
|
config = SimpleNamespace(hidden_size=4, hc_count=1)
|
||||||
|
|
||||||
|
collapsed = _collapse_flattened_residual_streams(hidden_states, config)
|
||||||
|
|
||||||
|
self.assertIs(collapsed, hidden_states)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
unittest.main()
|
||||||
447
uv.lock
447
uv.lock
|
|
@ -1,14 +1,14 @@
|
||||||
version = 1
|
version = 1
|
||||||
revision = 3
|
revision = 5
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
resolution-markers = [
|
resolution-markers = [
|
||||||
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
|
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
||||||
"python_full_version == '3.11.*' and sys_platform == 'win32'",
|
"python_full_version == '3.11.*' and sys_platform == 'win32'",
|
||||||
"python_full_version == '3.11.*' and sys_platform == 'emscripten'",
|
"python_full_version == '3.11.*' and sys_platform == 'emscripten'",
|
||||||
|
|
@ -18,6 +18,10 @@ resolution-markers = [
|
||||||
"python_full_version < '3.11' and sys_platform == 'darwin'",
|
"python_full_version < '3.11' and sys_platform == 'darwin'",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[options]
|
||||||
|
exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values.
|
||||||
|
exclude-newer-span = "P7D"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "absl-py"
|
name = "absl-py"
|
||||||
version = "2.5.0"
|
version = "2.5.0"
|
||||||
|
|
@ -59,7 +63,7 @@ wheels = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "aiohttp"
|
name = "aiohttp"
|
||||||
version = "3.14.3"
|
version = "3.14.4"
|
||||||
source = { registry = "https://pypi.org/simple" }
|
source = { registry = "https://pypi.org/simple" }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "aiohappyeyeballs" },
|
{ name = "aiohappyeyeballs" },
|
||||||
|
|
@ -72,126 +76,168 @@ dependencies = [
|
||||||
{ name = "typing-extensions", marker = "python_full_version < '3.13'" },
|
{ name = "typing-extensions", marker = "python_full_version < '3.13'" },
|
||||||
{ name = "yarl" },
|
{ name = "yarl" },
|
||||||
]
|
]
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/58/d9/22ce5786ac0c1653ae8b6c23bded02c1686d11f0dbb45b31ce128e0df985/aiohttp-3.14.3.tar.gz", hash = "sha256:9491196535a88924a60afd5b5f434b5b203b6cc616250878dbdb223a8f7844bc", size = 7971213, upload-time = "2026-07-23T01:57:27.037Z" }
|
sdist = { url = "https://files.pythonhosted.org/packages/93/2f/6a91adaa2dc26877d6ed2f54c0370c8910f019db7d77c5c6a194611e93ea/aiohttp-3.14.4.tar.gz", hash = "sha256:831fc5bd39ec2517851e348f613ddb5447a47cf4b71cb09845af7ad7ed45d8f9", size = 8077839, upload-time = "2026-10-05T17:43:48.309Z" }
|
||||||
wheels = [
|
wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/2d/4d/4a99fb425c5e0cad715eea7bd190aff46f38b959a0a2dadb993705d34b26/aiohttp-3.14.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:eb0495d778817619273c108784292be161a924b9f5ae5cbbc70a2caa6838250b", size = 765848, upload-time = "2026-07-23T01:52:08.217Z" },
|
{ url = "https://files.pythonhosted.org/packages/b3/08/290e4be6e3ed239751c446505c324406a4ae8a82a15009a12a3c550f18d9/aiohttp-3.14.4-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:dea3b3653c1d0d6babd8ce09cb9e5a7776864315d9cfb1c569f926389874a261", size = 834853, upload-time = "2026-10-05T17:37:45.079Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/74/e8/43b85dc55b8e950dc644babe762add781319ea881b57b33d2cce12017d12/aiohttp-3.14.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c3c200cf9757edd785051dc699c7ecbec22110dbfcb3fefc7a9f9695eda8ea7a", size = 517476, upload-time = "2026-07-23T01:52:10.846Z" },
|
{ url = "https://files.pythonhosted.org/packages/81/81/ed5e04508ba1fcf9a34e0449c78009956e8256f62ebef708e2948594cf94/aiohttp-3.14.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:3099a389e5b5900fc79c6f613015ff3f8fa06a519744e6001cc68a31ba418cac", size = 560957, upload-time = "2026-10-05T17:37:47.497Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/7f/9e/73b582c4dbbc3c12ef4473822475effaabf1f934b56f14f5b03fe5d3a2af/aiohttp-3.14.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd51ebf9d3a00c074df4ede271023f4d2dba289bcc740b88191872716014e3c5", size = 515334, upload-time = "2026-07-23T01:52:12.636Z" },
|
{ url = "https://files.pythonhosted.org/packages/90/28/1a91411c53704db0481cc64b0f0c9465aa9d738856abdcaa3a5bbbe18180/aiohttp-3.14.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:70247156fc76e92919f9aacb820556cb30289a54784299a31714d030bb604d84", size = 553475, upload-time = "2026-10-05T17:37:49.099Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/79/03/e98c3c9e05a5bdf97defe5ff9169baba4f0ec9a901f2d60e0f060c2f051e/aiohttp-3.14.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:134ac5ddcf61c6fad984b9a5727d83492ada43d63471db20fb73042c13fca62f", size = 1708830, upload-time = "2026-07-23T01:52:14.538Z" },
|
{ url = "https://files.pythonhosted.org/packages/cf/2e/1038f3fa8832f9f4bed0f9f751f70dbc52bc4a09c66788f97bbfb0ce3d88/aiohttp-3.14.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fdf2d2a6ad402797422949f4a200a60d43e3a021695c8a7804aa1d5bbef22652", size = 1845211, upload-time = "2026-10-05T17:37:50.728Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/d7/2c/26e60b694844dfd2176c57f913a22d0cd6a16f9ff202cbda7580d0328b98/aiohttp-3.14.3-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:70c987b27534f9ae1a723f47ae921571d616da21d3208282bf4c52af5164ac43", size = 1674012, upload-time = "2026-07-23T01:52:16.486Z" },
|
{ url = "https://files.pythonhosted.org/packages/ea/54/e2253f17604c5c1c69a05e3c12400b51cd6a5fb32d7175592114d8c7a470/aiohttp-3.14.4-cp310-cp310-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:ba835fad8d4b5eaea0d34f9461cf499737a720a5f8bc6768d2f6d98a1d3ba8b5", size = 1814629, upload-time = "2026-10-05T17:37:52.481Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/38/65/672df92e3172cd876aacfa97a952ac560877eb169384b2991ac5b273de4c/aiohttp-3.14.3-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1b59533861b70a2185c8f4f350f791f39d64358ef6944ce71c5240c9ec0982c9", size = 1767015, upload-time = "2026-07-23T01:52:18.28Z" },
|
{ url = "https://files.pythonhosted.org/packages/f1/ef/7bd1e45db925376720555d7268c2d642b113105263d37a522e41e1ba3a6c/aiohttp-3.14.4-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0d4415ca5c9c8b24bc2f5733f870d4eab4929e680203559ba60131dd1a27852a", size = 1898528, upload-time = "2026-10-05T17:37:54.078Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/9e/c5/228dec7bfec1c373cc2217cdeb47d6456dcd7a13a4c55144930a75ae3851/aiohttp-3.14.3-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1c5281acc88b92396f88c7e1e2748f8466689df22b80170e4f51efa712fb47a8", size = 1858700, upload-time = "2026-07-23T01:52:20.08Z" },
|
{ url = "https://files.pythonhosted.org/packages/5d/40/26d09668e7e0cadc16027566765aa4ce26e8a41276bad6764848c8b04d11/aiohttp-3.14.4-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f6757e02c2c2b0d7985f57be87cf4a7c5b35708f849e1feaea3f77656ddb9dff", size = 2024385, upload-time = "2026-10-05T17:37:55.626Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/bd/ff/cb36724e8c8d17f90ada567a9ff3efe1d6e9b549fba697a242aece180f21/aiohttp-3.14.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:48d67b87db6279c044760787eb01f6413032c2e6f3ba1cafaa492b1c8e578479", size = 1714075, upload-time = "2026-07-23T01:52:22.071Z" },
|
{ url = "https://files.pythonhosted.org/packages/73/38/0f1c4aab1cc9518e1bf874e2481e59e541b3e32330b9542e52bb2712f86f/aiohttp-3.14.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2a950bd8418ef54eccf5f9f517f08e37c1adab4bc50a470a0422ee1cc1032e29", size = 1859130, upload-time = "2026-10-05T17:37:57.342Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/9f/3a/296a4135c6366376263aeef54b15caca1f07676c2ae0c525d7832f2f808a/aiohttp-3.14.3-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f53bcd52f585e1ac3e590d61434eb61f9a88c38df041b4ea126d97144344a77b", size = 1588234, upload-time = "2026-07-23T01:52:23.757Z" },
|
{ url = "https://files.pythonhosted.org/packages/5f/98/09d5998ba4b5fe9f0cb97d794fab9d1b3d8245c5ec6a5fb84e41a8cec142/aiohttp-3.14.4-cp310-cp310-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:34cf6f2fe4fc1d7183e8cc0d8c48bbdda828a740bc372d8278126149714d343c", size = 1714768, upload-time = "2026-10-05T17:37:58.831Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/7d/81/9d5d853ef892dc066d1eb6db0e87a47348b920c1c879aa554612fdbd9d79/aiohttp-3.14.3-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:0fdea2281997af69da84c77ffa6f5938a0285f21fb3887c249d67419ca865b3d", size = 1677300, upload-time = "2026-07-23T01:52:25.861Z" },
|
{ url = "https://files.pythonhosted.org/packages/c2/63/39d01a74d525d6443084d47ad4aa8c719f44a030149d03566f3761527465/aiohttp-3.14.4-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:bc0fbe4f79c3b156d754dd062718ffe404c3b31ca878d9d2b88ecdbc72ef8369", size = 1813228, upload-time = "2026-10-05T17:38:00.611Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/68/96/021d386ae32d9b26d4b88df2e794546232ff56bb6be952bf6be227c0bbc7/aiohttp-3.14.3-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:cda5fd5c95ad7a125a2e8464acc78b98b94c475a3780d6aa0aa157c93f470f4d", size = 1691501, upload-time = "2026-07-23T01:52:28Z" },
|
{ url = "https://files.pythonhosted.org/packages/39/6b/183d7b969bdb7892e86af74147b4afedbb4e03b8cad5006e41aa2034c288/aiohttp-3.14.4-cp310-cp310-musllinux_1_2_armv7l.whl", hash = "sha256:d3d50a5a07a2b31a4369b86dd4a3acf3c2577c45091dbd5e884b198dec56480b", size = 1831844, upload-time = "2026-10-05T17:38:02.272Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/29/9f/af66adce26a14af135c003cbd0f44ccaa68cebd30ff8ac99ca47fb4958f7/aiohttp-3.14.3-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:6debfa7312ff9d4c124dc71d72e9a0a4b9e0879e48ba6fcb42bef5c3300289e2", size = 1735113, upload-time = "2026-07-23T01:52:29.995Z" },
|
{ url = "https://files.pythonhosted.org/packages/2c/be/4c6df02b62083efd3f008974cf9016a4afd2023f5a9d2c3fd55499fcbac6/aiohttp-3.14.4-cp310-cp310-musllinux_1_2_ppc64le.whl", hash = "sha256:de15c46a63f46da881d219e44a04778c40114c756e5575b5ea38143b20eb3713", size = 1868738, upload-time = "2026-10-05T17:38:03.831Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/2f/90/28c390d4c9851effe52ac25b5a2e1d92246acd00728b4fc7975dafb67484/aiohttp-3.14.3-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:f4e05329faa0ea1a404b37de4f034fd2c2defcca06a68dc6745e4e56c88e8a48", size = 1577486, upload-time = "2026-07-23T01:52:31.937Z" },
|
{ url = "https://files.pythonhosted.org/packages/86/21/406be8b0cf1105a35a6a6da16a95796be39b354e29bfca0d1626d822835f/aiohttp-3.14.4-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:caa4c0fc9b25e8c679baac68337e9c00deb6baf6601fe6f07e8511469cc1ceba", size = 1700006, upload-time = "2026-10-05T17:38:05.631Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/db/c2/00e23a1bf2abb70dd353f6987db7e7f2491d0261f7363997738c71c98f95/aiohttp-3.14.3-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:a3a8296e7ab5c295f53f1041487cb088e1480775aafbf7fe545d93b770a0f96f", size = 1751353, upload-time = "2026-07-23T01:52:33.688Z" },
|
{ url = "https://files.pythonhosted.org/packages/4e/e6/beac98020ea0885ea1ee3b2ef59ec952405590fe2ccef2fa4ef7614c3c2b/aiohttp-3.14.4-cp310-cp310-musllinux_1_2_s390x.whl", hash = "sha256:3647f8c090632c70abb1e80826e4ee24faea3f895f0283b60e91a0b17aea5e34", size = 1889997, upload-time = "2026-10-05T17:38:07.578Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/6e/7d/d51a706a8cbfa57f0611127daf61ab3ae02ab8420b0407412079227d1c65/aiohttp-3.14.3-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:5373dc80ad1aa2fb9ad95c83f24eef418bbda3a61375f128e5b0192e4f3f9b32", size = 1698681, upload-time = "2026-07-23T01:52:38.167Z" },
|
{ url = "https://files.pythonhosted.org/packages/c4/89/d608dd9571988a529c7fead5bc79ad36b56fd52bad7941f40774acbc87e9/aiohttp-3.14.4-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:3f3e8030169843fb652a60a3d32c206e03f260198aa398985a48b41cd7e42f0a", size = 1844619, upload-time = "2026-10-05T17:38:10.003Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/ec/b0/90bd5cd9fdd9787cb4211d284d1fb8401339a933cb0227a15b71e789232f/aiohttp-3.14.3-cp310-cp310-win32.whl", hash = "sha256:a3e22975f905b89a55a488c2a08f2fdb2186175349e917d48985cc468a3d4c6e", size = 456733, upload-time = "2026-07-23T01:52:41.823Z" },
|
{ url = "https://files.pythonhosted.org/packages/7e/7d/7f51e6338d2c74b75173ee66fcb50d778d5407c32f34e76ef1c4b25d0d75/aiohttp-3.14.4-cp310-cp310-win32.whl", hash = "sha256:a1205cbdddfca1428129bb6d23e0b292b09e681df951fa828145d83a63ffc0ca", size = 489598, upload-time = "2026-10-05T17:38:11.795Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/d8/15/fe5b8f6a71ae112bc677163d0b0701bda5dc15005249582258ede0eb88c7/aiohttp-3.14.3-cp310-cp310-win_amd64.whl", hash = "sha256:bdd0e2834dce1a26c1bbe26464861e16bbe217042cbff619247c11594472518c", size = 480460, upload-time = "2026-07-23T01:52:43.905Z" },
|
{ url = "https://files.pythonhosted.org/packages/33/2a/3434e450a4395fc07f3070d6ac24553f0b170b173e949216b1723395028c/aiohttp-3.14.4-cp310-cp310-win_amd64.whl", hash = "sha256:e90980e0454a043f81b435309a089ac5deab883779557eb58d004f33990f61e4", size = 512204, upload-time = "2026-10-05T17:38:13.309Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/54/00/45e98b6645cd7f00a4b78b749ebd309094b0eaeb2d2e96157eadbc0d0050/aiohttp-3.14.3-cp310-cp310-win_arm64.whl", hash = "sha256:eac645b09bcfdf73df7536331f0678c1086ea250981118ddb5199e17ccef72bb", size = 453479, upload-time = "2026-07-23T01:52:46.075Z" },
|
{ url = "https://files.pythonhosted.org/packages/53/c0/1d89303cf1bea5418268c1cb82b872661bad027e5fd785c2d30d0a31ee6f/aiohttp-3.14.4-cp310-cp310-win_arm64.whl", hash = "sha256:e63eecf9a4b670a24055d5c0486128af16f83b02d9817abd685d3238940f8752", size = 492725, upload-time = "2026-10-05T17:38:14.825Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/f8/5c/b3e4ff8ad43a8afef9602c5e90285936da1beaea8b029016b793891f03c3/aiohttp-3.14.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:e568e14940c09955aa51f4e645b6daa18a581c5dcfcd73744dcc86a856e3ced3", size = 764250, upload-time = "2026-07-23T01:52:48.525Z" },
|
{ url = "https://files.pythonhosted.org/packages/81/e3/998dc75634ecd2a24f33bab480b57313059d55bcadff8825a46b7c80a8af/aiohttp-3.14.4-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:eb0093ca0817019d539f0d27bdf98e823944e05bb7efd9d2337a45b92e4d1b06", size = 832892, upload-time = "2026-10-05T17:38:16.373Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/0e/da/f1b384465e51449d844056b75070461da03a9a23e6c1747003695bf4172a/aiohttp-3.14.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:54cfcdee2770dac994417cbb0ee1f3eb0e7cb6b30c79bf44f2c02ff79ec5124a", size = 516281, upload-time = "2026-07-23T01:52:51.047Z" },
|
{ url = "https://files.pythonhosted.org/packages/58/c9/9bacc26397854440d169f70ae00ea51721f504611d3a64cf043643792c32/aiohttp-3.14.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f482dc9c8309801b4259dd218609d3dae0a7bcdedeac56d90500eabaa0c23465", size = 559893, upload-time = "2026-10-05T17:38:18.74Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/b9/3f/01264f820ee2e3712a827892b1cd6ff80f3300c1fcbffbb45714a915d47a/aiohttp-3.14.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:21c016079415ed3fd676963e9793700a566d85dbbd6bfc564b9b2d209147dcc8", size = 514742, upload-time = "2026-07-23T01:52:53.779Z" },
|
{ url = "https://files.pythonhosted.org/packages/fa/f3/90c5856014328a8b1e9a753de794edea282182b776ff65f0602ad4ffa520/aiohttp-3.14.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:aa800bb7c1d00e166493931f2ddacb982db913292503dc2f4884db1f2bc5f105", size = 552850, upload-time = "2026-10-05T17:38:20.385Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/9e/8d/a71c6f2db52ac1ed142b133f7feddaa6b70539c3f4de24d7e226c95b794c/aiohttp-3.14.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d6088ec9894113802bddb3c09e974929aed2c7b3a8c456219b8aab4481f1a239", size = 1780613, upload-time = "2026-07-23T01:52:56.948Z" },
|
{ url = "https://files.pythonhosted.org/packages/9b/88/e71c29ce6daa78fcee0feb1992f0fdc408f09f42c3311b1f1c68c36f16ea/aiohttp-3.14.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d90e4dae71b26597f6d1fd12af7d092ae67551edf0e524b73e0687214b79ee33", size = 1928941, upload-time = "2026-10-05T17:38:22.218Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/a5/11/3dd9b3fb3a170f6ec9011b5291d876a6fab4086714c9e158600edf01b4fd/aiohttp-3.14.3-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:16ea7e24c309fb7c0bbd505d149abe4fe4dccfb8db911db7dbec0921bc889a6f", size = 1737688, upload-time = "2026-07-23T01:52:59.294Z" },
|
{ url = "https://files.pythonhosted.org/packages/3a/4f/f0f3bebfa521a2ce5fd4302c937701cbc50cd6d908beaa597388639b0b98/aiohttp-3.14.4-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:5b681054b8c3b86aa6a0384b6ad7f5cb78dccbabab1f4a3a6793f98ad1378959", size = 1882092, upload-time = "2026-10-05T17:38:24.016Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/6d/3e/834c26918be7d88068822b40e0db30fca50b5f4fe79104aa16a93f1d74e6/aiohttp-3.14.3-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:56f355e79f71aef2a85c80305cc915f894b170dba76de5fe84f6351939b83c06", size = 1845742, upload-time = "2026-07-23T01:53:01.641Z" },
|
{ url = "https://files.pythonhosted.org/packages/b5/0d/5df041fd25dceb4f4cafbbee49bb2c1e2d54a91aedecaf03b77cbb404c44/aiohttp-3.14.4-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6dfe80b41bcf8d80d2125fb99a171adeb86db2fcb35c1a68e0226acba0ba7f03", size = 1986051, upload-time = "2026-10-05T17:38:26.022Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/cc/c9/49ab8572df7d66bc13d11e31f781292badb04180dd87ba98733066c6aed7/aiohttp-3.14.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:18c441d0a8fca6de8d1f546849b9f0ab20d435993e2c5b59562b2fae6be2f929", size = 1928412, upload-time = "2026-07-23T01:53:04.018Z" },
|
{ url = "https://files.pythonhosted.org/packages/1a/07/e95eddafffef7c3a74446f67ac4e477a49cec2c78f2ab6c86d1acfd90d2d/aiohttp-3.14.4-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:71e4a59c6a8c5a6ae8b0b696c32635913e8f526cc01448762eaf5a3c59df8a4f", size = 2107840, upload-time = "2026-10-05T17:38:28.112Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/a5/b9/2b8f0c0ce09c87a1daf80fd483431b56b1435d3f62789bc86f572e1245de/aiohttp-3.14.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:53e7b4ce82b54a8bcc71b3b67a5cbd177ca1d7f592cbc92cd38b7349f73482db", size = 1786220, upload-time = "2026-07-23T01:53:06.481Z" },
|
{ url = "https://files.pythonhosted.org/packages/da/6c/1f83990fea249dcb10f48086726953546efc9199c96b6be7114532ac361f/aiohttp-3.14.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f887c3b7fb3058fc1ccd917f52078540c18d938d12018cb9edd64b6811d20c57", size = 1930721, upload-time = "2026-10-05T17:38:30.046Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/85/00/9c45f81de11710460edfa1dc81317b6e882703b160926c879a9d20da9fcc/aiohttp-3.14.3-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f55119f7bf25f49ed210f6096090715da24f2943c62102448915fde3c62877ce", size = 1637231, upload-time = "2026-07-23T01:53:10.258Z" },
|
{ url = "https://files.pythonhosted.org/packages/6f/d1/48184a186ea26df4f81dd466144dcab7f9cdd1e131bfee0f0e41278c6f0d/aiohttp-3.14.4-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0da4525e9ba145a11617d2cd7e44fe1acaf471f9c72a0cad28e72879c1020fbb", size = 1774508, upload-time = "2026-10-05T17:38:31.8Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/19/ce/967d628e910756f3539c6107cb7844a1b69440dcb3029a5ee7871b09ab63/aiohttp-3.14.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:9aa6e61fdf20105c4144e755bd586008ff450791d67b1c8146fdc15959c4d51c", size = 1753161, upload-time = "2026-07-23T01:53:13.817Z" },
|
{ url = "https://files.pythonhosted.org/packages/0f/ef/a9ec758c6d3850453838c31b56d1e4499eb47c80883753a12dcb203f9afa/aiohttp-3.14.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:f7e8d3c5caa44fdbee3eba1aa1417aa58c74c95d4089fe3c451911117fcbb2f3", size = 1902311, upload-time = "2026-10-05T17:38:33.791Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/11/b2/0c3d4114f0aee4f580f5b3b4eb71b24d7a23b834ea506a4dfebe76513f35/aiohttp-3.14.3-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:ccd4893707b3e2a13e39c90d43cf80edf2e4d0457935bcc103bf2346214c3f15", size = 1756356, upload-time = "2026-07-23T01:53:16.211Z" },
|
{ url = "https://files.pythonhosted.org/packages/d6/49/9a2be54900f2dea6e63bbf9628fced604686a2e301130ccde0b1aa2e7e53/aiohttp-3.14.4-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:09092cf906c18c824b6b16881da5a89cc9cfa9b15344e496bcf880e9045bee33", size = 1912107, upload-time = "2026-10-05T17:38:35.614Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/63/5d/99e7d91c82f1399d1ae2a854e080bd1493fbc31e5e959dbc4ec33dac3bec/aiohttp-3.14.3-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:b2466434105a4e03113c36ec775cc2ebe6676b62eae326fa670bb607ef788c1c", size = 1819846, upload-time = "2026-07-23T01:53:18.289Z" },
|
{ url = "https://files.pythonhosted.org/packages/a2/2b/151254abfc0fe5cbb8e6c41ad04d52122db0af176fb31dbf3bc44e081bda/aiohttp-3.14.4-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:dfd144837e92264878bba6d3a7ffa8206668b21e87748740afd45d193e48c87e", size = 1960207, upload-time = "2026-10-05T17:38:37.322Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/ad/05/d5e1cb6480eeffd3f901d40a2c5e2d1e7effdc797837da3b490272699f13/aiohttp-3.14.3-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:ba59d59aba08ac02fc03b0c8983ccd5ee39a199d0552ce9e6d2b4845b34d59ae", size = 1628531, upload-time = "2026-07-23T01:53:23.86Z" },
|
{ url = "https://files.pythonhosted.org/packages/23/99/92c8dce336ac5784755a3144623528516f2e3b6b4871d02cad5a0642ae66/aiohttp-3.14.4-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:9413cffe4e0d654b9b524f9c99dde8cbdb37e0ed9a2c4edd2e63adbac6b374e8", size = 1760168, upload-time = "2026-10-05T17:38:39.214Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/c9/90/b934682bcaefae18a9e04f3dff5b68522ba810906358ae5029b68110ea3b/aiohttp-3.14.3-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:ed099d105449c4f9e84f24af203cd131349d4761d8813fa7e02c32e7128cd910", size = 1832712, upload-time = "2026-07-23T01:53:27.551Z" },
|
{ url = "https://files.pythonhosted.org/packages/66/3e/f05fd8d1a9595730db8d522882eea76429b9be2ed5337609f7c6e3d9d49c/aiohttp-3.14.4-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:f50d719f97ba488dfb8e306cf8c8cc172ff0683ec0af53917b288229aa555ba5", size = 1979946, upload-time = "2026-10-05T17:38:40.927Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/21/df/6061679faaf81fac746e7307c7adb71e858071a5d34c27583afefc64f543/aiohttp-3.14.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:152516815ef926786a0b6ae2b8f1fd2e0c71582dee0b435636865316fd4891b7", size = 1775014, upload-time = "2026-07-23T01:53:30.223Z" },
|
{ url = "https://files.pythonhosted.org/packages/b9/14/8941aa73ffceabc2a0eb26878b4f1b2958fb7b5358f97cc49b1c00ed9258/aiohttp-3.14.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:68ed4824d96b7afec1f3a8d7fba190fe282718041c5772e20298003e1e3e5d66", size = 1923375, upload-time = "2026-10-05T17:38:43.184Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/8a/1d/f854878bbc69b88faefe924b619a34a6f59ec05fd387c77690667eaa75eb/aiohttp-3.14.3-cp311-cp311-win32.whl", hash = "sha256:a4af35c443e0b1a1bd6a8af3f3485d7fda15c142751a00f3ff8090f0b93346fa", size = 456006, upload-time = "2026-07-23T01:53:34.97Z" },
|
{ url = "https://files.pythonhosted.org/packages/18/b5/ef275b63c8bfe0a21e7e8d3ef0e67c4745ed403f1894fe5205057cedd3b9/aiohttp-3.14.4-cp311-cp311-win32.whl", hash = "sha256:d7a41d1427136828e6b11d3f3fd194d4357d5205a5b610be7ae07b1ba52ab974", size = 488414, upload-time = "2026-10-05T17:38:44.978Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/73/0c/2af9d1674baccd1dbd47282a93d660a22e57ef6167c856deb24b4214fbab/aiohttp-3.14.3-cp311-cp311-win_amd64.whl", hash = "sha256:e1e74298bab6ee0d6e749ed4fd1901c7e604bdda32c03d787a2cc71c46d0433d", size = 481069, upload-time = "2026-07-23T01:53:39.673Z" },
|
{ url = "https://files.pythonhosted.org/packages/e7/0b/21bdd70a1e072222d9dbd96bed4fbed26f7c46c5a20af11b78d32fd049d6/aiohttp-3.14.4-cp311-cp311-win_amd64.whl", hash = "sha256:2efbdb87e79d596325c4eefaef0f4495d701145e882351310ebc538e854dc7a3", size = 512755, upload-time = "2026-10-05T17:38:47.036Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/8e/76/88401ff3fc95e85c5fc38d588f36f55e61ecb64343b2bc8d69326f453cc0/aiohttp-3.14.3-cp311-cp311-win_arm64.whl", hash = "sha256:03cd2bde3d7f085b64e549c985f4bb928cad7e8ecf5323bfca320db548d81b39", size = 453021, upload-time = "2026-07-23T01:53:43.749Z" },
|
{ url = "https://files.pythonhosted.org/packages/b7/4c/bb324a7d20a9598187bb028ca8d6bcf66c63589c8632420919dd576964ed/aiohttp-3.14.4-cp311-cp311-win_arm64.whl", hash = "sha256:ac6e6f90d9360e460c873f945f11dc8698db0a71fec6612823f1aaaab2c11faa", size = 492960, upload-time = "2026-10-05T17:38:49.006Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/18/d4/eb96299230e20acf2efae207cb8d69051f1f68e357e5ea5e479bf6fb097a/aiohttp-3.14.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:39aded8c7f3b935b54aab1d8d73c70ec0ee2d3ec3b943e0e86611bc150ba47f5", size = 754690, upload-time = "2026-07-23T01:53:47.332Z" },
|
{ url = "https://files.pythonhosted.org/packages/22/02/db5935d45347fa8ede56b777930740fb0e72bbb4473ddb6ff8541f6f2afa/aiohttp-3.14.4-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:55b0b335982b0db7117dff7f6a8e3aad43c4105f9e392ca04f9fc8d958a95cce", size = 817689, upload-time = "2026-10-05T17:38:50.69Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/88/11/e7a70a209eb9a067c0d3212b518a0134e3484f5178c7533878b6b514d469/aiohttp-3.14.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:5bcb6ff3fdab1258a192679ff1a05d44f59626430aa05cd1a9d2447423599228", size = 509484, upload-time = "2026-07-23T01:53:51.159Z" },
|
{ url = "https://files.pythonhosted.org/packages/e6/56/f00aa46127e6342f019d567853eeeb932e04fb9b9424b5fb981ad68f4178/aiohttp-3.14.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2d0d8e435582b0d53009dac99e26a3d2be932ed7c9dbfcfc70f3fce1cf943bd5", size = 549599, upload-time = "2026-10-05T17:38:52.525Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/30/07/4bbc222cc8dbe31d4c3e8a5baad2286e4d42026ac0c570027b89afce6344/aiohttp-3.14.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:617105e2c3018ee38d0c8ce5ee3c84f621a6d8b9f723202aacaff28449ca91ee", size = 511949, upload-time = "2026-07-23T01:53:55.083Z" },
|
{ url = "https://files.pythonhosted.org/packages/3f/bc/825c09b09962253a2103e4a88c04374ee939c0c8ea31c270daa0308efb07/aiohttp-3.14.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:bf734016932d68e1324cfb638cac7a0866a83933a33badf15e836a7e24efb8c0", size = 548132, upload-time = "2026-10-05T17:38:54.629Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/54/b9/42e74c46b7b7c794b995bbc1f573fb48950c38b19d8600c62a6804ee2d67/aiohttp-3.14.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f631fe87a6f30df5fbe6d79640b25e4cffb38c31c7fb6f10871517b84b0f8c1a", size = 1765282, upload-time = "2026-07-23T01:53:59.662Z" },
|
{ url = "https://files.pythonhosted.org/packages/40/80/8a1bc8036540fe7cb38219cc5c0aa67d32e9068165725e8199ea8200b08b/aiohttp-3.14.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:322e3d741b3133bcbb981a41d4f9b8ac3545c18de49c662c2b1f4e1c770b98ad", size = 1898485, upload-time = "2026-10-05T17:38:56.439Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/6b/ed/62bc4d74363ad346d518e0720363a949f63e2e23439a79eb5813d4d29bb3/aiohttp-3.14.3-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a94dbaae5ae27bd849c93570669bff91e0510f33a80805738e3de72a7be0447b", size = 1741511, upload-time = "2026-07-23T01:54:04.063Z" },
|
{ url = "https://files.pythonhosted.org/packages/3c/fe/65b464d8520ace0d65b4ca69bc9abe175f842c8ce8d1522d363d9669903f/aiohttp-3.14.4-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:15a3bb5f90a4e515071f3617a45dfe26560beb834a6b6e108cdf4bc9e9719ec3", size = 1875334, upload-time = "2026-10-05T17:38:58.536Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/d0/9f/181e8a8bc79e47d13c7fc4540bd7a3b729d9505609c61f392a8dd2fbfe55/aiohttp-3.14.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8f2f1c4c032c7cedd7d8da6f54c97b70266c6570c3108d3fdffee7188bb70529", size = 1810680, upload-time = "2026-07-23T01:54:09.882Z" },
|
{ url = "https://files.pythonhosted.org/packages/be/51/9c583be502720e927560a8414f4dfb7c7de41945e1a30ccf7003b93c6f85/aiohttp-3.14.4-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6c044e52df1a466af82cad3518c92ea80cc4ddcfea86966ff083bb34bab29bf4", size = 1937772, upload-time = "2026-10-05T17:39:00.376Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/5c/9a/dec94d6ad694552fe3424e3f1928d7a606a5d9d9433a04e7ecdd9d38ae7f/aiohttp-3.14.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ea05e1f97ceea523942d9b2a7d7c0359d781d683d6b043f5943a602b14da4787", size = 1905646, upload-time = "2026-07-23T01:54:13.475Z" },
|
{ url = "https://files.pythonhosted.org/packages/a2/3d/b56512df7ea9cbb5f59099a6b375088dd578356a5a3fb27198ab82e19832/aiohttp-3.14.4-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d613d7d51bf06fe9a5e3aab86ce06d835bb0ceb1a31ea9e8766df4a403ae62a6", size = 2066220, upload-time = "2026-10-05T17:39:02.54Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/52/b7/7cd31f29d6055bd711ae6e669367fba6f5ae9de463910a793e30556a8db7/aiohttp-3.14.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:543906c127fb1d929b95076db19b83fa2d46751006ff1e23b093aa5ac4d8db42", size = 1792122, upload-time = "2026-07-23T01:54:15.752Z" },
|
{ url = "https://files.pythonhosted.org/packages/11/6c/a7a42701d9ea319140a3d44a24ec72a00b0b46d1b899b26d8a705e65bdd8/aiohttp-3.14.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c5e93ab6e6330dce40f5b43996f1fc5f2543296d263a5e4b59ff09e73870b7d8", size = 1922895, upload-time = "2026-10-05T17:39:04.638Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/66/73/10b1ef93afa61f4963c746257b70ced619cf31a4798671de5fdb2608501d/aiohttp-3.14.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0a5ff2dfbb9ce645fa5b8ef3e02c6c0b9cc3f6030ff863d0c51fffc50cb5541b", size = 1591127, upload-time = "2026-07-23T01:54:19.489Z" },
|
{ url = "https://files.pythonhosted.org/packages/77/04/f8337bd824ca3fe3968d34dc5037ace1c4872551c4621f8266239311d301/aiohttp-3.14.4-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:20134dc8e68c67e7478124d516449428684c0545b2d3faa575691c8bcbd56678", size = 1712589, upload-time = "2026-10-05T17:39:06.671Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/49/ed/3b203fa6de1b338c14acdc06bf6ca9b043b7944f005966958c2ced932cde/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:041badb8f84396357c4d3ad26de6afd7a32b112f43d3c63045c0c8278cfd2043", size = 1725210, upload-time = "2026-07-23T01:54:24.129Z" },
|
{ url = "https://files.pythonhosted.org/packages/fe/a6/d20e2c940b592d7c4a21690889dbff64fe0ca3facd9190696368694e1488/aiohttp-3.14.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f0daef5ef012369dddc391c61f604111424aa9a96313a69fb899018b09d1b01e", size = 1862251, upload-time = "2026-10-05T17:39:08.523Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/28/b7/1c2aab8c706436dcc28598452488ac9cd7c409da815237c28c27d58993e6/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:530125ee1163c4219af35dc3aa1206e541e7b31b6efc1a3f93b70a136f65d427", size = 1764848, upload-time = "2026-07-23T01:54:27.973Z" },
|
{ url = "https://files.pythonhosted.org/packages/f5/e4/d50edd5ae5d024b380a8e892e333840bb22967a9eb9c8492108a403f678a/aiohttp-3.14.4-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:19290a108de0718b73bc69b86e788975c6a59855c671ebe2a98a07a6f968328f", size = 1895155, upload-time = "2026-10-05T17:39:10.305Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/54/50/94c28f08b131c4bf10984ea2c7a536c9920608bb2d6e7f95642c30cc87b7/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:c8653fd547c93a61aadc612007790f5555cdd18946fa48cf45e26d8ea4ea473d", size = 1777102, upload-time = "2026-07-23T01:54:31.775Z" },
|
{ url = "https://files.pythonhosted.org/packages/c3/d3/f36f2931f807ccf8437ec15e8f8bfaa4748d4792639401cc767a866abaa0/aiohttp-3.14.4-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1494877625baeffab669f4a25a09ec4eea721b49e35363081a2a8e4231fe141f", size = 1906623, upload-time = "2026-10-05T17:39:12.411Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/13/d4/e7d09ba7d345fb2d74440fd2fa033c5e079fac05552927705986f41a364f/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:89176250f686cb9853c0fb7ead90e639e915b84a6f43eedc2a4e7ec21f1037f0", size = 1580205, upload-time = "2026-07-23T01:54:34.518Z" },
|
{ url = "https://files.pythonhosted.org/packages/5d/0a/94821b711493142bf5e11c27b0d7502776778f7792c77ecc6647357d20c1/aiohttp-3.14.4-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:a779ce4bf099ce4ad2cdfed62f1ca536d435f53237c54ff40172fddada24d1b5", size = 1698932, upload-time = "2026-10-05T17:39:14.446Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/a3/84/072a91d68e1e1eb587985b54baab94221277f877e8ef274fc213a0ceae28/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:3a26434dafe408229ff3403458ca58de24fb51936504decac49ce6755f77e59d", size = 1797219, upload-time = "2026-07-23T01:54:36.995Z" },
|
{ url = "https://files.pythonhosted.org/packages/d9/76/3d5a0d28362f0053c1c457024749911932481e8fd105fddf8305b1f93c81/aiohttp-3.14.4-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:0b4cec9fca876e2d4f4c6cb32b177390132d04618867689f43fefabf3f5c3980", size = 1934528, upload-time = "2026-10-05T17:39:16.354Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/e0/eb/aad34e897e668424d6e995da5dff8a4a09af93363d3392488772957a63aa/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d1558173930a5a8d3069cee5c92fc91c87c4dbcb099debbb3622053717145a19", size = 1768629, upload-time = "2026-07-23T01:54:40.103Z" },
|
{ url = "https://files.pythonhosted.org/packages/a7/51/9784a21dc05d2e0f6acaf864f16db53dab0fbd7b0753cef168601eacb012/aiohttp-3.14.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:217707313e23aedde9bea67cf8365c7b138b549ae179121ef3f476cf67e3173a", size = 1901984, upload-time = "2026-10-05T17:39:18.299Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/b6/2b/6bb88ddba0fecd9122aa3ebcad25996cf6c083a4a7040dbb3a4f97972af6/aiohttp-3.14.3-cp312-cp312-win32.whl", hash = "sha256:16100ad3ab8d649fdfbee87602d9d2dcdca9df0b9eda8a1b5fdc0d41f96da559", size = 451481, upload-time = "2026-07-23T01:54:42.547Z" },
|
{ url = "https://files.pythonhosted.org/packages/44/4f/f98c88703e6d620243aa08473a946ca4e3756b6288690e38f0d9f9c1d007/aiohttp-3.14.4-cp312-cp312-win32.whl", hash = "sha256:18a9fb9a3f6e6e63f4d27f9adeef313a2d3c69a84d31170a844623824e722534", size = 480278, upload-time = "2026-10-05T17:39:20.206Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/76/9b/f2f8f108da17ecef2cc3efc424e8b7ad3782b1a8360f7b8eae8ced84f6ea/aiohttp-3.14.3-cp312-cp312-win_amd64.whl", hash = "sha256:33a2d7c28d33797a2e99923dffa63f83d908a19b6bf26cfe80fa790aa5e1a75a", size = 476845, upload-time = "2026-07-23T01:54:44.853Z" },
|
{ url = "https://files.pythonhosted.org/packages/b7/bc/8555013f84b53e4fdde423131b641af50e822c6d7d9118b24c52b31f6900/aiohttp-3.14.4-cp312-cp312-win_amd64.whl", hash = "sha256:69dcb02d33dfe415d5ee342cc63b7d320efcaf4b761701c7bd7bfb91c715481a", size = 506317, upload-time = "2026-10-05T17:39:22.706Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/3e/44/28dac80a8941b604f4da10ce21097614ca1bf905ce93dca28d8d7de9c1e7/aiohttp-3.14.3-cp312-cp312-win_arm64.whl", hash = "sha256:362a3fd481769cac1a824514bcd86fda51c65e8fe6e051099e008fddde6db17c", size = 448050, upload-time = "2026-07-23T01:54:47.087Z" },
|
{ url = "https://files.pythonhosted.org/packages/21/3f/ca5bad7bfdaa7ddca053a044a1c7c0d4f3ad9d1f12f96dcab10bfb9c50e7/aiohttp-3.14.4-cp312-cp312-win_arm64.whl", hash = "sha256:d36b0263e7c2fbf1750b9f35d4e7e48b0442d8c45e4a89e3e74168821fb014bb", size = 487683, upload-time = "2026-10-05T17:39:24.482Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/57/be/5afd201cc0ab139029aadb75392efe85a293403d9dd3a3226161c21ce00c/aiohttp-3.14.3-cp313-cp313-android_21_arm64_v8a.whl", hash = "sha256:2e9878ae68e4a5f1c0abe4dd497dbc3d51946f5837b56759e2a02e78fa90ef86", size = 506269, upload-time = "2026-07-23T01:54:49.075Z" },
|
{ url = "https://files.pythonhosted.org/packages/23/ec/7fee140da700ec3f5aa5e0fd2319f67be5e86de197e2384d27e5e6209e0e/aiohttp-3.14.4-cp313-cp313-android_24_arm64_v8a.whl", hash = "sha256:264b5a7568306590c44ae4a0237ad1715e35d447ea44ebf324e4c8fd9f78f67a", size = 539114, upload-time = "2026-10-05T17:39:26.322Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/22/09/dec8189d62b45ade009f6792a2264b942a90cb88aeaf181239933cd72c3c/aiohttp-3.14.3-cp313-cp313-android_21_x86_64.whl", hash = "sha256:f3d2669fe7dec7fc359ecdb5984b29b50d85d5d00f8c1cb61de4f4a24ee42627", size = 515166, upload-time = "2026-07-23T01:54:51.894Z" },
|
{ url = "https://files.pythonhosted.org/packages/4e/04/930c01ce9e186e787046433d7dc5b45b188885f8406c14b58435b4431974/aiohttp-3.14.4-cp313-cp313-android_24_x86_64.whl", hash = "sha256:17e5d7c7775d8dd8e894c7ef6ebfa26509de36868a9a6c7c4fcfaf6a1bf43d60", size = 553514, upload-time = "2026-10-05T17:39:28.104Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/28/24/2854869d29ed8a8b19d74f9ec6629515f7e04d02dd329d9d179201e58e47/aiohttp-3.14.3-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:cc7cb243a68167172f48c1fd43cee91ec4b1d40cefd190edd43369d1a6bc9c82", size = 486263, upload-time = "2026-07-23T01:54:54.223Z" },
|
{ url = "https://files.pythonhosted.org/packages/2c/d7/983e3cea81c07e95f35d34da4d1e182b5c05489c49b7560b198a83f0da79/aiohttp-3.14.4-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:e91dc8fe9cbd052d16f7f1267e285cf8bbac4d2194bd5741f05ef201c77ed09e", size = 521381, upload-time = "2026-10-05T17:39:30.419Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/d4/dd/57187c8be2a35aea65eaee3bd2c3dcbbcf0204f5106c89637e3610380cd1/aiohttp-3.14.3-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:78253b573e6ffab5028924fc98bc281aae05445969982a10864bc360dea2016c", size = 492299, upload-time = "2026-07-23T01:54:56.236Z" },
|
{ url = "https://files.pythonhosted.org/packages/0e/2d/80baed11659093883f51245755105557d3253e45bd0b693d70df0059d68b/aiohttp-3.14.4-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:8df6157d31703972aec9e3b93963f039ff06318301e30b007c3e941ff8a7ac42", size = 528347, upload-time = "2026-10-05T17:39:32.344Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/b9/11/06ae6ed8f0d414edf4068861e233d8fe23ee699bfd4b3ceb8663db948a62/aiohttp-3.14.3-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:7041d52c3a7fa20c9e8c182b534704abb19502c8bdcbde7ab23bfda6f642394f", size = 502235, upload-time = "2026-07-23T01:54:58.377Z" },
|
{ url = "https://files.pythonhosted.org/packages/c8/18/bfda255c311096c08dab26dc65f3d219f090df37dc5f5f6345f8c3aefc1f/aiohttp-3.14.4-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:220912b351549dc736c59d104dc443fa615753102bb778a4e98f86e4d94bff6a", size = 539914, upload-time = "2026-10-05T17:39:34.265Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/7e/a3/559639c34a345d2cf7c52dff6838119f2eaf29eb508227b5b83f573af813/aiohttp-3.14.3-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ac74facc01463f138b0da5580329cfcc82818dea5656e83ddcd11268fc12ff80", size = 750883, upload-time = "2026-07-23T01:55:00.65Z" },
|
{ url = "https://files.pythonhosted.org/packages/51/fc/3b6ca6117c0c42481d719411fff7b5d3970ebd906543d3dc1ba40fe2462f/aiohttp-3.14.4-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:2efa42b39bb3f524d5eca3760639b584afdd1143a6b047fda29910ffb75e4993", size = 813997, upload-time = "2026-10-05T17:39:36.061Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/91/cd/41e131f13afd1e7b0172a9d9eda085ef90eb8439f41f0d279db81ed3ae60/aiohttp-3.14.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:d6218d92e450824e9b4881f44e8c09f1853b490f9a64130801024a4793b1b3b0", size = 508473, upload-time = "2026-07-23T01:55:02.945Z" },
|
{ url = "https://files.pythonhosted.org/packages/b5/f6/86e3e02a9712aadc1ae0a1076bb2d1adf3d9addfe5542a28190c8f9b6d9b/aiohttp-3.14.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:7e7356059c8262d2c1fd95242e2b7b70fbc6eee3135bf470049cbec3e968b5b0", size = 548058, upload-time = "2026-10-05T17:39:38.109Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/bc/6b/e7f13410d391c6e55b4c007a8de024355389d7d459e3d64c42b2d33617e5/aiohttp-3.14.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:11fb37ef075669eee52ab1928fbf6e1741fada40409fa309ebde9607a962aebf", size = 509190, upload-time = "2026-07-23T01:55:05.173Z" },
|
{ url = "https://files.pythonhosted.org/packages/85/7e/6b9c2e271419d40ca76589613b3c7ab185fd3050a407bd2565b6aa46f695/aiohttp-3.14.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:fac247d0cc956d732df1211ac2d8a9999ec8dc1a92a90401de9d52e4ead546f7", size = 545933, upload-time = "2026-10-05T17:39:40.193Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/97/21/6464573e53d69672cc1eada3e5c5cb2d2efa82701e8305a0f2047a576967/aiohttp-3.14.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:55bdcc472aafe2de4a253045cc128007a64f1e0264fb675791e132ea5edaa3bd", size = 1761478, upload-time = "2026-07-23T01:55:07.383Z" },
|
{ url = "https://files.pythonhosted.org/packages/14/fc/33d6e24a5f8ac32423230088c415e2a1c6efee23d902b62f20506631e40b/aiohttp-3.14.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6e2eb0f8b03b4f2bd154ed8cf7c1a119a1ad04808c258bf58f90138c83b8c6d5", size = 1888265, upload-time = "2026-10-05T17:39:42.182Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/1a/81/d217043a4c17fbce360905e3b2bdd20139ebc9a2de836d035d179c4da006/aiohttp-3.14.3-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c39846c3aad97a8530c89d7a3869a8f8e9e3762c6ac0504481e5c80948f7e807", size = 1735092, upload-time = "2026-07-23T01:55:09.803Z" },
|
{ url = "https://files.pythonhosted.org/packages/8d/e8/2eca1d468d83a514621d1280f9992d08649191db2028c9236b4edfa7c723/aiohttp-3.14.4-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7fbe827d27e0e369fd7bb88ceeaa5b46ea006e73e015b9dd77e3723a53162293", size = 1872300, upload-time = "2026-10-05T17:39:44.195Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/a1/66/e13a02d0eeb1a9a502402a977abb4e4abff9fe4051c26f80558c57a7c975/aiohttp-3.14.3-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5895ef58c4620afe02fa16044f023dc4dafec08158f9d08874a46a7dbc0341b8", size = 1800546, upload-time = "2026-07-23T01:55:12.012Z" },
|
{ url = "https://files.pythonhosted.org/packages/d6/f6/5872983de71b0214acdfb86822f5cca295b39be4832ec589fa224aee0f6c/aiohttp-3.14.4-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a70387146d03af9f047c629b71aa27d9594b3b31ec4c9c91e1a73d0d8bf38e0e", size = 1926213, upload-time = "2026-10-05T17:39:46.199Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/26/5e/57d42fca1d18cb5acc1cad945d017fabc5d6ae71d8a08ad66be8dc3ee544/aiohttp-3.14.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fa9467a8113aa69d3d7c55a70ef0b7c636010a40993f3df9d9d0d73b3eb7ef24", size = 1895250, upload-time = "2026-07-23T01:55:14.357Z" },
|
{ url = "https://files.pythonhosted.org/packages/ee/65/ebfefa11a546c33c717af63c67868408ecf0b33b23a9d75669af95485407/aiohttp-3.14.4-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0d0934926fc65744e2fdd44ce68b2d79d5ee608a1e23f0596b35dd696519bb7c", size = 2056609, upload-time = "2026-10-05T17:39:48.221Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/ca/1c/7da8d08e74d56f00070822f9638ff3f1c563f8ad87d1efa996c87bfc8644/aiohttp-3.14.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d7d2deec16eeedf55f2c7cf75b521ea3856a5177e123844f8fd0f114ce252cb5", size = 1789289, upload-time = "2026-07-23T01:55:16.668Z" },
|
{ url = "https://files.pythonhosted.org/packages/69/c0/70667e82ec041f4122a17afce711bbcf94a71bec5888b69a49aed8817be2/aiohttp-3.14.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ff4b366510c733974adb7a4102c094e4a6308e6f369315a4cf14d2d0a619cf82", size = 1914740, upload-time = "2026-10-05T17:39:50.304Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/cd/0f/cf16bcf56896981c1a0319f5d5db9337994b5165730c48a8fa07e9b34be6/aiohttp-3.14.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:dd54d0e8717de95939766febac482ac0474d8ac3b048115f9f2b1d23a16e7db4", size = 1586706, upload-time = "2026-07-23T01:55:18.913Z" },
|
{ url = "https://files.pythonhosted.org/packages/bf/86/559e9dfea676206b20737d7ccb5b3716bff5e58d2a8d53682e5301724cd1/aiohttp-3.14.4-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:85fac7c99e0ac3dcbd6ae1c33774e0603bfc732ddb967a6fce4a731103c1888e", size = 1703390, upload-time = "2026-10-05T17:39:52.385Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/fe/6f/76eac12a7f2480e1e304f842efdb07db33256b0d9165b866b6ef0806c202/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:df82f3787c940c94986b34222d59c9e38843fba85139f36e85255a82ad5355a9", size = 1724652, upload-time = "2026-07-23T01:55:21.296Z" },
|
{ url = "https://files.pythonhosted.org/packages/fc/91/c98897d4cf23e120b2f3980042835cb34c86bbe3c653f3eaacf4bf986349/aiohttp-3.14.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ef1e9c3b4a2300023a5dc865889ce532cfaf6798ba4ef78fbbefe738a9d23efa", size = 1852642, upload-time = "2026-10-05T17:39:54.391Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/39/b6/19c8c592baeeb94b75f966547d40c02ac7590902306ec5863d5c027cf506/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:42a67efc36300d052fb4508a53e8b6901b9284b599ae63945c377569c5fcc1e1", size = 1756239, upload-time = "2026-07-23T01:55:23.705Z" },
|
{ url = "https://files.pythonhosted.org/packages/14/13/0258f352cb2c236f358a5b57d138e15fa2566e17accc0758d968dbf2ceb6/aiohttp-3.14.4-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:97e65916588be0f952b3307aaa8460c0771fa98dbea2dd27dabc9f5d84d53c3b", size = 1890616, upload-time = "2026-10-05T17:39:56.466Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/dc/c9/4e9383150296f97f873b680c4de8fb2cd88608fb9f48c79edcb111611abc/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:7a75aa63cbf9b21cfaf60dc2657e19df2c2867d91707d653fee171ffeedd1371", size = 1769161, upload-time = "2026-07-23T01:55:26.082Z" },
|
{ url = "https://files.pythonhosted.org/packages/64/3c/f43e294ce1a06d1234a97bd862c1aa31acfa1a0eea3786c22fd0dc1ea731/aiohttp-3.14.4-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:840775cb39a9424f9edf142133a1192263ac5bd79117ad2a16602cef6a0c1e9d", size = 1896638, upload-time = "2026-10-05T17:39:58.585Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/aa/1e/147bdc6cc5de5f3ab011be8bf5d6e786633249f22c20bae06f85e45f5387/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:e92eb8acc45eb6a9f4935071a77edf5b85cc6f8dfad5cd99e97653c26593cdde", size = 1578759, upload-time = "2026-07-23T01:55:28.846Z" },
|
{ url = "https://files.pythonhosted.org/packages/9f/f7/ce1e3a85b73d05037d729d3d32da7d6959b9e433435e9abd46c2fb38410f/aiohttp-3.14.4-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:54f9256430ca040d58affbd551513de13a5cff7d065204fc52b9a1b0af09a049", size = 1693003, upload-time = "2026-10-05T17:40:00.698Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/fd/31/78388a9d6040ece2e11df62ea229a822cf5e52d238374b220ae9975b2623/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:b014a6ed7cf912e787149fdc529166d3ceabac23f26efeea3158c9aba2354e7e", size = 1792025, upload-time = "2026-07-23T01:55:31.457Z" },
|
{ url = "https://files.pythonhosted.org/packages/1d/72/45eb900d6a9ee046728f5589f3d07f5d78f049b5fb84f48881fa4174d5df/aiohttp-3.14.4-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:6112d5931bf12c776188cab81b82bbb17d86e2e1381f2ade6edc43e6b240f0cb", size = 1927730, upload-time = "2026-10-05T17:40:02.943Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/03/51/a3d29fdf2c25d796746af8ad6fe56a45d6256c38b0a8a2ed752e1160b3a2/aiohttp-3.14.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:3d4f72af88ac2474bb5bca640030320e3d38a0163a1d7533500e87be458eef71", size = 1768477, upload-time = "2026-07-23T01:55:33.87Z" },
|
{ url = "https://files.pythonhosted.org/packages/b2/43/a83ff79dc8375953a1f00b808a21c82590f4e68304fecccdcc42a25fb7d8/aiohttp-3.14.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:facc6df39047c4732cbd885bb62e40df20885fcd709fc399e11f81b45ce0fff9", size = 1891177, upload-time = "2026-10-05T17:40:04.989Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/29/a6/442e18b5afeade534d877a2dc3c3e392aff8d49787890b0cf84790410267/aiohttp-3.14.3-cp313-cp313-win32.whl", hash = "sha256:5f08ec777f35ee70720233b8b9811d3bb5d728137f30ac91b7457709c3261ac0", size = 451069, upload-time = "2026-07-23T01:55:36.121Z" },
|
{ url = "https://files.pythonhosted.org/packages/5c/ba/fbdc41608d4e2fb6084d960a41b392fa82beb5b126c2466de549b5c67fc8/aiohttp-3.14.4-cp313-cp313-win32.whl", hash = "sha256:7968634fa3a967a2bc0b9aeba1d5a1955501dcd7d0de44b96f7ebfb662797735", size = 479943, upload-time = "2026-10-05T17:40:07.402Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/9d/69/3d876ac02659f271cf7f6769f14a8e3de5b6e888ed8b5a7e998086a4cec8/aiohttp-3.14.3-cp313-cp313-win_amd64.whl", hash = "sha256:dff9461ec275f22135650d5ba4b4931a11f3958df7dfbb8db630000d4dee0883", size = 476518, upload-time = "2026-07-23T01:55:38.303Z" },
|
{ url = "https://files.pythonhosted.org/packages/35/51/d75629750e705832fd5cd52516a82943ed58b6e09c30e14830f5d87452fa/aiohttp-3.14.4-cp313-cp313-win_amd64.whl", hash = "sha256:c0a894b0265d139cd4c2c8bd4643822cc289a4a5331e21e810881bd000ffb2dc", size = 506209, upload-time = "2026-10-05T17:40:09.49Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/b2/0e/50d6e6471cd31edce8b282bdec59375a3a69124d8a989a0b1313355cae52/aiohttp-3.14.3-cp313-cp313-win_arm64.whl", hash = "sha256:ddcac3c6b382e81f1dd0499199d4136b877beb4cb5ef770bbbfba56c4b8f55d2", size = 447676, upload-time = "2026-07-23T01:55:40.451Z" },
|
{ url = "https://files.pythonhosted.org/packages/02/64/66452d2ffcc13e5e5ee4ba4a968656fa4a98c29ed5ff0205d4fde02b2943/aiohttp-3.14.4-cp313-cp313-win_arm64.whl", hash = "sha256:da16c3037178e72589d91de59536d271dffc92c2be2b47c38a45538cba54fd29", size = 487163, upload-time = "2026-10-05T17:40:11.526Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/c8/20/887fdcf832326571b370ffc347b3e70abe101096f3720126aac161b1d872/aiohttp-3.14.3-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:49f7325beb0f85ef4aef5f48f490269575f83e6e2acad00a1d80b807eb027062", size = 509067, upload-time = "2026-07-23T01:55:42.618Z" },
|
{ url = "https://files.pythonhosted.org/packages/d2/fd/b653b1f969e2e949fe4726af7a8043e8ef117f202bed7757ac8564e077a1/aiohttp-3.14.4-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:749bfc43bb1df71bbe6ed215044d5412d786698fc5771d2037436ca49622f3c9", size = 540738, upload-time = "2026-10-05T17:40:14.109Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/ad/a3/92cec936f78cc4bf0fa5554ebe593b73459d94e3c62303e1902a4cccb6f7/aiohttp-3.14.3-cp314-cp314-android_24_x86_64.whl", hash = "sha256:e3be98a7c30b8c25d573dafba7171d66dfb05ee6a9070fc46535464ff97700a6", size = 514774, upload-time = "2026-07-23T01:55:44.937Z" },
|
{ url = "https://files.pythonhosted.org/packages/90/b5/eea49a0bb697deffac5165d707ec53a24748d6720b3af77a544107b49573/aiohttp-3.14.4-cp314-cp314-android_24_x86_64.whl", hash = "sha256:c113e4b489d711f606ca278cd8dc89179746244ea841aa0638b1b134600afad0", size = 554494, upload-time = "2026-10-05T17:40:16.231Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/29/ba/2a0c38df3fc557620b6a5acd98364af050053b6285b4dc7ee74100c63c18/aiohttp-3.14.3-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:614c61d478b83953e261d02bb2df750f17227cd33ef8002945bf5aebbde21919", size = 488134, upload-time = "2026-07-23T01:55:47.135Z" },
|
{ url = "https://files.pythonhosted.org/packages/11/ea/cf8f4efbbfa8572d9965cd43b3c6c84c581aa006772e5ce3ab4020027e9b/aiohttp-3.14.4-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:50969522bc7022026a2c7968e67da5c789f6b716b988edac55dc630390efd5df", size = 522653, upload-time = "2026-10-05T17:40:18.879Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/48/d6/d51b7d4bf309af3693940d8ffd2b9ed0b682434ef85959b7c9c137f60cf8/aiohttp-3.14.3-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:1caa7b0d05f3e3a36f87788c59e970a7ee1cefcfcbb924a9f138c4a6551c9cb7", size = 494201, upload-time = "2026-07-23T01:55:49.451Z" },
|
{ url = "https://files.pythonhosted.org/packages/a3/24/9f6721f0b52323789cb1041ffc3afa729462d9925607e733a065b6fc5e17/aiohttp-3.14.4-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:cbf92cd7a1c800cee244558dd5630abb45c1c1093ef7b0d546a99f526ff7a9eb", size = 529697, upload-time = "2026-10-05T17:40:21.296Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/3f/5a/8f624384e5f1efabb5229b94157eb966b021e97bdb188c62860c2ae243c2/aiohttp-3.14.3-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:dfa68deb2a443bdaa3ea5297b0699c1464f08aef3812b486d1348eee61b07dc0", size = 502766, upload-time = "2026-07-23T01:55:51.656Z" },
|
{ url = "https://files.pythonhosted.org/packages/9c/a4/399debc3c2ca0ab88a08e3082b4c4f62d0f66978af60243c63f2345ef337/aiohttp-3.14.4-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:fc76be08ff407fba717a769aff04ca1b4bf9ecfdcb5caadef84a563fdbbd146d", size = 540526, upload-time = "2026-10-05T17:40:23.548Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/a6/26/4ff0164370deec18fb19254ee4ab10b7a73304ac0c860b13f5f84663759b/aiohttp-3.14.3-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:e72ee89e28d907a18f46959b4eb0bb06701cc7f8cf4366e00029e2ccfaaf5924", size = 756557, upload-time = "2026-07-23T01:55:53.964Z" },
|
{ url = "https://files.pythonhosted.org/packages/a2/97/90379813b18b795bccdeb3a5a85e9b93ac2c69f9c2a5d0faba59da3ad6d1/aiohttp-3.14.4-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:9b416f995b68a921069e6ec61fa07f2ac3ff033d92e97a69f673af89f5bb954d", size = 818866, upload-time = "2026-10-05T17:40:25.842Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/97/a3/7056b86dc0d9ec709ea9777eae3b0161428f943372f8b98c01c11593b682/aiohttp-3.14.3-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:ad4c8b7488d745d2ca4838ebd8ae5ba9b56341d30b1da43640e4ce87f9f49646", size = 510168, upload-time = "2026-07-23T01:55:56.22Z" },
|
{ url = "https://files.pythonhosted.org/packages/78/70/824fd0dac819652f1df895b3f621a75bf0a3050c30e38d8d2316e34ab821/aiohttp-3.14.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:2c9585101cfca10e74a07cc0ef2bdc6d90616e6750926b20456f429d0608f740", size = 549666, upload-time = "2026-10-05T17:40:28.523Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/85/ed/0357a015892fd68058bf2d39d3fd1958e459b997a7db30aaa6aaa434ae96/aiohttp-3.14.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:db332af25642007330fca8be5c4d194caf2bea7a7fc84415aff3497af5dfee6b", size = 512957, upload-time = "2026-07-23T01:55:58.437Z" },
|
{ url = "https://files.pythonhosted.org/packages/8c/45/eafb2dd200dd2b770ed25a2dc5731c4ba5d58ab3fa8e2e82494bb946808e/aiohttp-3.14.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:3c4dcf611b095e7983421f49d01ffbed7ed574891533d606ea115fc23e7c4e90", size = 548961, upload-time = "2026-10-05T17:40:30.613Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/47/d1/8aba53f15ccb2238405f5e9d30e2a8ca44f93878c26e7165ade00d374b1c/aiohttp-3.14.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:25bd2708db6bdf6a6630dd37bdcdfcb47c4434d22ac69c64665b802910140b30", size = 1750149, upload-time = "2026-07-23T01:56:00.856Z" },
|
{ url = "https://files.pythonhosted.org/packages/a7/bc/6c733a1c71300293471ac7ef1dffd12b5b4dc9a43c53461224b2b8a7f667/aiohttp-3.14.4-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f8f61a9b5fa56c58e3441f9dc64137f786232d40fb89127190d0e0f84e1e5865", size = 1883165, upload-time = "2026-10-05T17:40:33.062Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/49/bd/40c3fee327529284375c6701cbb0fa4600cc2e8432af1378f897e2ef7d3a/aiohttp-3.14.3-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:cef89a58e628c4efcac3275c2d68083f82426dcdc89c1492a6f654f9f7ea6ab9", size = 1707685, upload-time = "2026-07-23T01:56:03.371Z" },
|
{ url = "https://files.pythonhosted.org/packages/37/34/885ddbd351679a31141b25e0d1a5e4f67738806e564c858b399709b61239/aiohttp-3.14.4-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:d43e538dfc85b705fd832620d050970ef5613b3869a7169b44a554b9dab9eee9", size = 1844119, upload-time = "2026-10-05T17:40:35.266Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/2a/a3/ca0cc6724cca8114b05694abd916060758c79894c3aa5b012cdadc1bc28e/aiohttp-3.14.3-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c23ec8ee9d5ab2f5421f9c7fffce208435607af27fd46d4a44e031954352838f", size = 1803911, upload-time = "2026-07-23T01:56:05.817Z" },
|
{ url = "https://files.pythonhosted.org/packages/cc/ef/0a64dac53c11d569851efb3e7eddb43551df72b2c172ebb34cccc93bcd3f/aiohttp-3.14.4-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4135c4bb4b7682a7633fadc7170ea969d843f83aa7224e70111a20675105c985", size = 1930222, upload-time = "2026-10-05T17:40:37.527Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/95/b5/85b099c299c3ffd38ad9b3e43694c8a346934e4a30c88c4fd5a841234f77/aiohttp-3.14.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:e2667f0bbe7eb6c74eae5e9691441ad186e5845ca3cff63230fc09c4e7514f5d", size = 1876929, upload-time = "2026-07-23T01:56:08.413Z" },
|
{ url = "https://files.pythonhosted.org/packages/69/5f/774792ed8f973e0d234fcb06b0f0bc9f29e9a0a0dd847f6418c2904be7d9/aiohttp-3.14.4-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:9055324f156a94fdf6dc9a825ae60f9a2947b88f591ea81ee80826633de62ae7", size = 2038842, upload-time = "2026-10-05T17:40:39.815Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/d5/b7/1da684a04175473fa4cddbf9a2f572e79514c3fd27a74597f43057d4f3da/aiohttp-3.14.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:18cb43369747b2ae007bd2655fb8e63a099c2ff1d207962943636dac989b3147", size = 1761112, upload-time = "2026-07-23T01:56:10.918Z" },
|
{ url = "https://files.pythonhosted.org/packages/cb/05/e00f35581c97656d9e864edaa03292382c620dd1d9c836a4f73a2279acc4/aiohttp-3.14.4-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fb22c8e4b60385a9b414c70c6e8b2d0f4b23ff7fc4bb572ceb58297b228169f1", size = 1887845, upload-time = "2026-10-05T17:40:42.359Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/d1/16/bc4b55e3e5cb175fd69c53c90d60d2f47797cb343da5106e23863dc4dba4/aiohttp-3.14.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d77640cc618c1d99fc4f8589c0f24a730adfa54eb1e57ef7bf0c8dfb78da898c", size = 1583500, upload-time = "2026-07-23T01:56:13.613Z" },
|
{ url = "https://files.pythonhosted.org/packages/ca/2e/07e3eff5b4c1b082a2eaf0ffb508b409b21ea1ddc9fdc57f3eabb51469a1/aiohttp-3.14.4-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3b6945559a260112742ed58cde2165488d2fc51aeea34afbaa99d9371b43e1b5", size = 1702533, upload-time = "2026-10-05T17:40:44.569Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/2a/e8/13a9d957a1ee40837f46aa30f0f4c657e673ad86a2e6362a9f9be20d26d9/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:53e5179d8abb5710f8e83ba207c41c8d1261fcffd4616500e15ca2b7a33be10a", size = 1713940, upload-time = "2026-07-23T01:56:15.969Z" },
|
{ url = "https://files.pythonhosted.org/packages/75/44/816844b7f876e6f8fee4ecb088269fcd92241da712e4814a4d624eda13a9/aiohttp-3.14.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8f4078a90b174f15efb2c8725e8720c40dbd3b2cf6350dbc085c964a938d9de7", size = 1849058, upload-time = "2026-10-05T17:40:47.818Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/38/05/d33c680c1bcf1c7e130f9cbfc1fc02fe8bb0c4af2a94a53dd5fb56131e5c/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:cd817772b2fcf2b8c0905795318485f9ec16eae60b29feb7f4c77085311637f0", size = 1724413, upload-time = "2026-07-23T01:56:18.591Z" },
|
{ url = "https://files.pythonhosted.org/packages/ae/bd/163242e12464a1f3e58a77e28beca949652ddce84abdd5500a91c70a1e0d/aiohttp-3.14.4-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:f433c5654e32f72de3ef074d715eb5c7604eb6d28a5c2f3c9e5056f20fe6b306", size = 1854600, upload-time = "2026-10-05T17:40:50.401Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/85/1d/af798d306f7a74b6a632dbcabcf62a4c91391b7582d2a8c6d7712e2cc54e/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:4e3ac92d90e92773b2362d506068e9a948192bd553e743c5b2429e28527c8661", size = 1770748, upload-time = "2026-07-23T01:56:21.074Z" },
|
{ url = "https://files.pythonhosted.org/packages/f2/59/5c1ae708a89524eddfd9c727b87cae26b5c50c3c76683b910ac06151ead0/aiohttp-3.14.4-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:871035fe79c636b6bc126ed78df37d72b830dfc751612cb4b1040360edf2719f", size = 1896565, upload-time = "2026-10-05T17:40:52.625Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/a8/92/ad720d472556a995049206867765e9410969684f86ee09423ff9969044c1/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:3f42e9b78301f11c8f861746175d8b9c1ccef713fcad9eab396e2f6db8ed4a22", size = 1577564, upload-time = "2026-07-23T01:56:23.475Z" },
|
{ url = "https://files.pythonhosted.org/packages/37/45/95300a7de69241fe47d3f838f3fb582c712782e172d447ff650a013ea673/aiohttp-3.14.4-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:2617132524f66338f6c1d218cd16081576aefc40df4f2bcba338a99fbf67fec1", size = 1693092, upload-time = "2026-10-05T17:40:54.862Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/60/ad/0ed7586cbef7a884e23a752fa2bb987a122e6a5dd50dab109258d0a95193/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:9d9edccfe496b476db5f398d97b865e9a6752bcf8aec4eef8390ce20fb64bb41", size = 1782080, upload-time = "2026-07-23T01:56:25.994Z" },
|
{ url = "https://files.pythonhosted.org/packages/ff/33/01a8e61d48d0094121092c74125df14c0f8f10ee3149bfe68b6f869409a9/aiohttp-3.14.4-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:d8bc326133272deee8ef337581550450e4bb735c0520be893b950a1f5baaf41a", size = 1917073, upload-time = "2026-10-05T17:40:57.656Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/97/ea/dbaed0d73e8a69aad653b045dab451c67c2454bb731a37b45a86593e9422/aiohttp-3.14.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:1c5ec8fb1bcc31a8466f74aaf26c345d5c386fa4bd08a3f0eb9c7a4a3fe8b5bf", size = 1745813, upload-time = "2026-07-23T01:56:28.604Z" },
|
{ url = "https://files.pythonhosted.org/packages/9e/d6/1a4f24624cda6686d5b927e26d5d1ae3ebb692faf88e93017fab4b391fd0/aiohttp-3.14.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:3ec57223e261b7fa9979c12dbce009ca53439be76cac3af27f860d3e4b1d6f7a", size = 1872656, upload-time = "2026-10-05T17:41:00.123Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/81/1b/6893d4bc57e434fc93a6c9217c637d967a0b651d989f6e3265179375754a/aiohttp-3.14.3-cp314-cp314-win32.whl", hash = "sha256:38901a84da3ce22249f6e860bf8f90d141bcab7da090cc398f8bb58c0e44b7da", size = 455872, upload-time = "2026-07-23T01:56:31.031Z" },
|
{ url = "https://files.pythonhosted.org/packages/be/be/ed286fcfa2d22061ae021b568c790123505cd482df35e23023339ecaed96/aiohttp-3.14.4-cp314-cp314-win32.whl", hash = "sha256:7242043e71fc449a19a47d92f4e9fd1e0ae8d3f88488982381f422bf6d651218", size = 485461, upload-time = "2026-10-05T17:41:02.686Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/f5/8b/c7baa1ba1eda4db6989baefe5de6d99834921b84ebd7918624febcb9f290/aiohttp-3.14.3-cp314-cp314-win_amd64.whl", hash = "sha256:8b3b60de05f3dcb6f6a00f818bb2ec781cee4de0645f59ccaf99b1d1823b6100", size = 481030, upload-time = "2026-07-23T01:56:33.365Z" },
|
{ url = "https://files.pythonhosted.org/packages/c0/74/e040e6f65f4da305777f1adb3023d47401693489e4a337c983b52d2a0a6b/aiohttp-3.14.4-cp314-cp314-win_amd64.whl", hash = "sha256:019587c7b3a44917dd61bcb312fd5c034f341dc9851b83e7b41b65e08b68ca0f", size = 512147, upload-time = "2026-10-05T17:41:04.98Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/22/8c/c29d067df825a2df88ca432db848aa2fe8199598359cc06c12b09320cac9/aiohttp-3.14.3-cp314-cp314-win_arm64.whl", hash = "sha256:1576145bdceeb92382d899751e12743a3a5b8e460a841e3e50543859e54864dc", size = 453669, upload-time = "2026-07-23T01:56:35.731Z" },
|
{ url = "https://files.pythonhosted.org/packages/2e/5e/bddb33ae15fdd5a68a10a986587aa9916c418a712fdd110d3b3ae9b51407/aiohttp-3.14.4-cp314-cp314-win_arm64.whl", hash = "sha256:60dc71d38db0988f37e78f6ad4a010a2f6355cfac3fff5f130cf5ef2231f3f0d", size = 494685, upload-time = "2026-10-05T17:41:07.366Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/6a/a4/9c033beb355d39b6147980597ec9645e4729243f686ee4dc73945de72030/aiohttp-3.14.3-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:8800c996b01c2772a783e3e46f3e1abd5823029adca0df54231960de9bfefa5b", size = 791403, upload-time = "2026-07-23T01:56:37.972Z" },
|
{ url = "https://files.pythonhosted.org/packages/22/2e/7b884014b40573f919fc3a528e5028bc37b249e31a93928ba61bdd25c960/aiohttp-3.14.4-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:674f53ab9d2794e2dd767619a3384bf1006f8d075e43c19d449a645f8ff641c2", size = 855696, upload-time = "2026-10-05T17:41:09.514Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/80/ca/87c32a0a7704583cfc49660bd817889bae5b830bf53b5dcb4e92145ac2da/aiohttp-3.14.3-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:ebe8e504f058fe91223351cecd2d9d6946c9d241bb0250d898ffbdf584cc72b0", size = 526413, upload-time = "2026-07-23T01:56:40.523Z" },
|
{ url = "https://files.pythonhosted.org/packages/5f/e6/b6e2b4f580ab6ae39241bb9182aca60e6e1915cdad0148faaa04db3f366b/aiohttp-3.14.4-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:6d243221f73e5ac546c2ed9255100423e4bc092b08b944f23498e8cf3096c26c", size = 567931, upload-time = "2026-10-05T17:41:11.685Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/9e/d8/8ec0e471248c500acdce2be3f46db8fb62b5eb60efef072529cc85ee1d26/aiohttp-3.14.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:30402d03a7c0ff52bce290b57e564e9079fd9d0cb545c8aba73f86a103162d2e", size = 532135, upload-time = "2026-07-23T01:56:42.876Z" },
|
{ url = "https://files.pythonhosted.org/packages/63/99/ae8e3a1a18adcbf636839d18b3cccc51007836ccdae5209381c5cf82d1ae/aiohttp-3.14.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:0daa016eb74e7888ed5f9ceec6eea3158999c1c4a115ef5cbe88baa8d924f94c", size = 567421, upload-time = "2026-10-05T17:41:13.836Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/fe/45/f8919fd936e8b79fcd9bda7b6d8e62613462a713f4f17987fd7c34399142/aiohttp-3.14.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9fc7b5bfec6573f3ae844f457fdde5adeb713f8b8e4a81ad64fc207b49383716", size = 1922742, upload-time = "2026-07-23T01:56:45.528Z" },
|
{ url = "https://files.pythonhosted.org/packages/63/38/c5d4bb58be72b967a4090d2deeb38571f8c992852936c51dbbbeae49db1c/aiohttp-3.14.4-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:70c031a622aa20add05ebd234b90adaf6bf51c1c88cc305ec760721af83308c3", size = 2054173, upload-time = "2026-10-05T17:41:16.098Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/f6/ec/9ca76b28a27525b0cc53e20842e0228b022f301ce1f436b7d814b4aaf2df/aiohttp-3.14.3-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:8a5fd34f7f7410d1730d5c2ba873cacb2eed3fede366feb268a70ba22581ed8f", size = 1787371, upload-time = "2026-07-23T01:56:48.045Z" },
|
{ url = "https://files.pythonhosted.org/packages/eb/87/3c8a9c7670f56d478a75c5bb84b336fb61a67b908e36c30a4a96ed8c8e86/aiohttp-3.14.4-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7df363fa7c38945a896e12c69af4a1a56cbd4152791d9e41fd0bac396b72de38", size = 1918296, upload-time = "2026-10-05T17:41:18.478Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/b1/04/6acdbf17315f7b55f1937e3387acb89a3cddeb4995689553d064af8e92ab/aiohttp-3.14.3-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:270d3dace9ca2f10f0da5d8ebe519b7a310fc6112ed916e32df5866df0888553", size = 1912623, upload-time = "2026-07-23T01:56:50.605Z" },
|
{ url = "https://files.pythonhosted.org/packages/49/97/bd00e499c0a1505b44f5e23b9739034ea9be792ad42537f2894211ba1c07/aiohttp-3.14.4-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:02a508ba5ad91c4d730523584c0adc65882274bba5e37c33bc2f475e37577256", size = 2027513, upload-time = "2026-10-05T17:41:20.874Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/86/e6/438b0c79ca6f45eb9fd9817dd4c01a91919a38c0de5ee9e05e2b4dc0ece7/aiohttp-3.14.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3ae5b3a59436d089b5395d910121a390feed4d00578eb95a0fd1a329fe963100", size = 2005515, upload-time = "2026-07-23T01:56:53.153Z" },
|
{ url = "https://files.pythonhosted.org/packages/23/1d/a3666a7c224f86a881f18d673a8ffdc92fa4c35274fb4361822f8f0dc566/aiohttp-3.14.4-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0cb3edece6fe6a944eaf97d803b88f606da6bc1600b1894c2969e78ffdc1fc29", size = 2152686, upload-time = "2026-10-05T17:41:23.181Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/bb/6b/62cbd6577758699525f5c712d1ddef57d9875fbab0ae8d5f5a202fd598f8/aiohttp-3.14.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2498f0fe69ead802f9675beca44a7c21c62fdaa4ec5145ea1c3ad6edbee29f85", size = 1879906, upload-time = "2026-07-23T01:56:55.818Z" },
|
{ url = "https://files.pythonhosted.org/packages/46/7e/f4204b8c4959c46f6367c182afbbacef08a1b53874281912c52fbd80151c/aiohttp-3.14.4-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:21ce1223b461bcc5fb389a7204001578f1c0b85c2da60a84d915ebb021294245", size = 2006431, upload-time = "2026-10-05T17:41:25.776Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/00/95/18bcbf830a21dc3aae24d8f6b6feaf3db1d2090242d00a7868db2ffb0b67/aiohttp-3.14.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:a0dc483c00da8b673abbb367eb6f8d8f4bcec30eb58529ea13cb42e7fd2dfa33", size = 1675849, upload-time = "2026-07-23T01:56:58.861Z" },
|
{ url = "https://files.pythonhosted.org/packages/33/43/091e69d42967cbea833ceb355c5457f8f70748fe08b88c9d91491b3fafb8/aiohttp-3.14.4-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:35d5432f0dc1c8b71307e9112461b52f336da225e344283eec4779222c0a1dff", size = 1789101, upload-time = "2026-10-05T17:41:28.095Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/a9/19/47f4968659c5e23606c3790c80fc624e691c153d036148449ee84d31b287/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c7d3a97c678d34fc5b59da671ee9cd630096ddc643e7b5a30d54a2a6f3574d3f", size = 1843496, upload-time = "2026-07-23T01:57:01.591Z" },
|
{ url = "https://files.pythonhosted.org/packages/47/7b/b57cbe533c01098c5d30471f057e7c3c19f281122f756acc9c716b636e2c/aiohttp-3.14.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d6ec364493057c118d08292f7cd60865965c209167d8657b45643a26aef77495", size = 1974472, upload-time = "2026-10-05T17:41:30.499Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/64/af/38c33c4dd82fddcb4e56c4653b6f1072a8edbc6b7fa15809f14932c41e2d/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:f8fb78a83c9e5f741ca3a68cfb455c1f5bb83b4e7249a3848b3cd78d0a8563b0", size = 1827746, upload-time = "2026-07-23T01:57:05.131Z" },
|
{ url = "https://files.pythonhosted.org/packages/9f/44/79acce03611450e4ed8594f96f1cea40d70bc84fb4e918f94d7d9454a4af/aiohttp-3.14.4-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:70492983b7aed9e61bda82fe1ce80bcba9199610886443133783a288638923c0", size = 1956340, upload-time = "2026-10-05T17:41:33.009Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/a1/9d/0537cda4885ac8f5b7053d164dd06312f4c483a4edcb8ee5b8aaf2a989bf/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:74ab5b6a9fb13e873e5a90946588baecaf488745e1db1a4a5c433f971f035098", size = 1853810, upload-time = "2026-07-23T01:57:08.043Z" },
|
{ url = "https://files.pythonhosted.org/packages/da/bb/36e6cbd6720e3377a02f8709aec6fe80de729ef41e78ba01f13d50363c73/aiohttp-3.14.4-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:a77776673331577147e9d25cd7833a72e8891b47556336cff06ba1569e488b99", size = 1965771, upload-time = "2026-10-05T17:41:35.506Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/19/fe/26f9c5e6458385aa86497836b0dea6fb2f027827d63f37c7856cce9286ee/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:bd52f811e65f6fb634b1047159657c98f52b407f8efec907bcfc09da9a4c0a25", size = 1668895, upload-time = "2026-07-23T01:57:10.837Z" },
|
{ url = "https://files.pythonhosted.org/packages/69/0f/879735ac70ce5e6852916eed51c706a517b205150a8d384f9fa60933a3fc/aiohttp-3.14.4-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:73799000dd6fd5247094fd8e6d3e1eb871e41aab5cc35dff9d9f654cd230bc24", size = 1780297, upload-time = "2026-10-05T17:41:38.284Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/ec/4c/618b1db9b9ba079b8875d2cdf78e7c4a3bf72903bd5850fee7dd9544600a/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:f0f177d1b195b9e06376cfd7d308d8a1b920909a609d03ac82a8c73bbb16d3b9", size = 1883833, upload-time = "2026-07-23T01:57:13.672Z" },
|
{ url = "https://files.pythonhosted.org/packages/01/5d/7c030ca5b6baf3b02eccd11afc3d58f0b35e407031d5cc78cae9c24921c0/aiohttp-3.14.4-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:27b370fb532e707e8c96d04fa0c96301fb7dba2d50aaca57f6c456cdfffec5bd", size = 2001374, upload-time = "2026-10-05T17:41:40.888Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/94/c6/bd959bd1e4771f9fd944e9e436224c48c77b018b73b519b5aad346335bcc/aiohttp-3.14.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:498c6c623134f8e09a3c4e60bcd607a0b4590dd7dbf08dd40851b27cbb520ccb", size = 1844251, upload-time = "2026-07-23T01:57:16.593Z" },
|
{ url = "https://files.pythonhosted.org/packages/80/1e/ddacbb8141d727034c51dd192d17749521d5b30b03f84aa034325396089e/aiohttp-3.14.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:884e0d1c707b6217fee3080b9b4029eee7551af788ee761010df19be158414b7", size = 1968531, upload-time = "2026-10-05T17:41:43.62Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/5e/19/08d41839658bdd44a0ed2480f3891705ecb487ce28c0dde62c9040c997e0/aiohttp-3.14.3-cp314-cp314t-win32.whl", hash = "sha256:b304db572b4368edd8dda8a2274f73156fe15558fca4a917cb8a09fc47af5963", size = 474180, upload-time = "2026-07-23T01:57:19.306Z" },
|
{ url = "https://files.pythonhosted.org/packages/3a/08/2214f823701eebc3e57db141faeae76df7bfd415f254cc7c1692258f228d/aiohttp-3.14.4-cp314-cp314t-win32.whl", hash = "sha256:f2e3d34edb151d3e27f93a8338e2da33e2c7261cd4c879ce5f5fe280cc190ea5", size = 504126, upload-time = "2026-10-05T17:41:46.321Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/99/5d/3cd6ef0a2b2851f7ab913b5b079334781bd50ff56a323e4454063377a080/aiohttp-3.14.3-cp314-cp314t-win_amd64.whl", hash = "sha256:b20032766aedf6261c7a566585a40867d092ac03a0d81592d5370ef9b054f99b", size = 500528, upload-time = "2026-07-23T01:57:21.762Z" },
|
{ url = "https://files.pythonhosted.org/packages/91/a1/90e9b6fd23310b4e82d0c0a37b5ecc2944053350473c57533c1da9647235/aiohttp-3.14.4-cp314-cp314t-win_amd64.whl", hash = "sha256:88cf889e51092537fe44adfbff96c2a22d6479d6f92b97b3d413fbfd0a4decf4", size = 531494, upload-time = "2026-10-05T17:41:48.849Z" },
|
||||||
{ url = "https://files.pythonhosted.org/packages/a4/37/cfd1ed540a4d318da025590d96b728e63713c09e9377950fc655dadeb856/aiohttp-3.14.3-cp314-cp314t-win_arm64.whl", hash = "sha256:2e1161602f45a54de2ce0905243a95f58cb42dcd378402f3697f5e0b21e9d2e7", size = 469280, upload-time = "2026-07-23T01:57:24.241Z" },
|
{ url = "https://files.pythonhosted.org/packages/97/ab/5b501472c92b9b1dc53742591d6210dccb262962f4721299300d3a9f664b/aiohttp-3.14.4-cp314-cp314t-win_arm64.whl", hash = "sha256:ca450c6d42fda7c0bfaf0e200f32f77c5f2c960a33be1e14d197c84588b7f5f6", size = 510544, upload-time = "2026-10-05T17:41:51.358Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/0f/77/ef165a197850573ea07c8d77bf5f4854a1db12fdb20e1cf0b218abf025fc/aiohttp-3.14.4-cp315-cp315-android_24_arm64_v8a.whl", hash = "sha256:3b10799df72f66c30935bc661cb89e5ac2918debfc575e350e226fbaa846cbb7", size = 540737, upload-time = "2026-10-05T17:41:53.761Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/e6/aa/1663f64d1316b3be9d3f6fafa02b8d888070171a6544cba515e82f3af595/aiohttp-3.14.4-cp315-cp315-android_24_x86_64.whl", hash = "sha256:7ffd7f9dd39caccc6b2f68ec0339435ecad2b20f6ea2e2b3de91bbe464ac7137", size = 554600, upload-time = "2026-10-05T17:41:56.183Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/98/f7/d4d535855123c1a774a798643e75fdfbac62c047b0c0729d6505d09df444/aiohttp-3.14.4-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:a0a7a227353f7693f73878ad14cd2623cafadd656ababcd20e2adfb7225172ea", size = 523184, upload-time = "2026-10-05T17:41:58.624Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/0a/5f/18a8d1cd2958a0b6164b047c18ccb192f2123bb70f1c0a145f6f01f858ad/aiohttp-3.14.4-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:1c43b6af8e4708e8b3812a9ee4f79895207e12d555b7f6d70deb838e0011e12d", size = 530342, upload-time = "2026-10-05T17:42:00.96Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/7f/c4/d1dd2b1fcf8a3192a431375b287a8762ebfd22195ab5b201d3fac30e3a7a/aiohttp-3.14.4-cp315-cp315-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:97416b2b997e5e9b817e322b2f0a89b76c54cde22471f51ac17ac15e10901ba0", size = 540629, upload-time = "2026-10-05T17:42:03.324Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/37/51/d1868f3459f618f6b68a6ef549d8b3f76aa616fa083298911fd3ae65d6b9/aiohttp-3.14.4-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:ee2a5aa31e507c17841d592364f2148393b17f83bc2766e9211e1eb31ea72a70", size = 819347, upload-time = "2026-10-05T17:42:05.713Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/84/e6/53179b721b67e0bd20974d02eca97b5691559e8ce666ba23a65aecda6b7f/aiohttp-3.14.4-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:5d5d9843c34866e986dd24eef713452609e304550c471320ce7b54b3cfb1391e", size = 549825, upload-time = "2026-10-05T17:42:08.093Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/00/0f/d67ddf7a43d4899176954511b6c048328abec1a5df4901f811a3b408a4fc/aiohttp-3.14.4-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:efcbf93e31b52c21665b6ebc489eb6fdb0dfd86b592edc677b5cffdfa7b11677", size = 549315, upload-time = "2026-10-05T17:42:10.766Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/9d/db/42f372c7f8e259505f239cb49db75f23548deaec56d22c68b4866f1c3fe2/aiohttp-3.14.4-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2f1a79977794592dcf6485ed964ec2448db527a1bc0c72ec89663658dad3a739", size = 1892181, upload-time = "2026-10-05T17:42:13.194Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/23/0d/8b1900216302a94f69b41bf0786bb992a6e67d703f4698e335c2442db615/aiohttp-3.14.4-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:515e7ac6d27509dc3ba2c35fb88970b00b9e7b07ee7cc947c8733dcd54ef5def", size = 1883513, upload-time = "2026-10-05T17:42:15.704Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/7b/5e/15c014313e567fff931ec4a5f81683cc40251257791fbd607ec37c0dad80/aiohttp-3.14.4-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:185154ffa3b54765b5de96f464f41cfa476f8815a03854ae5e0fe4d48fb06e9c", size = 1933283, upload-time = "2026-10-05T17:42:18.241Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/f5/b3/bf7dc39a450218efb1d5c692bac7dc85ef56da282e889bee594f3267211e/aiohttp-3.14.4-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6aece59f77959628a22cd2ffe48b102cda9611d680e090f204385b3998a1190f", size = 2041054, upload-time = "2026-10-05T17:42:20.728Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/b6/03/ffba18d7aaedb5eafac3f41f0c26621ebb0a740bb0115ea2fae1911d902b/aiohttp-3.14.4-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d7205aa6589f1ad1306c6994ff2e1ab5efabacf938f9ffd7682fb225c197b06a", size = 1895494, upload-time = "2026-10-05T17:42:23.518Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/45/f4/68123365b86826eee82bdceb7fb4c429204cb3a104d6b7ae44bc6a543fcb/aiohttp-3.14.4-cp315-cp315-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f38c7b3ce60d55ac0f2a9fd2edc194789d043fefea15cfb7dcb40b7d5f561146", size = 1714098, upload-time = "2026-10-05T17:42:26.471Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/b1/db/b13c0b214afc571782e8667f3b9e0bbed6843397be90fa35acf2f3ecfbb0/aiohttp-3.14.4-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:b0a1274ee4ee6203c15a341cce87f9f3df8151d5496047b3608bb62bd969cffc", size = 1857111, upload-time = "2026-10-05T17:42:29.169Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/6b/7f/4f5d3cee3c23b57119aebba5174962fed0bc493f37f38edab2f5730411b6/aiohttp-3.14.4-cp315-cp315-musllinux_1_2_armv7l.whl", hash = "sha256:69ce2407951516f413adf3132b88451eababd710ce631f83c81a9603a3640253", size = 1892123, upload-time = "2026-10-05T17:42:31.786Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/5e/2e/5a6a1f014c4e17d58d4e935d0dd64e612f4eaa2f33cca2475b48ca5e3fb5/aiohttp-3.14.4-cp315-cp315-musllinux_1_2_ppc64le.whl", hash = "sha256:b84d3d057c60eb8e0c2b457a1203e868d82709d3f0c272a4975dfd88c2414939", size = 1898809, upload-time = "2026-10-05T17:42:34.34Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/de/f3/d1cca5311a70fcc1c7c2082e02044578a69bcb10686db33a322df9fb849e/aiohttp-3.14.4-cp315-cp315-musllinux_1_2_riscv64.whl", hash = "sha256:4ecc84f69c9e217984f6877e832e4786a74567432c0bf2b7512919fbdfe18ade", size = 1704814, upload-time = "2026-10-05T17:42:37.047Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/0a/cb/cd58eae366148a5b9b1baa233542151154f2b72cd32daa39fd9db97d0c0d/aiohttp-3.14.4-cp315-cp315-musllinux_1_2_s390x.whl", hash = "sha256:878f2d7950238b2b0a8cbb88054444a125f0cfbc77f54c811aca0483132a9be3", size = 1918390, upload-time = "2026-10-05T17:42:39.674Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/e3/d8/f5e6c4939432734033048ba631503edf4a1e693ee5e261773e169803bbe4/aiohttp-3.14.4-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:6ff9d3a0e6935f1cb0a6685f9f4b3f0d3e406456d7a434a03cf309b8cd5d7a2e", size = 1878321, upload-time = "2026-10-05T17:42:42.528Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/2b/71/462957d6b5d4eb208f78e67745c41480bad2e738aa7caf1d9b07536920c1/aiohttp-3.14.4-cp315-cp315-win32.whl", hash = "sha256:e07dfd7cd360f20be26dc2487ad4c7f21b0b39fdd593e9ebf37d2424ad52defb", size = 485536, upload-time = "2026-10-05T17:42:45.223Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/ba/6e/48f59266a8b8c6420894ff59b8e74175252da67df85967b96997e96b7092/aiohttp-3.14.4-cp315-cp315-win_amd64.whl", hash = "sha256:921fc4f1ad549091bfc39cb5e93925b04f307f83517756a3111843851130efce", size = 512087, upload-time = "2026-10-05T17:42:47.717Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/25/f5/46263b23cee4f312e28aaabbdec2e074c807700a12c9dfa18beff461f035/aiohttp-3.14.4-cp315-cp315-win_arm64.whl", hash = "sha256:5be8af106f96fd625f6c264fa9faaaa9e0104089684d9015d2fa5b6eba6407c7", size = 494709, upload-time = "2026-10-05T17:42:50.615Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/77/8d/e3b1d406c95a8fe436ae2e5f01ee9591196c6c22c44c645b24f20d73eaea/aiohttp-3.14.4-cp315-cp315t-macosx_10_15_universal2.whl", hash = "sha256:e69727ec04a4608200ff32ec29478299df7657e2eb78c416ae338d0ca6662596", size = 856014, upload-time = "2026-10-05T17:42:53.425Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/5d/fc/e9e78d1097830040bc0a4b8af073379f964064bfa7f0a852d774f96f3168/aiohttp-3.14.4-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:f8b658dd3ef2ebd7708b311ed96ff7cb5edaca001a30018a091504ef492bcb1c", size = 567724, upload-time = "2026-10-05T17:42:56.416Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/e6/ad/c813a705a1da1c111c30723b52e1efb67763e9f0b3b54a418cb419616e7a/aiohttp-3.14.4-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:3749e018123df1205161a73ba96d336e17e9cf6b947295e53a43571de420e7b1", size = 567888, upload-time = "2026-10-05T17:42:59.048Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/c2/1f/7676f46aa24554a45686853c61552d02d67ade2b4c51adfe8b2ec4fdecd2/aiohttp-3.14.4-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8f28a3c4fca436b2e594090e7cd22558f5e93a30ca18516c436de982da6fc25a", size = 2054356, upload-time = "2026-10-05T17:43:01.781Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/44/79/b9ef7d7442061e0a3125990d6021230b30361a972f7b8ebfb011042877ce/aiohttp-3.14.4-cp315-cp315t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e099aae21246992a1d84303ff262262d054c474e46cace33b0d5a69810c71877", size = 1937678, upload-time = "2026-10-05T17:43:04.492Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/5c/98/5927a31540c8e6d0542effead5bd5c56e749a9d99d84e902fb80ae906ef8/aiohttp-3.14.4-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:fafb521891e646d9cf5da89f01c75e7159d08be7254a024149630a698be28251", size = 2026705, upload-time = "2026-10-05T17:43:07.353Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/62/bd/1be001ed97dcfa57a292188c38979fb78be795b960b50f02660587bffa06/aiohttp-3.14.4-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1d385db2cd154bce0b3dd451cf2a52bec91ebb7be2c3a5d06b14b4391631d807", size = 2147075, upload-time = "2026-10-05T17:43:10.141Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/0b/f7/d59628ccedd7c86db4c1f904467d1c80fed6cc10a1831ed5d75ff12e5a71/aiohttp-3.14.4-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ae8a244889d8a53549851bf595b9f382f64acca57e8762da1ecb26ba786828f7", size = 2005016, upload-time = "2026-10-05T17:43:12.848Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/3c/dc/472db3ab1daafa12a61d7f83314f85f502b99c143c78d66554a5e24361fd/aiohttp-3.14.4-cp315-cp315t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:681dde68ff8d8d5e7d5abcad4feb45bfb457a218310c919825e21fc36cac3d0b", size = 1796363, upload-time = "2026-10-05T17:43:15.562Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/08/61/6f9834b131b9a42e30d68c469c196033d3cae2d8fe340d4668f362c4fd1f/aiohttp-3.14.4-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:b91a6441fcaed88ca7bca67726b189332df3ceb6ac0dfc98dcb9654bb723288c", size = 1974240, upload-time = "2026-10-05T17:43:18.884Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/b5/2f/b8eb2a276685ef1da7f7bc15348404b8b9ee12b8f32f2cd8895385cd1589/aiohttp-3.14.4-cp315-cp315t-musllinux_1_2_armv7l.whl", hash = "sha256:f15dbbac49bc15eaff95c0b8166525c4050996af578c7be141e145f40ee2cf24", size = 1973387, upload-time = "2026-10-05T17:43:21.661Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/5b/32/ad559b2d6817e85f7cb294d8641e975e64b526f4da98ffe941c9af67a047/aiohttp-3.14.4-cp315-cp315t-musllinux_1_2_ppc64le.whl", hash = "sha256:7abae043e87692d1c2adda1fab501bb0612d28c4a23eb082005c1e684f792dac", size = 1968766, upload-time = "2026-10-05T17:43:24.544Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/60/67/4a16e398140bdabb363428b9f439af3f77706a6df8bea6e626bbde53c2ab/aiohttp-3.14.4-cp315-cp315t-musllinux_1_2_riscv64.whl", hash = "sha256:21f4624fb1051fc1aa10d57a636a80e829f7d0417462d6f1ce380b08fe1a904c", size = 1788193, upload-time = "2026-10-05T17:43:27.467Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/a9/38/17b326da7f52e530a675d789ade3e727a1b3db9959722f6049b9c392321a/aiohttp-3.14.4-cp315-cp315t-musllinux_1_2_s390x.whl", hash = "sha256:2e8dc3a0fdaf9d12b954d3d06cc4c355d91b17fb6c671715b593624ca4c379f8", size = 1999645, upload-time = "2026-10-05T17:43:30.32Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/53/dc/91b87961250010e05eb3adabaf0d98e4229ee7543147c265e834922e1b0b/aiohttp-3.14.4-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:1410b6f6e3d52ea7c02c950496522ce6e85d5543bf154bc80a6141e505251cfa", size = 1970998, upload-time = "2026-10-05T17:43:33.364Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/72/66/9bcf2c2db7b75a3b51c11470ceb67941d028727d674276ff5d5120adc87e/aiohttp-3.14.4-cp315-cp315t-win32.whl", hash = "sha256:a65189a89f3e621f7c27a968b5131bbca29126e2b8517dc72b205747a39d4c96", size = 504036, upload-time = "2026-10-05T17:43:36.212Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/e2/20/349db4af12dbc16070d32028d30c2067123b4520f3dcb2d9013524efeb4f/aiohttp-3.14.4-cp315-cp315t-win_amd64.whl", hash = "sha256:2b2c95f5f769eec92b552969db1f79ea0282058ce5131ed0f2fa540b4af3f14e", size = 531284, upload-time = "2026-10-05T17:43:39.362Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/26/21/544c711bc5fad611278ebd153bdcab1bffce8b8581f8ec9096b275948a3c/aiohttp-3.14.4-cp315-cp315t-win_arm64.whl", hash = "sha256:54209fff79346ee1ef0d5cbf92fa80a5bb37396406bb4d932e5107f9c29b2d3f", size = 510623, upload-time = "2026-10-05T17:43:42.15Z" },
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/2b/27/5e1f8446545be98e9416af59c396b1ed1f9f3294afb0a40ee3a709889273/aiohttp-3.14.4-py3-none-any.whl", hash = "sha256:5c6758ba62aea282c537179cfc8474a90f2b5f7b089cc5ff66d8920d86a9bfdd", size = 279487, upload-time = "2026-10-05T17:43:44.905Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -255,6 +301,15 @@ wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/12/b8/4bd346e22b28902df4d651910f5242c28d84e4a5c2435ca5c3f797ed7e2e/anyio-4.15.1-py3-none-any.whl", hash = "sha256:6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101", size = 132079, upload-time = "2026-09-05T10:42:37.923Z" },
|
{ url = "https://files.pythonhosted.org/packages/12/b8/4bd346e22b28902df4d651910f5242c28d84e4a5c2435ca5c3f797ed7e2e/anyio-4.15.1-py3-none-any.whl", hash = "sha256:6152fdbbf9a77fdec97731721bebf7c4c44f7c29b424b0065826173efc7ed101", size = 132079, upload-time = "2026-09-05T10:42:37.923Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "asttokens"
|
||||||
|
version = "3.0.2"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/25/1e/faf0f247f6f881b98fc4d6d07e14085cb89d13665084e6d6ac1dc2c03d0b/asttokens-3.0.2.tar.gz", hash = "sha256:3ecdbd8f2cc195f53ccada3a613538bb5f9ef6f6869129f13e03c30a677b8fe2", size = 63136, upload-time = "2026-07-12T03:31:49.084Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/d4/2b/04b8a15f3a1c77bc79ddf5c73875327f34b4fa75982df2b76e45e402d364/asttokens-3.0.2-py3-none-any.whl", hash = "sha256:9da13157f5b28becde0bd374fc677dcd3c290614264eff096f167c469cd9f933", size = 28702, upload-time = "2026-07-12T03:31:47.542Z" },
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "async-timeout"
|
name = "async-timeout"
|
||||||
version = "5.0.1"
|
version = "5.0.1"
|
||||||
|
|
@ -734,6 +789,15 @@ wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/44/0b/98fc6eb83333508ca5f44c52b3e287ea8137a0ad582714e2cbc67a02154b/datasets-5.0.1-py3-none-any.whl", hash = "sha256:9fbf73688f8c18f7529b4fe592abd04015f81d1e58001e4bac73ffb2b39d7cc4", size = 559079, upload-time = "2026-07-28T11:09:10.266Z" },
|
{ url = "https://files.pythonhosted.org/packages/44/0b/98fc6eb83333508ca5f44c52b3e287ea8137a0ad582714e2cbc67a02154b/datasets-5.0.1-py3-none-any.whl", hash = "sha256:9fbf73688f8c18f7529b4fe592abd04015f81d1e58001e4bac73ffb2b39d7cc4", size = 559079, upload-time = "2026-07-28T11:09:10.266Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "decorator"
|
||||||
|
version = "5.3.1"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/60/8b/32f9823da46cde7df2087faa08cd98d01b908f8dcab982cdba9c84e85355/decorator-5.3.1.tar.gz", hash = "sha256:4cbcdd55a6efadb9dbea26b858f4fb3264567b52d69ca0d25b721b553f60ea82", size = 58084, upload-time = "2026-05-18T06:03:28.057Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/05/7f/798705f5296a58ca505d600456748d1be48078eac8a7050d8a98bc9edb89/decorator-5.3.1-py3-none-any.whl", hash = "sha256:f47fe6fdbd2edd623ecfe36875d37aba411624e2670dd395dddae1358689bb3c", size = 10365, upload-time = "2026-05-18T06:03:26.517Z" },
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "defusedxml"
|
name = "defusedxml"
|
||||||
version = "0.7.1"
|
version = "0.7.1"
|
||||||
|
|
@ -811,6 +875,15 @@ wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/8a/0e/97c33bf5009bdbac74fd2beace167cab3f978feb69cc36f1ef79360d6c4e/exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598", size = 16740, upload-time = "2025-11-21T23:01:53.443Z" },
|
{ url = "https://files.pythonhosted.org/packages/8a/0e/97c33bf5009bdbac74fd2beace167cab3f978feb69cc36f1ef79360d6c4e/exceptiongroup-1.3.1-py3-none-any.whl", hash = "sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598", size = 16740, upload-time = "2025-11-21T23:01:53.443Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "executing"
|
||||||
|
version = "2.3.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/52/92/8a611141e42930c0f194f7504063ab87dfe970cf1a5af28e7703df448734/executing-2.3.0.tar.gz", hash = "sha256:15919cb5d667e5cb4e099511971d00d659573fff2dd5c4e6cd8b71636c7858d2", size = 1338003, upload-time = "2026-10-10T14:06:04.64Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/4d/dd/8bc67e7d5ffc1d88aa5af511189dfb76dc4e1e5b808fab186146ef2663e5/executing-2.3.0-py3-none-any.whl", hash = "sha256:736e859c9f8701f11fcf516856f26f562e04776387824b43a35a1dfe21c84122", size = 29393, upload-time = "2026-10-10T14:06:02.777Z" },
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "filelock"
|
name = "filelock"
|
||||||
version = "4.0.8"
|
version = "4.0.8"
|
||||||
|
|
@ -1036,7 +1109,7 @@ wheels = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "heretic-llm"
|
name = "heretic-llm"
|
||||||
version = "2.0.0.dev0"
|
version = "2.2.0.dev0"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "accelerate" },
|
{ name = "accelerate" },
|
||||||
|
|
@ -1044,6 +1117,7 @@ dependencies = [
|
||||||
{ name = "datasets" },
|
{ name = "datasets" },
|
||||||
{ name = "huggingface-hub" },
|
{ name = "huggingface-hub" },
|
||||||
{ name = "immutabledict" },
|
{ name = "immutabledict" },
|
||||||
|
{ name = "ipython" },
|
||||||
{ name = "langdetect" },
|
{ name = "langdetect" },
|
||||||
{ name = "lm-eval", extra = ["hf"] },
|
{ name = "lm-eval", extra = ["hf"] },
|
||||||
{ name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
|
{ name = "numpy", version = "2.2.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.11'" },
|
||||||
|
|
@ -1078,6 +1152,7 @@ requires-dist = [
|
||||||
{ name = "datasets", specifier = "~=5.0" },
|
{ name = "datasets", specifier = "~=5.0" },
|
||||||
{ name = "huggingface-hub", specifier = "~=1.33" },
|
{ name = "huggingface-hub", specifier = "~=1.33" },
|
||||||
{ name = "immutabledict", specifier = "~=4.3" },
|
{ name = "immutabledict", specifier = "~=4.3" },
|
||||||
|
{ name = "ipython", specifier = "~=8.39" },
|
||||||
{ name = "langdetect", specifier = "~=1.0" },
|
{ name = "langdetect", specifier = "~=1.0" },
|
||||||
{ name = "lm-eval", extras = ["hf"], specifier = "~=0.4" },
|
{ name = "lm-eval", extras = ["hf"], specifier = "~=0.4" },
|
||||||
{ name = "numpy", specifier = "~=2.2" },
|
{ name = "numpy", specifier = "~=2.2" },
|
||||||
|
|
@ -1213,6 +1288,40 @@ wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/7a/68/bd9dd6bbf06772c7accce77d0354d783333fbe712a60b08fc13540c05422/importlib_resources-5.13.0-py3-none-any.whl", hash = "sha256:9f7bd0c97b79972a6cce36a366356d16d5e13b09679c11a58f1014bfdf8e64b2", size = 32912, upload-time = "2023-07-07T16:20:58.128Z" },
|
{ url = "https://files.pythonhosted.org/packages/7a/68/bd9dd6bbf06772c7accce77d0354d783333fbe712a60b08fc13540c05422/importlib_resources-5.13.0-py3-none-any.whl", hash = "sha256:9f7bd0c97b79972a6cce36a366356d16d5e13b09679c11a58f1014bfdf8e64b2", size = 32912, upload-time = "2023-07-07T16:20:58.128Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ipython"
|
||||||
|
version = "8.39.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
||||||
|
{ name = "decorator" },
|
||||||
|
{ name = "exceptiongroup", marker = "python_full_version < '3.11'" },
|
||||||
|
{ name = "jedi" },
|
||||||
|
{ name = "matplotlib-inline" },
|
||||||
|
{ name = "pexpect", marker = "sys_platform != 'emscripten' and sys_platform != 'win32'" },
|
||||||
|
{ name = "prompt-toolkit" },
|
||||||
|
{ name = "pygments" },
|
||||||
|
{ name = "stack-data" },
|
||||||
|
{ name = "traitlets" },
|
||||||
|
{ name = "typing-extensions", marker = "python_full_version < '3.12'" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/40/18/f8598d287006885e7136451fdea0755af4ebcbfe342836f24deefaed1164/ipython-8.39.0.tar.gz", hash = "sha256:4110ae96012c379b8b6db898a07e186c40a2a1ef5d57a7fa83166047d9da7624", size = 5513971, upload-time = "2026-03-27T10:02:13.94Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/c0/56/4cc7fc9e9e3f38fd324f24f8afe0ad8bb5fa41283f37f1aaf9de0612c968/ipython-8.39.0-py3-none-any.whl", hash = "sha256:bb3c51c4fa8148ab1dea07a79584d1c854e234ea44aa1283bcb37bc75054651f", size = 831849, upload-time = "2026-03-27T10:02:07.846Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "jedi"
|
||||||
|
version = "0.20.1"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "parso" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/a3/a4/4692ecd7fa700ac1066b1c1f6cadef60aa2e01e5e364710235137d823e0a/jedi-0.20.1.tar.gz", hash = "sha256:2f71208c3f9c1bca057c0e90d3f272aba44ace88fc4067d7587e9e069331b7e5", size = 3121738, upload-time = "2026-10-12T17:42:24.361Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/be/c7/71eb0d51cdcbb63b857c931aa4e9218b078b5d9f8ecd383b234f28fe7b0f/jedi-0.20.1-py2.py3-none-any.whl", hash = "sha256:0fb16d86c4a4c73c37ba518c77419975e30fcc620658a8d14fbb5720cdd34142", size = 4885980, upload-time = "2026-10-12T17:42:21.585Z" },
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "jinja2"
|
name = "jinja2"
|
||||||
version = "3.1.6"
|
version = "3.1.6"
|
||||||
|
|
@ -1592,6 +1701,18 @@ wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/70/bc/6f1c2f612465f5fa89b95bead1f44dcb607670fd42891d8fdcd5d039f4f4/markupsafe-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa", size = 14146, upload-time = "2025-09-27T18:37:28.327Z" },
|
{ url = "https://files.pythonhosted.org/packages/70/bc/6f1c2f612465f5fa89b95bead1f44dcb607670fd42891d8fdcd5d039f4f4/markupsafe-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa", size = 14146, upload-time = "2025-09-27T18:37:28.327Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "matplotlib-inline"
|
||||||
|
version = "0.2.2"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "traitlets" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/bd/c0/9f7c9a46090390368a4d7bcb76bb87a4a36c421e4c0792cdb53486ffac7a/matplotlib_inline-0.2.2.tar.gz", hash = "sha256:72f3fe8fce36b70d4a5b612f899090cd0401deddc4ea90e1572b9f4bfb058c79", size = 8150, upload-time = "2026-05-08T17:33:33.49Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/41/09/5b161152e2d90f7b87f781c2e1267494aef9c32498df793f73ad0a0a494a/matplotlib_inline-0.2.2-py3-none-any.whl", hash = "sha256:3c821cf1c209f59fb2d2d64abbf5b23b67bcb2210d663f9918dd851c6da1fcf6", size = 9534, upload-time = "2026-05-08T17:33:32.055Z" },
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mbstrdecoder"
|
name = "mbstrdecoder"
|
||||||
version = "1.1.5"
|
version = "1.1.5"
|
||||||
|
|
@ -1880,10 +2001,10 @@ resolution-markers = [
|
||||||
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
|
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
||||||
]
|
]
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/dc/76/3af777226b63a5e64a6b36b1ec5855c14e2b94a37096d4760e595fc43511/networkx-3.7.tar.gz", hash = "sha256:fd77a511bd90f39f3d016351345b52cf5319b813bdca01de3f755d3cca62e96a", size = 1866482, upload-time = "2026-09-21T16:45:16.974Z" }
|
sdist = { url = "https://files.pythonhosted.org/packages/dc/76/3af777226b63a5e64a6b36b1ec5855c14e2b94a37096d4760e595fc43511/networkx-3.7.tar.gz", hash = "sha256:fd77a511bd90f39f3d016351345b52cf5319b813bdca01de3f755d3cca62e96a", size = 1866482, upload-time = "2026-09-21T16:45:16.974Z" }
|
||||||
|
|
@ -2066,10 +2187,10 @@ resolution-markers = [
|
||||||
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
|
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
||||||
]
|
]
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/13/01/11703282db468b85f6f7b8c7f22d058de5970d5c7e60a3a8aaa313c3de36/numpy-2.5.3.tar.gz", hash = "sha256:df2d5874ff183595a4ba404edd04f6bd9b5505c1d7708573f6a6c17489a67563", size = 20791231, upload-time = "2026-09-06T16:27:47.073Z" }
|
sdist = { url = "https://files.pythonhosted.org/packages/13/01/11703282db468b85f6f7b8c7f22d058de5970d5c7e60a3a8aaa313c3de36/numpy-2.5.3.tar.gz", hash = "sha256:df2d5874ff183595a4ba404edd04f6bd9b5505c1d7708573f6a6c17489a67563", size = 20791231, upload-time = "2026-09-06T16:27:47.073Z" }
|
||||||
|
|
@ -2244,10 +2365,10 @@ resolution-markers = [
|
||||||
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
|
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
||||||
"python_full_version == '3.11.*' and sys_platform == 'win32'",
|
"python_full_version == '3.11.*' and sys_platform == 'win32'",
|
||||||
"python_full_version == '3.11.*' and sys_platform == 'emscripten'",
|
"python_full_version == '3.11.*' and sys_platform == 'emscripten'",
|
||||||
|
|
@ -2321,6 +2442,15 @@ wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/0b/a3/6419c14da2adc1f09a6a183b8f91d7494d325b287f4ca984ac04f663638a/pandas-3.0.6-cp315-cp315t-win_arm64.whl", hash = "sha256:963ca21199097a84c7827c4678b04e30833084fbf8ef44fde3fa7180a29f8fa0", size = 9364529, upload-time = "2026-09-17T23:23:15.274Z" },
|
{ url = "https://files.pythonhosted.org/packages/0b/a3/6419c14da2adc1f09a6a183b8f91d7494d325b287f4ca984ac04f663638a/pandas-3.0.6-cp315-cp315t-win_arm64.whl", hash = "sha256:963ca21199097a84c7827c4678b04e30833084fbf8ef44fde3fa7180a29f8fa0", size = 9364529, upload-time = "2026-09-17T23:23:15.274Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "parso"
|
||||||
|
version = "0.8.7"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/30/4b/90c937815137d43ce71ba043cd3566221e9df6b9c805f24b5d138c9d40a7/parso-0.8.7.tar.gz", hash = "sha256:eaaac4c9fdd5e9e8852dc778d2d7405897ec510f2a298071453e5e3a07914bb1", size = 401824, upload-time = "2026-05-01T23:13:02.138Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/99/5d/8268b644392ee874ee82a635cd0df1773de230bde356c38de28e298392cc/parso-0.8.7-py2.py3-none-any.whl", hash = "sha256:a8926eb2a1b915486941fdbd31e86a4baf88fe8c210f25f2f35ecec5b574ca1c", size = 107025, upload-time = "2026-05-01T23:12:58.867Z" },
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pathvalidate"
|
name = "pathvalidate"
|
||||||
version = "3.3.1"
|
version = "3.3.1"
|
||||||
|
|
@ -2354,6 +2484,18 @@ wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/70/0b/59441cdbfdd342ed03c08af90a2fe16173f0cd48ab219f523b39ca059a79/peft-0.21.2-py3-none-any.whl", hash = "sha256:106ab6077ff72c54d21577f9af5970e34bac7582cb14209f7b2b511e322a4eae", size = 835427, upload-time = "2026-10-01T10:26:34.085Z" },
|
{ url = "https://files.pythonhosted.org/packages/70/0b/59441cdbfdd342ed03c08af90a2fe16173f0cd48ab219f523b39ca059a79/peft-0.21.2-py3-none-any.whl", hash = "sha256:106ab6077ff72c54d21577f9af5970e34bac7582cb14209f7b2b511e322a4eae", size = 835427, upload-time = "2026-10-01T10:26:34.085Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pexpect"
|
||||||
|
version = "4.9.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "ptyprocess" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/42/92/cc564bf6381ff43ce1f4d06852fc19a2f11d180f23dc32d9588bee2f149d/pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f", size = 166450, upload-time = "2023-11-25T09:07:26.339Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/9e/c3/059298687310d527a58bb01f3b1965787ee3b40dce76752eda8b44e9a2c5/pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523", size = 63772, upload-time = "2023-11-25T06:56:14.81Z" },
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pillow"
|
name = "pillow"
|
||||||
version = "12.3.0"
|
version = "12.3.0"
|
||||||
|
|
@ -2651,6 +2793,24 @@ wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617, upload-time = "2026-01-28T18:15:36.514Z" },
|
{ url = "https://files.pythonhosted.org/packages/8c/c7/7bb2e321574b10df20cbde462a94e2b71d05f9bbda251ef27d104668306a/psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee", size = 134617, upload-time = "2026-01-28T18:15:36.514Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ptyprocess"
|
||||||
|
version = "0.7.0"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/20/e5/16ff212c1e452235a90aeb09066144d0c5a6a8c0834397e03f5224495c4e/ptyprocess-0.7.0.tar.gz", hash = "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220", size = 70762, upload-time = "2020-12-28T15:15:30.155Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/22/a6/858897256d0deac81a172289110f31629fc4cee19b6f01283303e18c8db3/ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35", size = 13993, upload-time = "2020-12-28T15:15:28.35Z" },
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "pure-eval"
|
||||||
|
version = "0.2.4"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/da/9f/abfd2959e9261dd5217ca8551d4de211ca6ab26fe9b72cf44731ff6c4442/pure_eval-0.2.4.tar.gz", hash = "sha256:260c2774686e651b79f8b8e7fc9d80b3599ea6a66334b47d5f4abb69fc2c0ea1", size = 20563, upload-time = "2026-09-10T21:41:22.836Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/6d/18/83376915176eb058cb86470eb7396388a13350b09a8f233a79303bbcbc5b/pure_eval-0.2.4-py3-none-any.whl", hash = "sha256:96cae060a313cfaad51bb761278bfb0e62dc0248d9315a81173752dc546cd37a", size = 11893, upload-time = "2026-09-10T21:41:21.532Z" },
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "py-cpuinfo"
|
name = "py-cpuinfo"
|
||||||
version = "9.0.0"
|
version = "9.0.0"
|
||||||
|
|
@ -3371,10 +3531,10 @@ resolution-markers = [
|
||||||
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
|
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
||||||
"python_full_version == '3.11.*' and sys_platform == 'win32'",
|
"python_full_version == '3.11.*' and sys_platform == 'win32'",
|
||||||
"python_full_version == '3.11.*' and sys_platform == 'emscripten'",
|
"python_full_version == '3.11.*' and sys_platform == 'emscripten'",
|
||||||
|
|
@ -3581,10 +3741,10 @@ resolution-markers = [
|
||||||
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
|
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|
@ -3665,11 +3825,11 @@ wheels = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "setuptools"
|
name = "setuptools"
|
||||||
version = "84.0.0"
|
version = "84.1.0"
|
||||||
source = { registry = "https://pypi.org/simple" }
|
source = { registry = "https://pypi.org/simple" }
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/6d/44/f5da03a8ef95d369145c5bb53050e7877c9f3d312e128605fd9504829143/setuptools-84.0.0.tar.gz", hash = "sha256:f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73", size = 1168449, upload-time = "2026-08-08T18:27:58.365Z" }
|
sdist = { url = "https://files.pythonhosted.org/packages/73/eb/7e5f628ee2eb168fecbf8026de7856b2543d6d609cc85f086b9a91ac93d6/setuptools-84.1.0.tar.gz", hash = "sha256:23657205b63d4d31395ab917815247f694aafad28cd21316bf5fd45a51048ea0", size = 1171783, upload-time = "2026-10-19T20:11:43.489Z" }
|
||||||
wheels = [
|
wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/95/9c/c510029fc6ef33a6275cd2c5d3cecd6613dfd6aa401d57c54f1c18852ccf/setuptools-84.0.0-py3-none-any.whl", hash = "sha256:51a52592b3b99e102b609654876bd65f19f999935166d1352678931132b0c670", size = 818216, upload-time = "2026-08-08T18:27:56.719Z" },
|
{ url = "https://files.pythonhosted.org/packages/18/02/b4bbb90f8f29e334898ff45c6d9b1fffaa6f378017052b3023a06262b5f7/setuptools-84.1.0-py3-none-any.whl", hash = "sha256:5231689c6ac8156cd155cfb98c3fd6fb252c3e7e9bd3d78b64d3c55f132624c9", size = 819380, upload-time = "2026-10-19T20:11:41.684Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|
@ -3808,10 +3968,10 @@ resolution-markers = [
|
||||||
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
|
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'",
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'darwin' and sys_platform != 'emscripten' and sys_platform != 'win32'",
|
||||||
"python_full_version >= '3.14' and sys_platform == 'darwin'",
|
|
||||||
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
"python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'darwin'",
|
||||||
"python_full_version == '3.11.*' and sys_platform == 'win32'",
|
"python_full_version == '3.11.*' and sys_platform == 'win32'",
|
||||||
"python_full_version == '3.11.*' and sys_platform == 'emscripten'",
|
"python_full_version == '3.11.*' and sys_platform == 'emscripten'",
|
||||||
|
|
@ -3902,6 +4062,20 @@ version = "2.1.0"
|
||||||
source = { registry = "https://pypi.org/simple" }
|
source = { registry = "https://pypi.org/simple" }
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/12/9a/7620d1e9dcb02839ed6d4b14064e609cdd7a8ae1e47289aa0456796dd9ca/sqlitedict-2.1.0.tar.gz", hash = "sha256:03d9cfb96d602996f1d4c2db2856f1224b96a9c431bdd16e78032a72940f9e8c", size = 21846, upload-time = "2022-12-03T13:39:13.102Z" }
|
sdist = { url = "https://files.pythonhosted.org/packages/12/9a/7620d1e9dcb02839ed6d4b14064e609cdd7a8ae1e47289aa0456796dd9ca/sqlitedict-2.1.0.tar.gz", hash = "sha256:03d9cfb96d602996f1d4c2db2856f1224b96a9c431bdd16e78032a72940f9e8c", size = 21846, upload-time = "2022-12-03T13:39:13.102Z" }
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "stack-data"
|
||||||
|
version = "0.6.3"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
dependencies = [
|
||||||
|
{ name = "asttokens" },
|
||||||
|
{ name = "executing" },
|
||||||
|
{ name = "pure-eval" },
|
||||||
|
]
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/28/e3/55dcc2cfbc3ca9c29519eb6884dd1415ecb53b0e934862d3559ddcb7e20b/stack_data-0.6.3.tar.gz", hash = "sha256:836a778de4fec4dcd1dcd89ed8abff8a221f58308462e1c4aa2a3cf30148f0b9", size = 44707, upload-time = "2023-09-30T13:58:05.479Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/f1/7b/ce1eafaf1a76852e2ec9b22edecf1daa58175c090266e9f6c64afcd81d91/stack_data-0.6.3-py3-none-any.whl", hash = "sha256:d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695", size = 24521, upload-time = "2023-09-30T13:58:03.53Z" },
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sympy"
|
name = "sympy"
|
||||||
version = "1.14.0"
|
version = "1.14.0"
|
||||||
|
|
@ -4238,6 +4412,15 @@ wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/a7/03/921a3d3c75785aca9ebfbfcabfbc3a1be12e2ab5265deb026d55a5a3f83e/tqdm-4.70.1-py3-none-any.whl", hash = "sha256:c293e525e6fef9c20e8728fd4612df02a0aa31bb5fe91ecd93e123b1b7bffa73", size = 80199, upload-time = "2026-09-11T07:25:14.599Z" },
|
{ url = "https://files.pythonhosted.org/packages/a7/03/921a3d3c75785aca9ebfbfcabfbc3a1be12e2ab5265deb026d55a5a3f83e/tqdm-4.70.1-py3-none-any.whl", hash = "sha256:c293e525e6fef9c20e8728fd4612df02a0aa31bb5fe91ecd93e123b1b7bffa73", size = 80199, upload-time = "2026-09-11T07:25:14.599Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "traitlets"
|
||||||
|
version = "5.16.1"
|
||||||
|
source = { registry = "https://pypi.org/simple" }
|
||||||
|
sdist = { url = "https://files.pythonhosted.org/packages/2c/2e/a7fbfe268c8a3b32546930c0297c101d65a4a14c304ad5790a9f478f0e4e/traitlets-5.16.1.tar.gz", hash = "sha256:ed900c2b631aa3a112811139fa97b8d2c3bad5e989656bba4b7e52c7852c18c1", size = 166137, upload-time = "2026-08-03T08:32:36.848Z" }
|
||||||
|
wheels = [
|
||||||
|
{ url = "https://files.pythonhosted.org/packages/ad/66/0d785f0bc5e4315a96c989bb476d0fc07ea4f85132550c7b156ca2035d52/traitlets-5.16.1-py3-none-any.whl", hash = "sha256:f775618166caa0396c8e337099240f2bd3e5e917d203b2e6fbe21a58d3cb1f6b", size = 86211, upload-time = "2026-08-03T08:32:34.48Z" },
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "transformers"
|
name = "transformers"
|
||||||
version = "5.18.0"
|
version = "5.18.0"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue