-
When i try to convert a sentence transformers model to TorchScript i get: try blocks aren't supported
```
from sentence_transformers import SentenceTransformer, util
model = SentenceTransformer( …
-
Hi, I bootstrapped ix with the docker solution and tried to do build a RAG agent with huggingface embedding, which needs sentence-transformers the python lib.
But it seems that sentence-transformer…
-
### System Info
latest transformers
### Who can help?
@ArthurZucker
### Information
- [ ] The official example scripts
- [x] My own modified scripts
### Tasks
- [ ] An officiall…
-
Repro:
transformers: `pip install git+https://github.com/huggingface/transformers`
setfit: `pip install setfit==1.1.0`
code:
```
dataset = load_dataset("sst2")
train_dataset = samp…
-
Hi,
On DEV branch, deploying the app locally take a lot of time in particular the backend.
Requirement.txt file from the backend contains packages (sentence-transformers, effdet) that have heavy d…
-
我看官方代码好像是在右边打padding的,默认会把在末尾的 \替换到前面,然后使用右对齐padding.
默认会把在末尾的 \替换到前面
```
def preprocess_multimodal(
sources: Sequence[str],
data_args: DataArguments
) -> Dict:
is_multimodal = da…
-
/AutoPrompt$ python run_pipeline.py
╭───────────────────── Traceback (most recent call last) ─────────────────────╮
│ /home/shuvo/Documents/ML Project/remote/AutoPrompt/run_pipeline.py:1 in │
…
-
### System Info
- `transformers` version: 4.45.2
- Platform: Linux-5.4.0-193-generic-x86_64-with-glibc2.31
- Python version: 3.12.7
- Huggingface_hub version: 0.25.2
- Safetensors version: 0.4.5
…
-
Hello,
I found out that, since Tensorflow (v2.16+) recently changed the default version of Keras to the version 3, is there any initiative to update the code to make it work with Keras v3.
If such…
-
With the popularity of RAG, it would be great if TensorRT-LLM supported text-embedding and re-ranking models from sentence-transformers.