Spaces:
Runtime error
Runtime error
# Load model directly | |
from transformers import AutoTokenizer, AutoModelForCausalLM | |
tokenizer = AutoTokenizer.from_pretrained("loubnabnl/santacoder-code-to-text", trust_remote_code=True) | |
model = AutoModelForCausalLM.from_pretrained("loubnabnl/santacoder-code-to-text", trust_remote_code=True) |