Instructions to use deepset/gbert-base-germandpr-reranking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use deepset/gbert-base-germandpr-reranking with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="deepset/gbert-base-germandpr-reranking")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("deepset/gbert-base-germandpr-reranking") model = AutoModelForSequenceClassification.from_pretrained("deepset/gbert-base-germandpr-reranking", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update model metadata to set pipeline tag to the new `text-ranking` and library name to `sentence-transformers`
Verified signatureHello! ## Pull Request overview * Update metadata to set pipeline tag to the new `text-ranking` * Update metadata to set library name to `sentence-transformers` ## Changes This is an automated pull request to update the metadata of the model card. We recently introduced the [`text-ranking`](https://huggingface.co/models?pipeline_tag=text-ranking) pipeline tag for models that are used for ranking tasks, and we have a suspicion that this model is one of them. I also updated added metadata to specify that this model can be loaded with the `sentence-transformers` library, as it should be possible to load any model compatible with `transformers` `AutoModelForSequenceClassification`. Feel free to verify that it works with the following: ```bash pip install sentence-transformers ``` ```python from sentence_transformers import CrossEncoder model = CrossEncoder("deepset/gbert-base-germandpr-reranking") scores = model.predict([ ("How many people live in Berlin?", "Berlin had a populati…0c7f62d
-
Update README.md
Verified signature99d016f
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (a640694ffa4da290a0357a611981bbdb09e2a5c9) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>9a87f09
-
Update README.md
ab2c300
-
Update README.md
4497fc4
-
Update README.md
3a2a360
-
Update README.md
0a56089 -
Update README.md
4db8058 -
Update README.md
04c190f -
Converted FARM model to transformers
3bda274 -
FARM model converted to transformers
bcf34f8 -
First version of the gbert-base-germandpr-reranking model and tokenizer.
e3dcd48
-
Create README.md
5719859 -
initial commit
da140f8