Run this model with HF Jobs
Run microsoft/codeexecutor on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/microsoft/codeexecutor. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/microsoft/codeexecutor on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 ·
959ad7a
1
Parent(s): fcaa261
Add Core ML conversion
Browse filesCore ML conversion, task=text-generation, precision=float32
Files changed (3)
123version https://git-lfs.github.com/spec/v1oid sha256:8b96305e0cc0a9cb11815fddbbc84d62aa3c61f2d0167a4712d37ffe6ae5d887size 166765123version https://git-lfs.github.com/spec/v1oid sha256:de9963ee3de0cb6cc5d1bd7b5b127ae65652be0ad9f6da327a60827be1856ea9size 663190976123456789101112131415161718{ "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"}coreml/text-generation/float32_model.mlpackage/Data/com.apple.CoreML/model.mlmodelAdded+3
coreml/text-generation/float32_model.mlpackage/Data/com.apple.CoreML/weights/weight.binAdded+3
coreml/text-generation/float32_model.mlpackage/Manifest.jsonAdded+18