Fill Mask
Predict masked tokens with the camembert-base
model.
POST
Fill Mask
The fill-mask
task uses a masked language model to predict masked tokens in a given text.
Example
Request
Authorizations
Set Authorization
header to Key BYTEZ_KEY
(e.g. 'Authorization': 'Key ABC123')
Body
application/json
Universal schema supporting text, chat, image, audio, video, QA, zero-shot, etc.
Input text for NLP tasks.
Conversation history.
URL to image/audio/video.
Base64-encoded image/audio/video.
Question text (QA tasks).
Context paragraph (QA tasks).
Candidate labels (zero-shot).
Enable text streaming.
Stream media instead of JSON.
Model-specific parameters.
Response
200 - application/json
Successful response with predictions for the masked token.