Skip to content

Commit bb8e9cd

Browse files
authored
Remove unnecessary tildes from documentation (#40748)
1 parent a9b313a commit bb8e9cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/en/quicktour.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Create a [`Pipeline`] object and select a task. By default, [`Pipeline`] downloa
124124
<hfoptions id="pipeline-tasks">
125125
<hfoption id="text generation">
126126

127-
Use [`~infer_device`] to automatically detect an available accelerator for inference.
127+
Use [`infer_device`] to automatically detect an available accelerator for inference.
128128

129129
```py
130130
from transformers import pipeline, infer_device
@@ -144,7 +144,7 @@ pipeline("The secret to baking a good cake is ", max_length=50)
144144
</hfoption>
145145
<hfoption id="image segmentation">
146146

147-
Use [`~infer_device`] to automatically detect an available accelerator for inference.
147+
Use [`infer_device`] to automatically detect an available accelerator for inference.
148148

149149
```py
150150
from transformers import pipeline, infer_device
@@ -171,7 +171,7 @@ segments[1]["label"]
171171
</hfoption>
172172
<hfoption id="automatic speech recognition">
173173

174-
Use [`~infer_device`] to automatically detect an available accelerator for inference.
174+
Use [`infer_device`] to automatically detect an available accelerator for inference.
175175

176176
```py
177177
from transformers import pipeline, infer_device

0 commit comments

Comments
 (0)