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