Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```