Spaces:
Runtime error
Runtime error
import tensorflow as tf | |
from transformers import TFAutoModelForCausalLM | |
# Optionally, test loading a model to ensure all components are working | |
model = TFAutoModelForCausalLM.from_pretrained("gpt2") # Just an example, use a model appropriate for TFAutoModelForCausalLM | |
print("Model loaded successfully!") | |