3 ms·
I went through parts 1 and 8 and did not see an import statement in any of the posts
by skipants 2y ago
I went through parts 1 and 8 and did not see an import statement in any of the posts
- gpjt 2y agoOP here: my posts are kind of reading notes for the book, so I don't normally copy the code from there -- so you wouldn't have seen the packages used. So far there's been tiktoken for tokenization (Raschka shows how to write a simple tokenizer and explains the workings of the byte-pair tokenization that he recommends, though) and PyTorch for CUDA-acceleratable matrix maths, automated differentiation for gradient descent, and so on.