-
### What is the issue?
When using different context sizes (`num_ctx`) with the Ollama embedding model, I noticed big differences in the cosine similarity of the embeddings. Specifically, when I set t…
-
### Describe the bug
When running `pytest tests/openadapt/test_summary.py::test_summary_empty `
the result is:
```
============================================================================…
-
用的示例代码
```
from FlagEmbedding import FlagAutoModel
import argparse
import json
import random
import numpy as np
import faiss
from tqdm import tqdm
from FlagEmbedding import FlagModel
if …
-
How can we use BM25 to measure similarity between two sentences.
Currently the function is not symmetric i.e BM25(R,S) not equals BM25(S,R)
-
Filter out the sentences that are irrelevant to the discussion introduction
-
Given two sentences words1, words2 (each represented as an array of strings), and a list of similar word pairs pairs, determine if two sentences are similar.
For example, "great acting skills" and …
-
### Describe the bug
I have a TEI embedding model endpoint created like this:
```py
from huggingface_hub import create_inference_endpoint
repository = "thenlper/gte-large" #"BAAI/bge-reran…
-
# Speech2Text With Sentence Similarity - Samip Timalsena
Understanding speech has always been a tough task, so as to convert it to text. But the scenario has changed a lot.
[https://samiptimalsena.c…
-
Thanks so much for the great work and nice documentation!
I have a question regarding using the sense2vec to find the similarity score between 2 sentences. For example, "What is the color of the a…
-
### What is the issue?
I'm working on a RAG app, I'd like to simplify my stack by using ollama instead of sentence transformers but I'm observing some odd behavior from ollama embeddings. Here's what…