Comments (3)
HI @jayparks , thank you for pointing these out. Let me answer them one by one:
bleu_val_freq
is actually a legacy option, which is ignored completely (as you've observed). The reason why we do not evaluate BLEU during training is because it takes quite a bit of time and training pauses during decoding. So I removed this functionality to make code less dilated. What I do for BLEU evaluation is, callingevaluate_models.py
script while the model is actually training. It runs on CPU and evaluates models (on BLEU) as they are saved by the training main loop. By doing so, you do not pause training to do evaluation. I'd suggest you to take a look atevaluate_models.py
script. If you still want to use BLEU validation functionality during training, you can take a look at this example and adapt it respectively (let me know if you decide to do so, i can outline more instructions).- This is an old bug that i fixed but apparently forgot to push to this repo. The problem is about the batch sizes during validation.
log_prob_bs
should divide the number of lines in the validation set without remainder, else, it raises this error :) The fix is very easy, and i will push as soon as i can (i'm travelling atm).
from dl4mt-multi.
Ah i see. I've tried evaluate_models.py and it works like a charm!
Appreciate your quick reply during holiday :)
from dl4mt-multi.
@jayparks, now we allow arbitrary batch sizes for logprob streams, with c0342a0 and by default batch size is 100.
from dl4mt-multi.
Related Issues (5)
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 dl4mt-multi.