Browse Source
Update README
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
1 changed files with
1 additions and
1 deletions
-
README.md
|
@ -24,7 +24,7 @@ The Longformer model was presented in Longformer: The Long-Document Transformer |
|
|
|
|
|
|
|
|
## Code Example |
|
|
## Code Example |
|
|
|
|
|
|
|
|
Use the pre-trained model "facebook/dpr-ctx_encoder-single-nq-base" |
|
|
|
|
|
|
|
|
Use the pre-trained model "allenai/longformer-base-4096" |
|
|
to generate a text embedding for the sentence "Hello, world.". |
|
|
to generate a text embedding for the sentence "Hello, world.". |
|
|
|
|
|
|
|
|
*Write the pipeline*: |
|
|
*Write the pipeline*: |
|
|