2025-09-15 19:57:30 +08:00
|
|
|
# Pooling models
|
|
|
|
|
|
|
|
|
|
## Cohere rerank usage
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
python examples/online_serving/pooling/cohere_rerank_client.py
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Jinaai rerank usage
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
python examples/online_serving/pooling/jinaai_rerank_client.py
|
|
|
|
|
```
|
|
|
|
|
|
2025-09-18 23:22:01 +08:00
|
|
|
## Named Entity Recognition (NER) usage
|
|
|
|
|
|
|
|
|
|
```bash
|
2025-10-13 16:44:50 +08:00
|
|
|
python examples/online_serving/pooling/ner_client.py
|
2025-09-18 23:22:01 +08:00
|
|
|
```
|
|
|
|
|
|
2025-09-15 19:57:30 +08:00
|
|
|
## Openai chat embedding for multimodal usage
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
python examples/online_serving/pooling/openai_chat_embedding_client_for_multimodal.py
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Openai classification usage
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
python examples/online_serving/pooling/openai_classification_client.py
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Openai embedding usage
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
python examples/online_serving/pooling/openai_embedding_client.py
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Openai embedding matryoshka dimensions usage
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
python examples/online_serving/pooling/openai_embedding_matryoshka_fy.py
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Openai pooling usage
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
python examples/online_serving/pooling/openai_pooling_client.py
|
|
|
|
|
```
|