Is character-level RNN example not ready to use yet?
See original GitHub issueIt seems data is not connected nor processed for the model yet.
simply run kur -v train kurfile.yml
in the language model, I got the following error message:
Traceback (most recent call last):
File "/Users/Natsume/miniconda2/envs/dlnd-tf-lab/bin/kur", line 11, in <module>
load_entry_point('kur', 'console_scripts', 'kur')()
File "/Users/Natsume/Downloads/kur_road/kur/kur/__main__.py", line 382, in main
sys.exit(args.func(args) or 0)
File "/Users/Natsume/Downloads/kur_road/kur/kur/__main__.py", line 61, in train
func = spec.get_training_function()
File "/Users/Natsume/Downloads/kur_road/kur/kur/kurfile.py", line 259, in get_training_function
provider = self.get_provider('train')
File "/Users/Natsume/Downloads/kur_road/kur/kur/kurfile.py", line 240, in get_provider
sources=Supplier.merge_suppliers(suppliers),
File "/Users/Natsume/Downloads/kur_road/kur/kur/supplier/supplier.py", line 130, in merge_suppliers
sources = supplier.get_sources()
File "/Users/Natsume/Downloads/kur_road/kur/kur/supplier/jsonl_supplier.py", line 80, in get_sources
self._load()
File "/Users/Natsume/Downloads/kur_road/kur/kur/supplier/jsonl_supplier.py", line 59, in _load
with open(self.source, 'r') as infile:
FileNotFoundError: [Errno 2] No such file or directory: '../data/train.jsonl'
When and how can I try this example? Thanks a lot!
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Character Level RNN Exercise | Neurotic Networking
In this notebook, I'll construct a character-level LSTM with PyTorch. The network will train character by character on some text, ...
Read more >Classifying Names with a Character-Level RNN
We will be building and training a basic character-level RNN to classify words. A character-level RNN reads words as a series of characters...
Read more >Character Level NLP - LightTag
Usually, in language, we work with words. This post explores the merits and drawbacks of another, unintuitive, choice, working at the character level....
Read more >Recurrent Neural Networks (RNNs) - Towards Data Science
The main objective of this post is to implement an RNN from scratch and provide an easy explanation as well to make it...
Read more >How to Develop a Character-Based Neural Language Model ...
It is also possible to develop language models at the character level using neural networks. The benefit of character-based language models ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, reduced data set size takes less time to generate and train.
@noajshu Thank you very much! This example is great, I really want to see it in kur.
make_data.py
only takes a few secondskur -v train kurfile.yaml
only takes less than 4 mins, compared to default setting’s estimated 5 hours trainingThanks!