Spark NLP Overview
- 43Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
43 questions
- 1Spark NLP is an_____licensed software library for Python, Java, and Scala.
Hint
This license allows both personal and commercial use.
Answer
Apache 2.0
- 2Every Spark NLP pipeline is also a_____pipeline.
Hint
Think about the underlying distributed computing framework.
Answer
Spark ML
- 3Spark NLP is the only open source NLP library that natively scales to a_____.
Hint
This allows processing on multiple machines for big data.
Answer
cluster
- 4Spark NLP can run on any Apache_____cluster.
Hint
The library is built on top of this distributed computing system.
Answer
Spark
- 5The three design goals of Spark NLP are state-of-the-art accuracy, performance/speed, and_____.
Hint
This goal ensures the library can handle large amounts of data across multiple machines.
Answer
scalability
- 6Spark NLP achieved a_____F1 score on the CoNLL-2003 test set for NER using BERT Large.
Hint
This score is a specific number after the decimal point.
Answer
93.3
- 7On the CoNLL-2003 dev set, Spark NLP achieved a_____F1 score using BERT Large.
Hint
This score is slightly higher than the test set score.
Answer
95.9
- 8In a comparison with spaCy, Spark NLP achieved higher accuracy with default parameters; spaCy reached almost_____F1 on a dev dataset.
Hint
This is a percentage value just below 93.
Answer
92%
- 9Spark NLP's classifiers can use over_____pre-trained word and sentence embeddings.
Hint
This number is between 80 and 100.
Answer
90
- 10Spark NLP's language detection achieves_____accuracy for 22 languages.
Hint
This is a very high percentage, almost perfect.
Answer
99%
- 11Spark NLP includes built-in_____and multi-label text classification.
Hint
This type of classification assigns each document to a single class among many.
Answer
multi-class
- 12Detecting toxic comments is an example of_____text classification.
Hint
This type allows multiple labels for a single document.
Answer
multi-label
- 13Spark NLP's language detection models are trained over_____Wikipedia pages.
Hint
This is a large number, in the millions.
Answer
8 million
- 14Spark NLP's spell checking model was initially created to handle bad inputs from_____.
Hint
This technology converts images of text into machine-readable text.
Answer
OCR
- 15Spark NLP comes with_____word embedding models right out of the box.
Hint
This is a round number, slightly more than 40.
Answer
50
- 16Spark NLP includes transformer models such as BERT, ALBERT, ELECTRA, XLNet, and_____.
Hint
This is another contextual embedding model, named after a famous character.
Answer
ELMO
- 17Tiny BERT is_____times smaller than BERT-Base.
Hint
This is the factor by which the model size is reduced.
Answer
24
- 18With implementing dynamic shapes, Spark NLP improved BERT embeddings memory by_____.
Hint
This is a percentage improvement in memory usage.
Answer
30%
- 19Spark NLP offers over_____pre-trained embeddings that can be used with classifiers.
Hint
This number is the same as the number of embeddings for classifiers.
Answer
90
- 20In early 2020, Spark NLP improved training speed by over_____when moving to TensorFlow 1.15.
Hint
This is a percentage improvement in speed.
Answer
60%
- 21Using GPU in Spark NLP can make tasks_____faster in both training and prediction.
Hint
This is a range of percentage improvement.
Answer
40-50%
- 22Using custom TensorFlow optimized for Intel (MKL), training French NER was_____faster than GPU.
Hint
This is a specific percentage, less than 20.
Answer
19%
- 23With dynamic shapes, Spark NLP improved BERT performance by_____.
Hint
This is a significant percentage improvement in speed.
Answer
70%
- 24On a single machine, Spark NLP can tokenize_____words per second.
Hint
This is a number in the hundreds of thousands.
Answer
340,000
- 25On a 10-node cluster, tokenization speed reaches_____words per second.
Hint
This is in the millions.
Answer
7 million
- 26For NER on a single machine, Spark NLP processes_____words per second.
Hint
This is a number in the tens of thousands.
Answer
38,000
- 27On a 10-node cluster, NER speed increases to_____words per second.
Hint
This is a number just over 100,000.
Answer
136,000
- 28For BERT embeddings on a single machine, Spark NLP processes_____words per second.
Hint
This is a number in the tens of thousands.
Answer
19,000
- 29Using BERT-Tiny on a single machine, Spark NLP processes_____words per second.
Hint
This is in the hundreds of thousands.
Answer
170,000
- 30On a 10-node cluster with BERT-Tiny, speed reaches almost_____words per second.
Hint
This is half a million.
Answer
500,000
- 31Spark NLP needs_____code change to scale a pipeline on a Spark cluster.
Hint
This means no modifications are required.
Answer
zero
- 32Scaling in Spark NLP is not_____; it depends on task and cluster tuning.
Hint
This means adding more nodes does not give proportional speedup.
Answer
linear
- 33Spark NLP has over_____pre-trained pipelines supporting up to 13 languages.
Hint
This is a number in the nineties.
Answer
90
- 34Spark NLP offers over_____pre-trained models supporting up to 46 languages.
Hint
This is a number above 200.
Answer
250
- 35Spark NLP has over_____pre-trained models and pipelines in total.
Hint
This number is between 300 and 400.
Answer
330
- 36Pre-trained pipelines in Spark NLP work both online and_____.
Hint
They can be used without an internet connection.
Answer
offline
- 37Pre-trained models in Spark NLP are flexible and allow_____pipelines.
Hint
Users can build their own pipeline with only the needed components.
Answer
customized
- 38Some Spark NLP models depend on each other; for example, a NER model must use the same_____it was trained on.
Hint
This is a specific type of embedding that the NER model relies on.
Answer
BERT model
- 39Training your own POS tagger in Spark NLP uses the_____approach.
Hint
This is a type of machine learning algorithm for classification.
Answer
perceptron
- 40The acceptable format for training NER in Spark NLP is_____.
Hint
This is a common shared task format for named entity recognition.
Answer
CoNLL 2003
- 41Training NER with BERT on Google Colab achieved_____micro F1 on dev data.
Hint
This is a percentage in the low nineties.
Answer
91%
- 42Spark NLP's multi-class classifier supports up to_____classes.
Hint
This is a round number, one hundred.
Answer
100
- 43Spark NLP has had over_____releases in the past three years, with one release every two weeks.
Hint
This number is in the seventies.
Answer
73

Ask anything
We've read this whole study set, so questions about it get the best answers.