File size: 372 Bytes
f7a826d
ca70ef6
f7a826d
 
ca70ef6
f7a826d
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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