Skip to content

Commit

Permalink
SPARKNLP-737: ZeroShotNer Notebook (#13474)
Browse files Browse the repository at this point in the history
  • Loading branch information
DevinTDHa authored and Jose J. Martinez committed Feb 17, 2023
1 parent 5e174e9 commit 148cf24
Show file tree
Hide file tree
Showing 7 changed files with 284 additions and 16,929 deletions.
3 changes: 3 additions & 0 deletions docs/en/transformer_entries/ZeroShotNer.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ used to recognize entities. The definitions of entities is given by a dictionary
specifying a set of questions for each entity. The model is based on
RoBertaForQuestionAnswering.

For more extended examples see the
[Examples](https://github.com/JohnSnowLabs/spark-nlp/blob/master/examples/python/annotation/text/english/named-entity-recognition/ZeroShot_NER.ipynb).

Pretrained models can be loaded with `pretrained` of the companion object:

```scala
Expand Down
7,131 changes: 0 additions & 7,131 deletions examples/bak2.Text_Preprocessing_with_SparkNLP_Annotators_Transformers.ipynb

This file was deleted.

Loading

0 comments on commit 148cf24

Please sign in to comment.