mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-05 22:00:09 +06:00

* Added translation of installation.mdx to Portuguese, as well as default templates of _toctree.yml and _config.py * [ build_documentation.yml ] - Updated doc_builder to build documentation in Portuguese. [ pipeline_tutorial.mdx ] - Created translation for the pipeline_tutorial.mdx. * [ build_pr_documentation.yml ] - Added pt language to pr_documentation builder. [ pipeline_tutorial.mdx ] - Grammar changes. * [ accelerate.mdx ] - Translated to Portuguese the acceleration tutorial. * [ multilingual.mdx ] - Added portuguese translation for multilingual tutorial. [ training.mdx ] - Added portuguese translation for training tutorial. * [ preprocessing.mdx ] - WIP * Update _toctree.yml * Adding Pré-processamento to _toctree.yml * Update accelerate.mdx * Nits and eliminate preprocessing file while it is ready Co-authored-by: Omar U. Espejel <espejelomar@gmail.com>
15 lines
518 B
Python
15 lines
518 B
Python
# docstyle-ignore
|
|
INSTALL_CONTENT = """
|
|
# Transformers installation
|
|
! pip install transformers datasets
|
|
# To install from source instead of the last release, comment the command above and uncomment the following one.
|
|
# ! pip install git+https://github.com/huggingface/transformers.git
|
|
"""
|
|
|
|
notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}]
|
|
black_avoid_patterns = {
|
|
"{processor_class}": "FakeProcessorClass",
|
|
"{model_class}": "FakeModelClass",
|
|
"{object_class}": "FakeObjectClass",
|
|
}
|