[docs] update not-working model revision (#34682)

update revision
This commit is contained in:
Fanli Lin 2024-11-11 23:09:31 +08:00 committed by GitHub
parent 3ea3ab62d8
commit 25f510a9c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 8 additions and 8 deletions

View File

@ -28,7 +28,7 @@ picture-in-picture" allowfullscreen></iframe>
```py ```py
>>> model = AutoModel.from_pretrained( >>> model = AutoModel.from_pretrained(
... "julien-c/EsperBERTo-small", revision="v2.0.1" # اسم العلامة، أو اسم الفرع، أو تجزئة الالتزام ... "julien-c/EsperBERTo-small", revision="4c77982" # اسم العلامة، أو اسم الفرع، أو تجزئة الالتزام
... ) ... )
``` ```

View File

@ -43,7 +43,7 @@ Folglich können Sie eine bestimmte Modellversion mit dem Parameter "Revision" l
```py ```py
>>> model = AutoModel.from_pretrained( >>> model = AutoModel.from_pretrained(
... "julien-c/EsperBERTo-small", revision="v2.0.1" # tag name, or branch name, or commit hash ... "julien-c/EsperBERTo-small", revision="4c77982" # tag name, or branch name, or commit hash
... ) ... )
``` ```

View File

@ -43,7 +43,7 @@ As a result, you can load a specific model version with the `revision` parameter
```py ```py
>>> model = AutoModel.from_pretrained( >>> model = AutoModel.from_pretrained(
... "julien-c/EsperBERTo-small", revision="v2.0.1" # tag name, or branch name, or commit hash ... "julien-c/EsperBERTo-small", revision="4c77982" # tag name, or branch name, or commit hash
... ) ... )
``` ```

View File

@ -43,7 +43,7 @@ Como resultado, puedes cargar una versión específica del modelo con el paráme
```py ```py
>>> model = AutoModel.from_pretrained( >>> model = AutoModel.from_pretrained(
... "julien-c/EsperBERTo-small", revision="v2.0.1" # tag name, or branch name, or commit hash ... "julien-c/EsperBERTo-small", revision="4c77982" # tag name, or branch name, or commit hash
... ) ... )
``` ```

View File

@ -43,7 +43,7 @@ Come risultato, puoi caricare una specifica versione di un modello con il parame
```py ```py
>>> model = AutoModel.from_pretrained( >>> model = AutoModel.from_pretrained(
... "julien-c/EsperBERTo-small", revision="v2.0.1" # nome di un tag, di un branch, o commit hash ... "julien-c/EsperBERTo-small", revision="4c77982" # nome di un tag, di un branch, o commit hash
... ) ... )
``` ```

View File

@ -43,7 +43,7 @@ Model Hubの組み込みバージョニングはgitおよび[git-lfs](https://gi
```py ```py
>>> model = AutoModel.from_pretrained( >>> model = AutoModel.from_pretrained(
... "julien-c/EsperBERTo-small", revision="v2.0.1" # タグ名、またはブランチ名、またはコミットハッシュ ... "julien-c/EsperBERTo-small", revision="4c77982" # タグ名、またはブランチ名、またはコミットハッシュ
... ) ... )
``` ```

View File

@ -43,7 +43,7 @@ picture-in-picture" allowfullscreen></iframe>
```py ```py
>>> model = AutoModel.from_pretrained( >>> model = AutoModel.from_pretrained(
... "julien-c/EsperBERTo-small", revision="v2.0.1" # tag name, or branch name, or commit hash ... "julien-c/EsperBERTo-small", revision="4c77982" # tag name, or branch name, or commit hash
... ) ... )
``` ```

View File

@ -43,7 +43,7 @@ Model Hub的内置版本控制基于git和[git-lfs](https://git-lfs.github.com/)
```py ```py
>>> model = AutoModel.from_pretrained( >>> model = AutoModel.from_pretrained(
... "julien-c/EsperBERTo-small", revision="v2.0.1" # tag name, or branch name, or commit hash ... "julien-c/EsperBERTo-small", revision="4c77982" # tag name, or branch name, or commit hash
... ) ... )
``` ```