CoolFace
Datasetpublic

chowalex/scotus_opinions

SCOTUS Opinions Collection of embeddings of SCOTUS opinions from argument years 1991 to 2024 (as of Jan 2025). Source material is available from the official SCOTUS web site. Data is generated using text-embedding-ada-002, with a chunk size of 2560 tokens and 256-token overlap. Usage To load the dataset into langchain VectorStore: vectorstore = SKLearnVectorStore( embedding=OpenAIEmbeddings(openai_api_key=api_key), persist_path=$PATH… See the full description on the dataset page: https://huggingface.co/datasets/chowalex/scotus_opinions.

sourceHugging Facemitupdated 2y agoView on Hugging Face
1likes332downloads
Dataset Card

SCOTUS Opinions

Collection of embeddings of SCOTUS opinions from argument years 1991 to 2024 (as of Jan 2025). Source material is available from the official SCOTUS web site.

Data is generated using text-embedding-ada-002, with a chunk size of 2560 tokens and 256-token overlap.

Usage

To load the dataset into langchain VectorStore:

vectorstore = SKLearnVectorStore(
      embedding=OpenAIEmbeddings(openai_api_key=api_key),
      persist_path=$PATH,
      serializer="parquet")