"tests/models/wav2vec2/test_modeling_wav2vec2.py" did not exist on "c04619ecf3ce1975d2716ff77e29e2875d9ddd60"
Unverified Commit 4830f269 authored by Klaus Hipp's avatar Klaus Hipp Committed by GitHub
Browse files

[Docs] Fix backticks in inline code and documentation links (#28875)

Fix backticks in code blocks and documentation links
parent a1afec9e
......@@ -66,7 +66,7 @@ model = AutoModel.from_pretrained("bert-base-cased")
['config.json', 'pytorch_model-00001-of-00003.bin', 'pytorch_model-00002-of-00003.bin', 'pytorch_model-00003-of-00003.bin', 'pytorch_model.bin.index.json']
```
在模型配置文件最上方,我们可以看到三个不同的权重文件,以及一个`index.json`索引文件。这样的`checkpoint`可以使用`[~PreTrainedModel.from_pretrained]`方法完全重新加载:
在模型配置文件最上方,我们可以看到三个不同的权重文件,以及一个`index.json`索引文件。这样的`checkpoint`可以使用[`~PreTrainedModel.from_pretrained`]方法完全重新加载:
```py
>>> with tempfile.TemporaryDirectory() as tmp_dir:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment