Fill-Mask
Transformers
Safetensors
Rust
English
modernbert
code
code-search
retrieval
sentence-similarity
bert
deep-learning
machine-learning
nlp
programming
multi-language
python
java
javascript
php
ruby
go
Instructions to use Shuu12121/CodeModernBERT-Owl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Shuu12121/CodeModernBERT-Owl with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Shuu12121/CodeModernBERT-Owl")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Shuu12121/CodeModernBERT-Owl") model = AutoModelForMaskedLM.from_pretrained("Shuu12121/CodeModernBERT-Owl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "</s>": 50001, | |
| "<mask>": 50003, | |
| "<s>": 50000, | |
| "<unk>": 50002 | |
| } | |