Unverified Commit 705ca7f2 authored by Qing's avatar Qing Committed by GitHub
Browse files

Fix Perceiver docs (#14917)

parent 11682990
......@@ -1114,7 +1114,7 @@ class PerceiverForSequenceClassification(PerceiverPreTrainedModel):
>>> model = PerceiverForSequenceClassification.from_pretrained('deepmind/language-perceiver')
>>> text = "hello world"
>>> inputs = tokenizer(images=image, return_tensors="pt").input_ids
>>> inputs = tokenizer(text, return_tensors="pt").input_ids
>>> outputs = model(inputs=inputs)
>>> logits = outputs.logits
```"""
......
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