Spaces:
Runtime error
Runtime error
| from transformers import AutoModel | |
| # Replace 'Funybubble/replit-code-instruct-quanatized' with the actual model name | |
| model_name = 'Funybubble/replit-code-instruct-quanatized' | |
| # Load the tokenizer and model | |
| model = AutoModel.from_pretrained(model_name) | |
| # Save the tokenizer and model to the same directory as app.py | |
| save_directory = './' | |
| model.save_pretrained(save_directory) | |