Spaces:
Running
Running
chore: update related descriptions
Browse files- README.md +10 -8
- lightweight_embeddings/__init__.py +4 -5
- pyproject.toml +2 -1
README.md
CHANGED
|
@@ -7,20 +7,22 @@ sdk: docker
|
|
| 7 |
app_file: app.py
|
| 8 |
---
|
| 9 |
|
| 10 |
-
# π LightweightEmbeddings: Multilingual, Fast, and
|
| 11 |
|
| 12 |
-
**LightweightEmbeddings** is a
|
| 13 |
|
| 14 |
## β¨ Key Features
|
| 15 |
|
| 16 |
-
- **
|
| 17 |
-
- **
|
| 18 |
-
- **
|
| 19 |
-
- **
|
|
|
|
|
|
|
| 20 |
- Text models: `multilingual-e5-small`, `paraphrase-multilingual-MiniLM-L12-v2`, `bge-m3`
|
| 21 |
- Image model: `google/siglip-base-patch16-256-multilingual`
|
| 22 |
-
- **
|
| 23 |
-
- **Interactive
|
| 24 |
|
| 25 |
## π Use Cases
|
| 26 |
|
|
|
|
| 7 |
app_file: app.py
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# π LightweightEmbeddings: Multilingual, Fast, and Unlimited
|
| 11 |
|
| 12 |
+
**LightweightEmbeddings** is a fast, free, and unlimited API service for multilingual embeddings and reranking, with support for both text and images and guaranteed uptime.
|
| 13 |
|
| 14 |
## β¨ Key Features
|
| 15 |
|
| 16 |
+
- **Free and Unlimited**: A completely free API service with no limits on usage, making it accessible for everyone.
|
| 17 |
+
- **Multilingual Support**: Seamlessly process text in over 100+ languages for global applications.
|
| 18 |
+
- **Text and Image Embeddings**: Generate high-quality embeddings from text or image-text pairs using state-of-the-art models.
|
| 19 |
+
- **Reranking Support**: Includes powerful reranking capabilities for both text and image inputs.
|
| 20 |
+
- **Optimized for Speed**: Built with lightweight transformer models and efficient backends for rapid inference, even on low-resource systems.
|
| 21 |
+
- **Flexible Model Support**: Use a range of transformer models tailored to diverse use cases:
|
| 22 |
- Text models: `multilingual-e5-small`, `paraphrase-multilingual-MiniLM-L12-v2`, `bge-m3`
|
| 23 |
- Image model: `google/siglip-base-patch16-256-multilingual`
|
| 24 |
+
- **Production-Ready**: Easily deploy anywhere with Docker for hassle-free setup.
|
| 25 |
+
- **Interactive Playground**: Test embeddings and reranking directly via a **Gradio-powered interface** alongside detailed REST API documentation.
|
| 26 |
|
| 27 |
## π Use Cases
|
| 28 |
|
lightweight_embeddings/__init__.py
CHANGED
|
@@ -111,10 +111,9 @@ def create_main_interface():
|
|
| 111 |
# Project Info
|
| 112 |
gr.Markdown(
|
| 113 |
"""
|
| 114 |
-
## π **Lightweight Embeddings**
|
| 115 |
-
|
| 116 |
-
Welcome to the **Lightweight Embeddings
|
| 117 |
-
supporting **text** and **image** embeddings. Below you'll find key project details:
|
| 118 |
"""
|
| 119 |
)
|
| 120 |
gr.Markdown(
|
|
@@ -124,7 +123,7 @@ def create_main_interface():
|
|
| 124 |
- **Description**: {root_data["description"]}
|
| 125 |
|
| 126 |
### π Links
|
| 127 |
-
- [Documentation]({root_data["docs"]}) | [GitHub]({root_data["github"]}) | [
|
| 128 |
|
| 129 |
### π‘ How to Use
|
| 130 |
Visit **/docs** for API documentation or try the playground below! π
|
|
|
|
| 111 |
# Project Info
|
| 112 |
gr.Markdown(
|
| 113 |
"""
|
| 114 |
+
## π **Lightweight Embeddings API**
|
| 115 |
+
|
| 116 |
+
Welcome to the **Lightweight Embeddings API**, a fast, free, and unlimited service for generating multilingual embeddings and reranking, supporting both **text** and **image** inputs. Discover its key features and capabilities below:
|
|
|
|
| 117 |
"""
|
| 118 |
)
|
| 119 |
gr.Markdown(
|
|
|
|
| 123 |
- **Description**: {root_data["description"]}
|
| 124 |
|
| 125 |
### π Links
|
| 126 |
+
- [Documentation]({root_data["docs"]}) | [GitHub]({root_data["github"]}) | [Playground]({root_data["spaces"]})
|
| 127 |
|
| 128 |
### π‘ How to Use
|
| 129 |
Visit **/docs** for API documentation or try the playground below! π
|
pyproject.toml
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
[tool.poetry]
|
| 2 |
name = "lightweight-embeddings"
|
| 3 |
version = "0.1.0"
|
| 4 |
-
|
|
|
|
| 5 |
authors = ["Hieu Lam <[email protected]>"]
|
| 6 |
readme = "README.md"
|
| 7 |
|
|
|
|
| 1 |
[tool.poetry]
|
| 2 |
name = "lightweight-embeddings"
|
| 3 |
version = "0.1.0"
|
| 4 |
+
short_description = "A fast, free, unlimited APIs service for multilingual embeddings and reranking, supporting text and image inputs."
|
| 5 |
+
description = "LightweightEmbeddings is a fast, free, and unlimited API service for multilingual embeddings and reranking, with support for both text and images and guaranteed uptime."
|
| 6 |
authors = ["Hieu Lam <[email protected]>"]
|
| 7 |
readme = "README.md"
|
| 8 |
|