Sockeye

Latest version: v3.1.34

Safety actively analyzes 682487 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 35 of 45

1.18.13

Not secure
Fixed
- Fixed two bugs with training resumption:
1. removed overly strict assertion in the data iterator for model states before the first checkpoint.
2. removed deletion of Tensorboard log directory.

Added
- Added support for config files. Command line parameters have precedence over the values read from the config file.
Minimal working example:
`python -m sockeye.train --config config.yaml` with contents of `config.yaml` as follows:
yaml
source: source.txt
target: target.txt
output: out
validation_source: valid.source.txt
validation_target: valid.target.txt

Changed
The full set of arguments is serialized to `out/args.yaml` at the beginning of training (before json was used).

1.18.12

Changed
- All source side sequences now get appended an additional end-of-sentence (EOS) symbol. This change is backwards
compatible meaning that inference with older models will still work without the EOS symbol.

1.18.11

Changed
- Default training parameters have been changed to reflect the setup used in our arXiv paper. Specifically, the default
is now to train a 6 layer Transformer model with word based batching. The only difference to the paper is that weight
tying is still turned off by default, as there may be use cases in which tying the source and target vocabularies is
not appropriate. Turn it on using `--weight-tying --weight-tying-type=src_trg_softmax`. Additionally, BLEU scores from
a checkpoint decoder are now monitored by default.

1.18.10

Not secure
Fixed
- Re-allow early stopping w.r.t BLEU

1.18.9

Not secure
Fixed
- Fixed a problem with lhuc boolean flags passed as None.

Added
- Reorganized beam search. Normalization is applied only to completed hypotheses, and pruning of
hypotheses (logprob against highest-scoring completed hypothesis) can be specified with
`--beam-prune X`
- Enabled stopping at first completed hypothesis with `--beam-search-stop first` (default is 'all')

1.18.8

Not secure
Removed
- Removed tensorboard logging of embedding & output parameters at every checkpoint. This used a lot of disk space.

Page 35 of 45

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.