bio_embeddings
                                
                                 bio_embeddings copied to clipboard
                                
                                    bio_embeddings copied to clipboard
                            
                            
                            
                        half_model is still present in some docs
Hi, I recently notice a weird behaviour in my code and notice that recently the half_model argument was renamed to half_precision_model, which is good. But here's the problem:
- It seems like half_modelis still an accepted kwarg so it creates the illusion of actually working (but it doesn't because the flag was renamed: https://github.com/sacdallago/bio_embeddings/blob/develop/CHANGELOG.md#v020)
- Also, some of the docs are outdated: https://docs.bioembeddings.com/v0.2.3/api/bio_embeddings.embed.html?highlight=half_model
Can the docs and docstring be updated to reflect the name change? Also, would it be possible for the initialization to fail if an unused kwarg is passed? I'm not sure how this is handled by other libraries but certainly an exception or warning would be better than not working as expected silently.
Seems like the change should be reflected here:
https://github.com/sacdallago/bio_embeddings/blob/efb9801f0de9b9d51d19b741088763a7d2d0c3a2/bio_embeddings/embed/prottrans_t5_embedder.py#L165-L197