Why can’t I find a place to download the weights?
#3
by
ripoza
- opened
Why can’t I find a place to download the weights?
from transformers import AutoModelForCausalLM, AutoTokenizer
checkpoint = "echo840/Monkey"
model = AutoModelForCausalLM.from_pretrained(checkpoint, device_map='cuda', trust_remote_code=True).eval()
tokenizer = AutoTokenizer.from_pretrained(checkpoint, trust_remote_code=True)
Hello, you can use this code to download the model.