query: and passage: prefixes and retrieve worse without them,
see https://huggingface.co/intfloat/e5-small-v2#faq. Other models get the text unchanged.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static String | |
| pack-priv static boolean | |
| private static boolean |
| EmbeddingInputPrefixes | back to summary |
|---|---|
| private EmbeddingInputPrefixes() | |
| forPassage | back to summary |
|---|---|
| public static String forPassage(dev. | |
| forQuery | back to summary |
|---|---|
| public static String forQuery(dev. | |
| isE5 | back to summary |
|---|---|
| pack-priv static boolean isE5(String modelName) | |
| isE5 | back to summary |
|---|---|
| private static boolean isE5(dev. | |