"...internlm2-math-7b.git" did not exist on "29d4c7241fa603160241740af12c63a71781d317"
retribert.rst 1014 Bytes
Newer Older
Yacine Jernite's avatar
Yacine Jernite committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
RetriBERT
----------------------------------------------------

Overview
~~~~~~~~~~~~~~~~~~~~~

The RetriBERT model was proposed in the blog post
`Explain Anything Like I'm Five: A Model for Open Domain Long Form Question Answering <https://yjernite.github.io/lfqa.html>`__,
RetriBERT is a small model that uses either a single or pair of Bert encoders with lower-dimension projection for dense semantic indexing of text.

Code to train and use the model can be found `here <https://github.com/huggingface/transformers/tree/master/examples/distillation>`_.


RetriBertConfig
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: transformers.RetriBertConfig
    :members:


RetriBertTokenizer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: transformers.RetriBertTokenizer
    :members:


RetriBertTokenizerFast
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: transformers.RetriBertTokenizerFast
    :members:


RetriBertModel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autoclass:: transformers.RetriBertModel
    :members: