File size: 380 Bytes
ffb307e
ca70ef6
f7a826d
 
ca70ef6
f7a826d
ffb307e
f7a826d
 
d3f153c
 
 
ffb307e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)