mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-03 12:50:06 +06:00
![]() [NumPy] Remove references to deprecated NumPy type aliases. This change replaces references to a number of deprecated NumPy type aliases (np.bool, np.int, np.float, np.complex, np.object, np.str) with their recommended replacement (bool, int, float, complex, object, str). NumPy 1.24 drops the deprecated aliases, so we must remove uses before updating NumPy. Co-authored-by: Peter Hawkins <phawkins@google.com> Co-authored-by: Peter Hawkins <phawkins@google.com> |
||
---|---|---|
.. | ||
multiple_choice | ||
pytorch-lightning | ||
question-answering | ||
seq2seq | ||
text-classification | ||
token-classification | ||
README.md | ||
run_camembert.py | ||
run_chinese_ref.py | ||
run_language_modeling.py | ||
run_openai_gpt.py | ||
run_swag.py | ||
run_transfo_xl.py |
Legacy examples
This folder contains examples which are not actively maintained (mostly contributed by the community).
Using these examples together with a recent version of the library usually requires to make small (sometimes big) adaptations to get the scripts working.