_config.py 523 Bytes
Newer Older
1
# docstyle-ignore
2
INSTALL_CONTENT = """
3
# Transformers installation
4
! pip install transformers datasets evaluate
5
6
# 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
7
8
"""

9
notebook_first_cells = [{"type": "code", "content": INSTALL_CONTENT}]
10
11
12
black_avoid_patterns = {
    "{processor_class}": "FakeProcessorClass",
    "{model_class}": "FakeModelClass",
13
    "{object_class}": "FakeObjectClass",
14
}