realworldnlp icon indicating copy to clipboard operation
realworldnlp copied to clipboard

Example code for "Real-World Natural Language Processing"

Results 7 realworldnlp issues
Sort by recently updated
recently updated
newest added

* chapter 1, should be text generation Finally, **a third class of text classification** is unconditional text generation, where natural language text is generated stochastically from a model. You can...

I'm now reading the book and notice a lot of bugs related to allennlp2.0. Does the author consider upgrading the code to allennlp2.0 to make it comply more with the...

Hi, While trying ```python predictor = SentenceClassifierPredictor(model, dataset_reader=reader) ``` in Sec 2.8.1 I'm getting error ```python AttributeError: 'StanfordSentimentTreeBankDatasetReader' object has no attribute '_tokenizer' ``` I see you have made some...

ModuleNotFoundError: No module named 'allennlp.data.dataset_readers.seq2seq' I'm trying to run the code examples/mt/mt.py with allennlp==1.0.0 and got this error, no code changes direct clone of the repo and tried to run...

I try reproduce examples/mt/mt.py but I have CPU/CUDA error: ` File "/opt/conda/lib/python3.6/site-packages/allennlp/models/encoder_decoders/simple_seq2seq.py", line 212, in forward state = self._encode(source_tokens) File "/opt/conda/lib/python3.6/site-packages/allennlp/models/encoder_decoders/simple_seq2seq.py", line 268, in _encode embedded_input = self._source_embedder(source_tokens) File "/opt/conda/lib/python3.6/site-packages/torch/nn/modules/module.py",...

I've been following along with your article [How to Convert an AllenNLP model and Deploy on Caffe2 and TensorFlow](http://www.realworldnlpbook.com/blog/how-to-convert-an-allennlp-model-and-deploy-on-caffe2-and-tensorflow.html) and `run_onny_tagger.tf.py` seems to be broken because of the following error:...