Instructions to use ibm-research/re2g-qry-encoder-nq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ibm-research/re2g-qry-encoder-nq with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ibm-research/re2g-qry-encoder-nq")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("ibm-research/re2g-qry-encoder-nq") model = AutoModel.from_pretrained("ibm-research/re2g-qry-encoder-nq", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
c1247a2
1
Parent(s): bf4e58f
Upload pytorch_model.bin
Browse files- pytorch_model.bin +3 -0
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc0e9d706677446752ed8aa227371ee97c0a5646a4b450d086ac965e7d3b7946
|
| 3 |
+
size 438027191
|