You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For each kind of task goes a specific model here are some models based on bloomz architecture, Open Sourced that you
43
+
could use you will find the latest model on [Credit Mutuel Arkea's hugginface ODQA collection](https://huggingface.co/collections/cmarkea/odqa-65f56ecd2b3e8e993a9982d6).
44
+
45
+
If you are using PyCharm find run configuration in `.run/**.yaml` they should appear direcly in PyCharm, those configurations uses the samllest models.
46
+
47
+
#### Embedding server
48
+
Use to vectorise documents search for `*-retriever`[models](https://huggingface.co/collections/cmarkea/odqa-65f56ecd2b3e8e993a9982d6), then start the inference server like this (smallest model) :
Use to rank severeal context according to a specific query, search for `*-reranking`[models](https://huggingface.co/collections/cmarkea/odqa-65f56ecd2b3e8e993a9982d6), then start the inference server like this (smallest model) :
The server is designed to run one task at a time. There are three different tasks:
47
-
- EMBEDDING
48
-
- SCORING
49
-
- GUARDRAIL
61
+
Then go to http://localhost:8082/docs.
62
+
63
+
Be aware to check the examples in the model card depending on the model you use to understand the meaning of the output labels.
64
+
For instance for [**cmarkea/bloomz-560m-reranking**](https://huggingface.co/cmarkea/bloomz-560m-reranking), `LABEL1`
65
+
near to 1 means that the context in really similar to the query, as [described in the model card](https://huggingface.co/cmarkea/bloomz-560m-reranking#:~:text=context%20in%20contexts%0A%20%20%20%20%5D%0A)-,contexts_reranked,-%3D%20sorted().
66
+
67
+
#### Guardrail
68
+
69
+
Use to detect responses that would be toxic for instance : insult, obscene, sexual_explicit, identity_attack...
70
+
Our guardrail models are published under `*-guardrail`[models](https://huggingface.co/collections/cmarkea/odqa-65f56ecd2b3e8e993a9982d6)
0 commit comments