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")# pip install -U transformers accelerate # 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
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (a54fe6c6096fc6bee4834eb803c019ae00e2d0b6) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>fcaa261
-
Upload 7 files
08ac6c4 -
initial commit
20cde9b