_config.py 518 Bytes
Newer Older
1
# docstyle-ignore
2
INSTALL_CONTENT = """
3
4
5
6
# 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
7
8
"""

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