bastings / annotated_encoder_decoder Goto Github PK
View Code? Open in Web Editor NEWThe Annotated Encoder Decoder with Attention
License: MIT License
The Annotated Encoder Decoder with Attention
License: MIT License
Hello @bastings
Thanks a lot for such a detailed notebook. I was wondering if we can have beam search implementation along with greedy search for this repo. If you have any such implementation, can you push it or redirect me to any other repo which has implemented beam search for this repo?
Thanks. It will help much.
Hi,
The following code does not execute:
"""
train_data, valid_data, test_data = datasets.IWSLT.splits(
exts=('.de', '.en'), fields=(SRC, TRG),
filter_pred=lambda x: len(vars(x)['src']) <= MAX_LEN and
len(vars(x)['trg']) <= MAX_LEN
"""
What should I replace this code with? Thanks for a great code base.
HI Bastings,
Thanks for your tutorial and documentation. Really appreciated. However, I was wondering have you ever tried this on time-series data (numerical)? In theory it should also work on temporal data with some tweaks as well. What are your thoughts in general and if you have some snippet etc.
Thanks
anyways
when running this code on a computer without cuda
train_perplexity = run_epoch((rebatch(PAD_INDEX, b) for b in train_iter),
model,
SimpleLossCompute(model.generator, criterion, optim),
print_every=print_every)
any way to fix it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.