Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,6 +65,7 @@ docs = 'https://esdocs.ai.remeinium.com'
|
|
| 65 |
js_docs = 'https://esdocs.ai.remeinium.com/api-reference/introduction#javascript'
|
| 66 |
cu_docs = 'https://esdocs.ai.remeinium.com/api-reference/introduction#curl'
|
| 67 |
status = 'https://stats.uptimerobot.com/HZFBOsSvBT'
|
|
|
|
| 68 |
|
| 69 |
# -------------------------
|
| 70 |
# Model Loading
|
|
@@ -76,7 +77,7 @@ if not HF_TOKEN:
|
|
| 76 |
try:
|
| 77 |
print("Downloading UgannA_SiyabasaV2 model...")
|
| 78 |
model_path = hf_hub_download(
|
| 79 |
-
repo_id="Remeinium/UgannA_SiyabasaV2
|
| 80 |
filename="UgannA_SiyabasaV2.bin",
|
| 81 |
token=HF_TOKEN,
|
| 82 |
repo_type="model"
|
|
@@ -777,6 +778,8 @@ with gr.Blocks(title="Sinhala Embeddings API", css=styles) as demo:
|
|
| 777 |
## Welcome to the official HuggingFace Space for _Embedding Siyabasa_
|
| 778 |
|
| 779 |
The `Embedding_Siyabasa API` provides high-quality text embedding models specifically designed for the `Sinhala` language. Generate embeddings for Sinhala words, phrases, and sentences using our latest model `UgannA_SiyabasaV2`. These language-specific embeddings power advanced **NLP tasks such as semantic search, text classification, and document clustering**, delivering more accurate and context-aware results than traditional keyword-based approaches.
|
|
|
|
|
|
|
| 780 |
|
| 781 |
**Key features:**
|
| 782 |
- **Language-specific**: Optimized exclusively for Sinhala text
|
|
|
|
| 65 |
js_docs = 'https://esdocs.ai.remeinium.com/api-reference/introduction#javascript'
|
| 66 |
cu_docs = 'https://esdocs.ai.remeinium.com/api-reference/introduction#curl'
|
| 67 |
status = 'https://stats.uptimerobot.com/HZFBOsSvBT'
|
| 68 |
+
model = 'https://huggingface.com/Remeinium/UgannA_SiyabasaV2'
|
| 69 |
|
| 70 |
# -------------------------
|
| 71 |
# Model Loading
|
|
|
|
| 77 |
try:
|
| 78 |
print("Downloading UgannA_SiyabasaV2 model...")
|
| 79 |
model_path = hf_hub_download(
|
| 80 |
+
repo_id="Remeinium/UgannA_SiyabasaV2",
|
| 81 |
filename="UgannA_SiyabasaV2.bin",
|
| 82 |
token=HF_TOKEN,
|
| 83 |
repo_type="model"
|
|
|
|
| 778 |
## Welcome to the official HuggingFace Space for _Embedding Siyabasa_
|
| 779 |
|
| 780 |
The `Embedding_Siyabasa API` provides high-quality text embedding models specifically designed for the `Sinhala` language. Generate embeddings for Sinhala words, phrases, and sentences using our latest model `UgannA_SiyabasaV2`. These language-specific embeddings power advanced **NLP tasks such as semantic search, text classification, and document clustering**, delivering more accurate and context-aware results than traditional keyword-based approaches.
|
| 781 |
+
|
| 782 |
+
Get the Model (`UgannA_SiyabasaV2`): https://huggingface.co/Remeinium/UgannA_SiyabasaV2
|
| 783 |
|
| 784 |
**Key features:**
|
| 785 |
- **Language-specific**: Optimized exclusively for Sinhala text
|