Funnybubble / app.py
Funybubble's picture
Update app.py
f7a826d verified
raw
history blame
372 Bytes
from transformers import AutoModel, AutoTokenizer
# Replace 'Funybubble/replit-code-instruct-quanatized' with the actual model name
model_name = 'Funybubble/replit-code-instruct-quanatized'
# Load the tokenizer and model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModel.from_pretrained(model_name)
# You can use the tokenizer and model as needed