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")
Core ML conversion, task=text-generation, precision=float32
· Sign up or log in to comment