-
We need a fast way to find related documents to the given user query. I suggest a combination of:
- TF-IDF vector space or the enhanced BM25 to improve speed
- Sentence BERT to embed sentences of e…
-
For sentences in a Wet site, align them based on cross-lingual sentence embeddings, e.g., LaBSE. So, the basic steps are as follows:
1. For pages in a Web site, segment text into sentences;
2. C…
-
### Question Validation
- [X] I have searched both the documentation and discord for an answer.
### Question
Hi, I have a (typical) use-case where vector index mostly works, but there are tim…
-
Hi, in /CNN+ATT/test.h, line [114](https://github.com/thunlp/NRE/blob/6e50eb9603144eedf67152fe22c9a64a9076a3a0/CNN%2BATT/test.h#L114), it seems that the function `vector test(int *sentence, int *testP…
-
For each sentence, compare that the interaction is the same. If subject, object, and interaction type are the same then they match and put 1 (TRUE) otherwise 0 (FALSE). Report sum(match), total intera…
-
I would Like to ask that are there a way to access to the text encoder for this model or I can just simply use the encoder directly from CLIP at the same Model type. BTW, I am so sory for creating an …
-
When I try to change the word embeddings nothing happens
`
import spacy_universal_sentence_encoder
nlp_use = spacy_universal_sentence_encoder.load_model('en_use_lg')
vector = nlp_use('her').ve…
-
### Self Checks
- [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general).
- [X] I hav…
-
**LocalAI version:2.16.0
**Environment, CPU architecture, OS, and Version:**
mac studio M2 Ultra
**Describe the bug**
using backend transformers for glm4, trust_remote_code: true not c…
-
# Requirements
- [ ] Read about input embeddings technique (byte-pair encoding) used by Google's team on "Attention Is All You Need" paper.
- [ ] Design the input embeddings pipeline for **wmt 2014 e…