You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/FAQ.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -498,6 +498,7 @@ A C C C C A A B
498
498
**Notes**
499
499
- Prior tokenization is not necessary, features will be inferred by using the `FeatInferTransform` transform.
500
500
- `FilterFeatsTransform` and `FeatInferTransform` are required in order to ensure the functionality.
501
+
- Not possible to do shared embeddings (at least with `feat_merge: concat` method)
501
502
502
503
Sample config file:
503
504
@@ -529,10 +530,20 @@ feat_merge: "sum"
529
530
530
531
```
531
532
532
-
During inference you can pass features by using the `--src_feats` argument.
533
+
During inference you can pass features by using the `--src_feats` argument. `src_feats` is expected to be a Python like dict, mapping feature name with its data file.
**Important note!** During inference, input sentence is expected to be tokenized. Therefore feature inferring should be handled prior to running the translate command. Example:
0 commit comments