Skip to content

Commit

Permalink
馃摑 update image-classification README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nateraw committed Sep 2, 2021
1 parent 195faed commit d979eeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions examples/pytorch/image-classification/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

# Image classification examples

The following example showcases how to fine-tune a `ViT` for image-classification using PyTorch.
The following examples showcase how to fine-tune a `ViT` for image-classification using PyTorch.

## Using datasets from 馃 `datasets`

Expand Down Expand Up @@ -108,13 +108,15 @@ python run_image_classification.py \

0. If you haven't already, [sign up](https://huggingface.co/join) for a 馃 account

1. Make sure you have `git-lfs` installed.
1. Make sure you have `git-lfs` installed and git set up.

```bash
$ apt install git-lfs
$ git config --global user.email "you@example.com"
$ git config --global user.name "Your Name"
```

2. Log in using `huggingface-cli`
2. Log in with your HuggingFace account credentials using `huggingface-cli`

```bash
$ huggingface-cli login
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
from transformers.utils.versions import require_version


""" Finetuning a 馃 Transformers model for image classification"""
""" Fine-tuning a 馃 Transformers model for image classification"""

logger = logging.getLogger(__name__)

Expand Down

0 comments on commit d979eeb

Please sign in to comment.