Skip to content

Conversation

@jatinpapreja
Copy link
Contributor

No description provided.

jatinpapreja and others added 7 commits June 13, 2021 19:14
1.	Added  “if torch.cuda.is_available()” to check if we are using gpu.
2.	Added a try except block to upload files to colab.
3.	Removed 'fetch data' function as the 'get_data' function was doing the same thing.
4.	Fixed path for windows and colab.
5.	Added a if condition for using 'model.cuda()' only when we are using gpu.
1.	Added a try except block for uploading files in colab and windows.
2.	Added a if condition for using 'model.cuda()' only when we are using gpu.
'os.mkdir' was misspelled as 'os.makdir'
1.	Added a try except block for uploading files in colab and windows.
2.	Added a path to download 'glove.6B.zip' for both colab and windows using wget.
3.	Added unzip command for both colab and windows to unzip 'glove.6B.zip'.
1.	Added  ‘if torch.cuda.is_available()’ to check if we are using gpu.
2.	Added a try except block to upload files to colab.
3.	Added ‘get_data’ and ‘get_data2’ functions as they were missing.
4.	 Fixed path for windows and colab.
5.	‘load_atis’ and ‘load_data’ functions were missing, so added it.
6.	‘atis.test.pkl’ and ‘atis.train.pkl’ files were missing, so added these files. 
7.	Added a if condition for using ‘model.cuda()’ only when we are using gpu.
@kartikay-bagla kartikay-bagla self-requested a review June 13, 2021 19:56
jatinpapreja and others added 9 commits June 19, 2021 23:27
1.   Added try except block for colab and windows users. 
2.   Fixed path issues.
1.	Specified the version of spacy (!pip install spacy==2.2.4).
2.	Added try except block for colab and windows users.
3.	Fixed the path. 
4.	Cleaned the code.
1.   Added a try except block to upload files. 
2.   Added alternatives of linux commands for windows.
1.	Added try except block for uploading files for colab and non colab users.
2.	Added try accept block for windows and colab users for specifying path.
1.	Added functions to download files in windows.
2.	Added try except block to download these files in both windows and colab.
3.	Added alternative of linux commands for windows.
4.	Added try except block for specifying path in both windows and colab.
5.	Added try except block to upload files in colab.
1.	Added functions to download files in windows. 
2.	Added try except block to download these files in both windows and colab. 
3.	Added try except block to extract files in windows and colab.
4.	Added if condition for model.cuda().
1.	Fixed the version of keras-tuner.
2.	Fixed some errors.
1.	Added try except block to upload files in colab.  
2.	Added try except block for specifying path in both windows and colab.
@kartikay-bagla kartikay-bagla changed the title Modifications in Ch6 and [Ch4Nb05] Modifications for Windows support in Chapters 4, 5, 6 and 10 Jun 21, 2021
@kartikay-bagla kartikay-bagla changed the title Modifications for Windows support in Chapters 4, 5, 6 and 10 Modifications for Windows support in Chapters 4, 5, 6, 10 and 11 Jun 21, 2021
@kartikay-bagla kartikay-bagla merged commit 9eefbaa into practical-nlp:master Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants