Multiple typo fixes in Tutorials docs (#35035)

* Fixed typo in multi gpu docs and OLMoE version

* Fixed typos in docs for agents, agents advanced, knowledge distillation, and image feature extraction

* Fixed incorrect usage of model.image_guided_detection in zero shot object detection docs
This commit is contained in:
Henry Hyeonmok Ko
2024-12-02 07:26:34 -08:00
committed by GitHub
parent 31830474bf
commit 31299670cd
8 changed files with 9 additions and 9 deletions

View File

@@ -84,7 +84,7 @@ If you want to get the last hidden states before pooling, avoid passing any valu
```python
pipe = pipeline(task="image-feature-extraction", model_name="google/vit-base-patch16-224", device=DEVICE)
output = pipe(image_real)
outputs = pipe(image_real)
```
Since the outputs are unpooled, we get the last hidden states where the first dimension is the batch size, and the last two are the embedding shape.