
Translator: Yif Du
Protocol: CC BY-NC-ND 4.0
All models are wrong, but some of them are useful.
This book aims to provide newcomers with natural language processing (NLP) and deep learning to cover important topics in both areas. Both thematic areas have grown exponentially. For a book that introduces deep learning and emphasizes implementation of NLP, this book occupies an important middle ground. When writing this book, we had to make difficult, sometimes uncomfortable choices about what material is missing. For beginners, we hope this book provides a strong foundation for basics and can get a glimpse of what is possible. Machine learning and deep learning in particular are an empirical discipline, not an intellectual science. We hope that the generous end-to-end code examples in each chapter invite you to participate in this experience. When we started writing this book, we started with PyTorch 0.2. Each PyTorch update modified the example from 0.2 to 0.4. PyTorch 1.0 will be released at the time of publication of this book. The code examples in this book comply with PyTorch 0.4 and it should work the same as the upcoming release of PyTorch 1.0. Notes on the style of this book. We deliberately avoid using mathematics in most places; not because deep learning mathematics is particularly difficult (that is not the case), but because it distracts the main goal of the book in many cases - to enhance the beginner's ability. In many cases, we have similar motivations, both in terms of code and text, and we tend to elaborate on simplicity. Advanced readers and experienced programmers can find ways to tighten the code and so on, but our choice is to be as clear as possible in order to reach the majority of audiences we want to reach.
This project requires proofreading, and everyone is welcome to submit a Pull Request.
Please be brave enough to translate and improve translation. Although we pursue excellence, we do not require you to be perfect, so please don't worry about making mistakes in translation - in most cases, our servers have recorded all translations, so you don't have to worry about irreparable damage to your mistakes. (Adapted from Wikipedia)
[email protected] . docker pull apachecn0/nlp-pytorch-zh
docker run -tid -p <port>:80 apachecn0/nlp-pytorch-zh
# 访问 http://localhost:{port} 查看文档
pip install nlp-pytorch-zh
nlp-pytorch-zh <port>
# 访问 http://localhost:{port} 查看文档
npm install -g nlp-pytorch-zh
nlp-pytorch-zh <port>
# 访问 http://localhost:{port} 查看文档