mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-03 12:50:06 +06:00
parent
3ea3ab62d8
commit
25f510a9c6
@ -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" # اسم العلامة، أو اسم الفرع، أو تجزئة الالتزام
|
||||||
... )
|
... )
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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
|
||||||
... )
|
... )
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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
|
||||||
... )
|
... )
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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
|
||||||
... )
|
... )
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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
|
||||||
... )
|
... )
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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" # タグ名、またはブランチ名、またはコミットハッシュ
|
||||||
... )
|
... )
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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
|
||||||
... )
|
... )
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -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
|
||||||
... )
|
... )
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user