kiwi/lib/train.py
File train.py
has 344 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
# OpenKiwi: Open-Source Machine Translation Quality Estimation
# Copyright (C) 2020 Unbabel <openkiwi@unbabel.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published