خرید بک لینک

Vote count: 0

the decode function in the translate.py file from the github contains the line model.batch_size = 1 # We decode one sentence at a time.

In this example I want to decode not one, but three sentences:

  1. This is todays MovieWorld cinema schedule.
  2. Look for the special offers available for gold member.
  3. After your visit, please retu the 3D glasses.

Now, how can I make sure that the decoding function takes the dependencies among the sentences into account? I want the model to take sentence 1 into account, when decoding sentence 2 and 3.

Do I only have to change the model.batch_size or anything else as well?

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 26 فروردين 1395 ساعت: 5:50

صفحه بندی