Comments (8)
Thanks, @mesnilgr. So, how can I get the data?
from is13.
I'm now dealing with the university to get it. I don't have it.
from is13.
@lucas0 , a quick fix for it is to download the ATIS dataset yourself by updating the data/load.py file methods as follows :
- update
load
function to download the ATIS dataset from this url instead - update
atisfull
to load the pickle file instead of the zip file - update
atisfold
method to load the pickle file instead of the zip file and return validation dataset as well instead of train, test datasets only as encoded in atis.pkl file
from is13.
@hadyelsahar thanks a lot! I even forgot myself that I already had it moved here. 👍
from is13.
Ok, changed the download URL, and deleted the '.gz' from the atis.pkl files, but I'm still getting
File "/Users/lucaslourenco/Developer/is13-master/data/load.py", line 33, in atisfold
train_set, valid_set, test_set, dicts = cPickle.load(f)
IOError: Not a gzipped file
what method should I use instead of cPickle.load(f)?
def load(filename):
if not isfile(filename):
download('https://www.dropbox.com/s/3lxl9jsbw0j7h8a/'+filename)
f = gzip.open(filename,'rb')
return f
def atisfull():
f = load(PREFIX + 'atis.pkl')
train_set, test_set, dicts = cPickle.load(f)
return train_set, test_set, dicts
def atisfold(fold):
assert fold in range(5)
f = load(PREFIX + 'atis.fold'+str(fold)+'.pkl')
train_set, valid_set, test_set, dicts = cPickle.load(f)
return train_set, valid_set, test_set, dicts
thats how load.py is right now. If there are any other changes I should perform, please let me know. Thank you for the alternative @hadyelsahar!
P.S.: I know the issue is closed but since I couldn't apply the modifications suggested, could you help me with them @mesnilgr?
from is13.
should use f = open(filename,'rb') instead of gzip.open
from is13.
and the conllevel.pl file can be found such as here:
https://www.comp.nus.edu.sg/~kanmy/courses/practicalNLP_2008/packages/conlleval.pl
from is13.
@tangkk every should work fine now. thanks for pointing this issue.
from is13.
Related Issues (20)
- Some questions about the Dataset HOT 5
- problems with --- python code/rnnslu.py HOT 3
- OSError: [Errno 2] No such file or directory: 'conlleval.pl' HOT 4
- Using Theano in Word Embedding Method HOT 4
- Get word embeddings aligned with words HOT 3
- Cost function on last word in sentence HOT 2
- Is there any mini-batched is13 (rnn for sequence labeling task)? HOT 1
- rnnslu.py takes too long for nh=200
- rnnslu.py takes too longer than 40 seconds for nh=200 HOT 4
- i get different results than expected HOT 11
- A simple question about the ouput s_t of rnn HOT 1
- Appying CRF after elman network HOT 2
- Label Issue HOT 1
- All weights turn into 'nan' after training HOT 3
- code bug HOT 2
- Link for ATIS dataset not working HOT 1
- Code Error HOT 1
- intent labels HOT 4
- conlleval.pl OSError: [WinError 193] %1 is not a valid Win32 application, FileNotFoundError: [WinError 2] The system cannot find the file specified HOT 1
- Link for ATIS dataset not working again HOT 3
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 is13.