sillsdev / silnlp

A set of pipelines for performing experiments on various NLP tasks with a focus on resource-poor/minority languages.
Other
30 stars 3 forks source link

Onboarding: Don't create ClearML task names with names that exceed the limit #488

Open Enkidu93 opened 1 month ago

Enkidu93 commented 1 month ago

When using a large number of books, the name can exceed the allowed length and give an error:

Something went wrong while attempting to run experiment ... Please try again. Error: [Errno 36] File name too long '...[GEN,EXO,...]

Part of the fix is to make sure that the books are being simplified properly to OT, DT, NT using the functions in utils. Also, placing a check to confirm that the name is under length and if not so, adjusting the naming - maybe a dash or colon in the book list?