-
Book Overview & Buying
-
Table Of Contents
Supercharged Coding with GenAI
By :
Before you proceed to the next chapter, make sure that you can confidently answer the following questions:
Question 1: How is the deep learning approach for words similar to and different from the statistical approach described for letters in this chapter?
Answer: Both the deep learning approaches and statistical approaches generate new text or code using a combination of their trained model and randomness. Even though they are both trained on data, they rely on randomness to select from the probable next words, which means their outputs can be different each time. In both cases, if they are trained with insufficient data, they may not produce satisfactory results. Neither has a conceptual understanding of the inputs or outputs, so both are relying on patterns of inputs to predict patterns of outputs.
The deep learning approach is orders of magnitude more efficient in predicting the range of possible next words or code using complex, less interpretable models...