Instructions to use ntphuc149/ViLegalEmbedder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ntphuc149/ViLegalEmbedder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ntphuc149/ViLegalEmbedder") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ntphuc149/ViLegalEmbedder: direct link, hf CLI and curl.
- Browser
- Download file 152 Bytes
-
https://huggingface.co/ntphuc149/ViLegalEmbedder/resolve/main/README.md
- Command line
-
hf download hf://ntphuc149/ViLegalEmbedder/README.md
-
curl -L -o README.md https://huggingface.co/ntphuc149/ViLegalEmbedder/resolve/main/README.md
152 Bytes
| license: apache-2.0 | |
| language: | |
| - vi | |
| base_model: | |
| - ntphuc149/ViLegalBERT-ext | |
| pipeline_tag: sentence-similarity | |
| library_name: sentence-transformers | |