Skip to content
#

bert

Here are 984 public repositories matching this topic...

transformers
patrickvonplaten
patrickvonplaten commented Sep 11, 2020

🚀 Feature request

Currently we have a mixture of negative and positive formulated arguments, e.g. no_cuda and training here: https://github.com/huggingface/transformers/blob/0054a48cdd64e7309184a64b399ab2c58d75d4e5/src/transformers/benchmark/benchmark_args_utils.py#L61.

We should change all arguments to be positively formulated, *e.g. from no_cuda to cuda. These arguments should

jina
JoanFM
JoanFM commented Jul 30, 2020

Describe the feature

I think enforcing typing in methods parameters can be helpful for robustness, readability and stability of the code.

By using mypy static type checker, we can see potential improvements for jina:

Usage:

pip install mypy
mypy --ignore-missing-imports jina

Do not get overwhelmed by the errors. Let's slowly keep improving until we can eve

Improve this page

Add a description, image, and links to the bert topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the bert topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.