Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/metric-space/llm-distance
brain-dead way to measure distance between 2 llm(s) assuming both live in R^n euclidean space
https://github.com/metric-space/llm-distance
Last synced: about 5 hours ago
JSON representation
brain-dead way to measure distance between 2 llm(s) assuming both live in R^n euclidean space
- Host: GitHub
- URL: https://github.com/metric-space/llm-distance
- Owner: metric-space
- Created: 2024-08-24T22:57:12.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-08-24T23:22:50.000Z (2 months ago)
- Last Synced: 2024-08-25T00:24:06.739Z (2 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Warning
pretty simple way to calculate distances between llm weight parameters. I will not be responsible for your potential intellectual exile for using this.
Please use with caution## usage
```bash
python -mvenv llm-distance && source bin/activate && pip install requirements.txt
python llm-distance.py model_hf_path_or_local_path_1 model_hf_path_or_local_path_2
```