HF RL Explorer

Feature request: Support automatic prompt prefix from config sentence transformers.json for embeddings

Feature request: Support automatic prompt prefix from config sentence transformers.json for embeddings: a task in LegoFlow-SWE (Harbor dataset). Some embedding models require specific prompt prefixes (e.g., different prefixes for queries vs. passages) to produce the expected embeddings. Currently…

The task

Some embedding models require specific prompt prefixes (e.g., different prefixes for queries vs. passages) to produce the expected embeddings. Currently, the server embeds the raw input text as-is, which can lead to embeddings that differ from other libraries/tools that automatically apply the model’s configured…

Part of Lego-X/LegoFlow-SWE.