[Docs] Make an ordered list prettier in add_tensorflow_model.md (#29949)

This commit is contained in:
Michael
2024-04-02 19:37:56 +08:00
committed by GitHub
parent 0d04b1e25a
commit cb5927ca8f

View File

@@ -115,7 +115,7 @@ cd transformers
git remote add upstream https://github.com/huggingface/transformers.git git remote add upstream https://github.com/huggingface/transformers.git
``` ```
3. Set up a development environment, for instance by running the following command: 3. Set up a development environment, for instance by running the following commands:
```bash ```bash
python -m venv .env python -m venv .env
@@ -132,13 +132,13 @@ pip install -e ".[quality]"
**Note:** You don't need to have CUDA installed. Making the new model work on CPU is sufficient. **Note:** You don't need to have CUDA installed. Making the new model work on CPU is sufficient.
4. Create a branch with a descriptive name from your main branch 4. Create a branch with a descriptive name from your main branch:
```bash ```bash
git checkout -b add_tf_brand_new_bert git checkout -b add_tf_brand_new_bert
``` ```
5. Fetch and rebase to current main 5. Fetch and rebase to current main:
```bash ```bash
git fetch upstream git fetch upstream