Views
No views yet
Qwen/Qwen3.5-27B.
The repository contains the complete merged model weights rather than a delta-only checkpoint.1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model_id = "IAAR-Shanghai/Metis-27B"
5tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
6model = AutoModelForCausalLM.from_pretrained(
7 model_id,
8 trust_remote_code=True,
9 dtype=torch.bfloat16,
10 device_map="auto",
11)