Comments (2)
Hello, your script seems good. And the decoding process should already force the first token to be the language token. Have you met this situation if your change a source language?
from mrasp2.
Could you add breakpoints in the following lines and try to debug on your own?
- https://github.com/PANXiao1994/mRASP2/blob/master/mcolt/tasks/translation_w_langtok.py#L387
- https://github.com/pytorch/fairseq/blob/main/fairseq/sequence_generator.py#L583 (find the corresponding line in your fairseq version)
from mrasp2.
Related Issues (20)
- fairseq-train config question HOT 3
- Gather all of the outputs from different nodes and then compute contrastive loss HOT 1
- src tokens fed twice into the encoder? HOT 1
- 请求解答一下Evaluation时的参数意义 HOT 3
- dataset HOT 2
- 如何将eval.sh运行起来呢? HOT 8
- Link broken of datasets HOT 4
- Clarifications in training config HOT 4
- what the "meta.ras_dict" in config is? HOT 3
- Question about the dataset
- About swap sample
- Question on WMT16 en-ro HOT 2
- The script in new_impl cannot be downloaded HOT 8
- How can we fine-tune the model HOT 1
- Error downloading dataset HOT 2
- How to make inference with the trained model HOT 1
- pre-norm or post-norm HOT 2
- An error occurred during model inference HOT 1
- loss average HOT 2
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 mrasp2.