Machine-Learning-for-Medical-Language / cnlp_transformers

Transformers for Clinical NLP
https://cnlp-transformers.readthedocs.io/en/stable/
Apache License 2.0
21 stars 17 forks source link

[FUNC] Add an option for truncation from left #193

Closed wonjininfo closed 8 months ago

wonjininfo commented 11 months ago

Minor feature update, as discussed in the Friday meeting.

When the option --truncation_side_left is selected:

tmills commented 8 months ago

@wonjininfo if you can double check my change to make sure it keeps the intended behavior then i'll merge the branch

wonjininfo commented 8 months ago

Looks good to me!