Skip to main content

What is FlashEmbed?

Lightweight & Fast Python library to add low-footprint (all-MiniLM-* equivalent) multilingual retrievers to your RAG and Search & Retrieval pipelines. No heavy torch or transformer dependencies like it's Sister library FlashRank. FlashEmbed uses miniMiracle* series of models. Ofcourse we will be adding more retrievers in future.

📖 License & Terms

The library is licensed under Apache 2.0 but the weights are licensed differently see below for details. Note: The below license & terms apply ONLY for miniMiracle series models. Use responsibly.

🚀 Installation

pip install flashembed

Supported Models

📖 Usage

from flashembed import Embedder
from typing import List

passages = [
    'एक आदमी खाना खा रहा है।',
    'लोग ब्रेड का एक टुकड़ा खा रहे हैं।',
    'लड़की एक बच्चे को उठाए हुए है।',
    'एक आदमी घोड़े पर सवार है।',
    'एक महिला वायलिन बजा रही है।',
    'दो आदमी जंगल में गाड़ी धकेल रहे हैं।',
    'एक आदमी एक सफेद घोड़े पर एक बंद मैदान में सवारी कर रहा है।',
    'एक बंदर ड्रम बजा रहा है।',
    'एक चीता अपने शिकार के पीछे दौड़ रहा है।',
    'एक बड़ा डिनर है।'
]
    

# Onetime Init and Load model
embedder = Embedder('prithivida/miniMiracle_hi_v1')

embeddings = embedder.encode(passages) 

Metadata

Release files for flashembed 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flashembed 0.0.2
File Size Uploaded Provenance
flashembed-0.0.2.tar.gz 8.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for flashembed 0.0.2
File Interpreter ABI Platform
flashembed-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 19.7 kB

Release files / flashembed-0.0.2.tar.gz

Download URL flashembed-0.0.2.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8062ba0eed13e2347e068cceef4f538d1428e4c062c00a81db0280fd17f95ba3
BLAKE2b-256 checksum
How to use checksums
cbef0d5a27e515df21c21aee53cba6950b200fee1cfadb47231c47fba5dfe77b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / flashembed-0.0.2-py3-none-any.whl

Download URL flashembed-0.0.2-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdaf2c8bbf7260ffdfbff712fdbbb20e94e8f97cfd72a542c526342558159b63
BLAKE2b-256 checksum
How to use checksums
7d769466463a525871a03a153198fb764cf57936af80040a3e3475fef81550e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for flashembed 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page