File size: 1,123 Bytes
8ca7ac3
c4899bb
 
8ca7ac3
 
561cac4
 
 
 
8ca7ac3
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
language:
- en
license: agpl-3.0
---
Original Repository:

https://huggingface.co/datasets/justicedao/Caselaw_Access_Project_embeddings/

This is an embeddings dataset for the Caselaw Access Project, created by a user named Endomorphosis.

Each caselaw entry is hashed with IPFS / multiformats, so retrieval of the document can be made over the IPFS / filecoin network

The ipfs content id "cid" is the primary key that links the dataset to the embeddings, should you want to retrieve from the dataset instead.

The dataset has been had embeddings generated with three models: thenlper/gte-small, Alibaba-NLP/gte-large-en-v1.5, and Alibaba-NLP/gte-Qwen2-1.5B-instruct

Those models have a context length of 512, 8192, and 32k tokens respectively, with 384, 1024, and 1536 dimensions

These embeddings are put into 4096 clusters, the centroids for each cluster is provided, as well as the content ids for each cluster, for each model.

To search the embeddings on the client side, it would be wise to first query against the centroids, and then retrieve the closest gte-small cluster, and then query against the cluster.