Comments (7)
Hi there,
I think that's because there were a few changes in torchtext. In order to reproduce the results in the book, you can try
pip install torchtext==0.10.0
to install the version I used in the book from https://pypi.org/project/torchtext/0.10.0/
from machine-learning-book.
Hello I just tried installing the said version but torch text 0.10.0 seems unavailable.
from machine-learning-book.
I can confirm. It jumps from 0.6 to 0.12. They must have removed this version. This is so weird. It's still available online but it seems that there is no source file anymore: https://pypi.org/project/torchtext/0.10.0/#files
from machine-learning-book.
I guess changing the code to suit the new torchtext is only option. Will try that.
from machine-learning-book.
Yeah, that might be the unfortunate consequence of that. Sorry about that! I am a bit hesitant to update the original notebook since it would then be different from the book text, which could be confusing for some. But if you get it to work with a newer version, I'd appreciate a PR. We could include this as an alternative notebook here on GitHub and then link it from the original one.
from machine-learning-book.
Surely I will work on it.
from machine-learning-book.
Hello, I have created PR please check.
from machine-learning-book.
Related Issues (20)
- Sparse solutions with L1-regularization figure
- Chapter 13 : error with mlextend : TypeError: axis() got an unexpected keyword argument 'y_min' HOT 4
- Error: TypeError: Accuracy.__new__() missing 1 required positional argument: 'task'(Chapter-13) HOT 2
- PyTorch Lightning error- Chapter 13 HOT 1
- Did you run with the same env variable locally as on CI? E.g. it may be that some config options are different depending on whether you hava `CI=1` in you env. Unfortunately we can't help much without a repro. HOT 2
- Ch12, when standard the train data HOT 1
- A minor error on page 258 and ch08.ipynb (Training a logistic regression model for document classification) when preparing train and test datasets HOT 1
- Page 365, missing negative sign in the calculation of partial derivative of activation unit with respect to z(out)
- Chapter 2 Negative Gradient HOT 2
- Chapter 13, Page 438. Missing the final activation function (SoftMax) HOT 1
- Ch13, page 345, How to add L1 in second Dense layer?
- Chapter 2 Pary 2 pred.long() throws error: "log_softmax_lastdim_kernel_impl" not implemented for 'Long' HOT 2
- Chapter 14 HOT 2
- Chapter 14, MNIST test set plot HOT 2
- Chapter 15 / page 531 - Building a character-level RNN - forward pass - wrong shapes HOT 4
- Chapter 2, plot_decision_regions has trouble with cmap HOT 1
- Chapter 11 Pg 361 - Incorrect Expression HOT 1
- Matching uppercase letters in a lowercase string HOT 2
- Chapter 11 Page 366 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from machine-learning-book.