--- title: Codebert Base Mlm emoji: 💬 colorFrom: yellow colorTo: purple sdk: gradio sdk_version: 5.42.0 app_file: app.py pinned: false hf_oauth: true hf_oauth_scopes: - inference-api license: mit short_description: 'codebert-base-mlm: a fill-in-middle/masked language model' --- A CodeBERT Masked Language Model demo using [Gradio](https://gradio.app) and [Transformers](https://huggingface.co/docs/transformers). This app predicts masked tokens in code snippets. ## Usage Enter code with `` tokens where you want predictions: - `def (x, y): return x + y` - `import ` - `for i in (10):` The model will suggest the most likely tokens to fill in the mask.