Metis-9B / README.md
astarkkk's picture
Add files using upload-large-folder tool
e903a9a verified
|
Raw
History Blame Contribute Delete
749 Bytes
---
license: apache-2.0
library_name: transformers
base_model: Qwen/Qwen3.5-9B
tags:
- metis
- memory
- custom-code
---
# Metis-9B
Metis-9B is a Metis persistent-memory model built on `Qwen/Qwen3.5-9B`.
The repository contains the complete merged model weights rather than a delta-only checkpoint.
## Load
```python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "IAAR-Shanghai/Metis-9B"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True,
dtype=torch.bfloat16,
device_map="auto",
)
```
Metis uses custom Transformers code included in this repository. Use Transformers 5.4.0 or newer.