Instructions to use neulab/codebert-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use neulab/codebert-python with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="neulab/codebert-python")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("neulab/codebert-python") model = AutoModelForMaskedLM.from_pretrained("neulab/codebert-python", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download model.safetensors from neulab/codebert-python: direct link, hf CLI and curl.
- Browser
- Download file 499 MB
-
https://huggingface.co/neulab/codebert-python/resolve/refs%2Fpr%2F4/model.safetensors
- Command line
-
hf download hf://neulab/codebert-python@refs/pr/4/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/neulab/codebert-python/resolve/refs%2Fpr%2F4/model.safetensors
499 MB
- Xet hash:
- 4e3d137494aa85cb588d487b43449882f799d29e9f0a9e29f8c41ca8171da598
- Size of remote file:
- 499 MB
- SHA256:
- b96022334a02675d3cce85bc1ef159802c3e6724669393dc05e4eb53aa4a750c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.