{"id":24238585,"url":"https://github.com/argmaxml/splade4elastic","last_synced_at":"2025-09-23T07:31:53.117Z","repository":{"id":192208914,"uuid":"673705007","full_name":"argmaxml/splade4elastic","owner":"argmaxml","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-02T04:15:47.000Z","size":57,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-12T22:16:54.581Z","etag":null,"topics":["elasticsearch","language-model","query-expansion","sparse","vector-search"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/argmaxml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-02T08:33:24.000Z","updated_at":"2023-11-28T11:48:56.000Z","dependencies_parsed_at":"2023-09-03T11:35:56.180Z","dependency_job_id":"a1648665-8706-4c19-89ed-7d33689d29b1","html_url":"https://github.com/argmaxml/splade4elastic","commit_stats":null,"previous_names":["argmaxml/splade4elastic"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxml%2Fsplade4elastic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxml%2Fsplade4elastic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxml%2Fsplade4elastic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/argmaxml%2Fsplade4elastic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/argmaxml","download_url":"https://codeload.github.com/argmaxml/splade4elastic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233954330,"owners_count":18756480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["elasticsearch","language-model","query-expansion","sparse","vector-search"],"created_at":"2025-01-14T20:29:00.465Z","updated_at":"2025-09-23T07:31:47.841Z","avatar_url":"https://github.com/argmaxml.png","language":"Jupyter Notebook","readme":"# Splade4Elastic\n\nA simple query expansion wrapper for elastic search, that uses keyword custom weights derived from an HuggingFace masked-language-model transformer.\n\n## Example usage\n\n    from splade4elastic import SpladeRewriter\n    model_name = \"roberta-base\"\n    splader = SpladeRewriter(model_name)\n    test_texts = [\n        \"My name is John\",\n        \"The quick brown fox jumps over the lazy dog\",\n        \"I like to eat apples\",\n    ]\n    for test_text in test_texts:\n        print(test_text)\n        print(splader.query_expand(test_text))\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargmaxml%2Fsplade4elastic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fargmaxml%2Fsplade4elastic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fargmaxml%2Fsplade4elastic/lists"}