Tech News
← Back to articles

I extracted the safety filters from Apple Intelligence models

read original related products more articles

Decrypted Generative Model safety files for Apple Intelligence containing filters

Structure

decrypted_overrides/ : Contains decrypted overrides for various models. com.apple.*/ : Directory named using the Asset Specifier assosciated with the safety info Info.plist : Contains metadata for the override AssetData/ : Contains the decrypted JSON files

: Contains decrypted overrides for various models. get_key_lldb.py : Script to get the encryption key (see usage info below)

: Script to get the encryption key (see usage info below) decrypt_overrides.py : Script to decrypt the overrides (see usage info below)

Usage

Python dependencies

cryptography is the only dependency required to run the decryption script. You can install it using pip:

pip install cryptography

Getting the encryption key

... continue reading