Sentence Similarity
sentence-transformers
PyTorch
Transformers
Korean
bert
feature-extraction
TAACO
text-embeddings-inference
Instructions to use KDHyun08/TAACO_STS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use KDHyun08/TAACO_STS with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("KDHyun08/TAACO_STS") 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] - Transformers
How to use KDHyun08/TAACO_STS with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("KDHyun08/TAACO_STS") model = AutoModel.from_pretrained("KDHyun08/TAACO_STS") - Notebooks
- Google Colab
- Kaggle
Upload with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -5,9 +5,10 @@ tags:
|
|
| 5 |
- feature-extraction
|
| 6 |
- sentence-similarity
|
| 7 |
- transformers
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
#
|
| 11 |
|
| 12 |
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
| 13 |
|
|
@@ -34,8 +35,9 @@ print(embeddings)
|
|
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
-
## Usage (
|
| 38 |
-
|
|
|
|
| 39 |
|
| 40 |
```python
|
| 41 |
model = SentenceTransformer("KDHyun08/TAACO_STS")
|
|
|
|
| 5 |
- feature-extraction
|
| 6 |
- sentence-similarity
|
| 7 |
- transformers
|
| 8 |
+
lan: ko
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# TAACO_Similarity
|
| 12 |
|
| 13 |
This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
|
| 14 |
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
+
## Usage (์ค์ ๋ฌธ์ฅ ๊ฐ ์ ์ฌ๋ ๋น๊ต)
|
| 39 |
+
Sentence-transformers [sentence-transformers](https://www.SBERT.net) ๋ฅผ ์ค์นํ ํ ์๋ ๋ด์ฉ๊ณผ ๊ฐ์ด ๋ฌธ์ฅ ๊ฐ ์ ์ฌ๋๋ฅผ ๋น๊ตํ ์ ์์ต๋๋ค.
|
| 40 |
+
query ๋ณ์๋ ๋น๊ต ๊ธฐ์ค์ด ๋๋ ๋ฌธ์ฅ(Source Sentence)์ด๊ณ ๋น๊ต๋ฅผ ์งํํ ๋ฌธ์ฅ์ docs์ list ํ์์ผ๋ก ๊ตฌ์ฑํ์๋ฉด ๋ฉ๋๋ค.
|
| 41 |
|
| 42 |
```python
|
| 43 |
model = SentenceTransformer("KDHyun08/TAACO_STS")
|