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") - Notebooks
- Google Colab
- Kaggle
| { | |
| "fileFormatVersion": "1.0.0", | |
| "itemInfoEntries": { | |
| "2832FA53-6648-4A46-B946-CD1F919B2B5F": { | |
| "author": "com.apple.CoreML", | |
| "description": "CoreML Model Weights", | |
| "name": "weights", | |
| "path": "com.apple.CoreML/weights" | |
| }, | |
| "B4B3E7DF-22B1-4CF5-B527-FEAA944AF42D": { | |
| "author": "com.apple.CoreML", | |
| "description": "CoreML Model Specification", | |
| "name": "model.mlmodel", | |
| "path": "com.apple.CoreML/model.mlmodel" | |
| } | |
| }, | |
| "rootModelIdentifier": "B4B3E7DF-22B1-4CF5-B527-FEAA944AF42D" | |
| } | |