It’s perhaps in the training dataset but unless your code is extremely common and duplicated, it’s probably not in the final models. They aren’t that big.
I feel quite similar personally, I've worked hard on open source and I'll never have the same permissive license again after this.