linear-relational

View on PyPIReverse Dependencies (0)

0.6.2 linear_relational-0.6.2-py3-none-any.whl

Wheel Details

Project: linear-relational
Version: 0.6.2
Filename: linear_relational-0.6.2-py3-none-any.whl
Download: [link]
Size: 32519
MD5: 515d77640ce400f02e29993858cb5f5a
SHA256: de9dbe439517bd4c34bc61f2307ad12b24c56ac6290cde1799bd015dfbbf066c
Uploaded: 2024-08-07 22:02:59 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: linear-relational
Version: 0.6.2
Summary: A Python library for working with Linear Relational Embeddings (LREs) and Linear Relational Concepts (LRCs) for LLMs
Author: David Chanin
Author-Email: chanindav[at]gmail.com
Home-Page: https://chanind.github.io/linear-relational
Project-Url: Repository, https://github.com/chanind/linear-relational
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10,<4.0
Requires-Dist: dataclasses-json (<0.7.0,>=0.6.2)
Requires-Dist: tqdm (>=4.0.0)
Requires-Dist: transformers (<5.0.0,>=4.42.0)
Description-Content-Type: text/markdown
[Description omitted; length: 9434 characters]

WHEEL

Wheel-Version: 1.0
Generator: poetry-core 1.9.0
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
linear_relational/CausalEditor.py sha256=n2N6epA-9MWA_yvqfR0aiRl2cLL8BSmLg1UA-bjsLn0 10932
linear_relational/Concept.py sha256=8iU7itRPH-tayaXYBrYwfLhAv_buqbFVyzbW5z_0DM0 1027
linear_relational/ConceptMatcher.py sha256=2LpUveGsedAcVFJNXuVlcqOQVULlCGkFPyfjuGlBvpM 5243
linear_relational/Lre.py sha256=A4v5mC6Za7xjeM6B7BOcndK-jEYkZpVhVsOOqnfWNiE 8412
linear_relational/Prompt.py sha256=QdQmcgiPvSztE16qaSWiM0svtL5Ojf8V_1eI69-e1CE 559
linear_relational/PromptValidator.py sha256=JirXCEdrKHrsxVi4mpedHvs6dfYh4TDey5hEZjx6U1g 3460
linear_relational/__init__.py sha256=4_CAZ-bm-I6cOYrlFpriT5x0n9idYluvN7iPT7y9iVY 930
linear_relational/lib/TraceLayer.py sha256=jenThJ_Z1O_YMrNC7MunEP5ctM-n_QMi3eGfJBkQpG0 4784
linear_relational/lib/TraceLayerDict.py sha256=uAv5UcNcP6RBS9viw39OZs6LAawppXDGyjbFuaG-Kz0 2988
linear_relational/lib/balance_grouped_items.py sha256=yG1-Lr68ey3pX51qVGAZIcRv1KH10RJ3FqosbQz0PfE 1893
linear_relational/lib/constants.py sha256=YncGOyURWVv58B_H-kPqXslTpxxetZ1K4-xUMCZbNN4 92
linear_relational/lib/extract_token_activations.py sha256=aJJG9X7kfzeRwS6H2WW6xzncmLKdLsRJ01ks06G7_X4 4280
linear_relational/lib/layer_matching.py sha256=Aq7I0GMgfQNylizf1BvZQ7j5iscCZcniVOEqGNaVbLQ 3523
linear_relational/lib/logger.py sha256=pX18xe14KSELmBHH7hfbrsQV68R2SPmq06CCSFsVbpI 270
linear_relational/lib/token_utils.py sha256=Ksk6mu6ILGGENQRKTAXLZyb0ESeeSrSEsvut-4SZN80 9877
linear_relational/lib/torch_utils.py sha256=z8Zp_wU6qP_lky26x0Rx8npnnzxI0w8gSBxPEo9fqEI 2306
linear_relational/lib/util.py sha256=tArBq4pzRbSmQwz9BuXv-YVWcw0ImZLa_gbyf1oYPjw 3015
linear_relational/lib/verify_answers_match_expected.py sha256=93_9XwrcXtPiQeHkaaFto_wDVbqtsd4cH6JsH-7l98Y 2550
linear_relational/py.typed sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
linear_relational/training/Trainer.py sha256=r4gqJYRh-ctdwZ0geTIAZ7eb5LVBqe19AsDt6leJX68 11936
linear_relational/training/train_lre.py sha256=djsOSJpu89pG72IN5iYb2uXgCwBWa_WSCXC9saktiP0 7752
linear_relational-0.6.2.dist-info/LICENSE sha256=nidVKCwQACgA3T0jE8zmTw0L2pAG9PsOV-_7dHVnZ84 1069
linear_relational-0.6.2.dist-info/METADATA sha256=ifkJrJn4Fp5T4IwoxuStrU8punPqn4xkS6k6moNwZWw 10197
linear_relational-0.6.2.dist-info/WHEEL sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg 88
linear_relational-0.6.2.dist-info/RECORD