AnnaStudy commited on
Commit
83efa8d
·
verified ·
1 Parent(s): 4b29024

Create README.md

Browse files

# ReaKase-8B: A Knowledge-Grounded Legal Reasoning LLM
![ReaKase-8B](reakase-architecture.png)

## 🧩 Example Usage

```python
from transformers import AutoModel, AutoTokenizer

model = AutoModel.from_pretrained("AnnaStudy/ReaKase-8B", torch_dtype="auto", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("AnnaStudy/ReaKase-8B")

case_txt = "The following contains key components of a legal case. Legal facts..."

tokenized = tokenizer(case_txt, return_tensors='pt', padding=True, truncation=True, max_length=2048)
outputs = model(**tokenized)
case_embedding = outputs.last_hidden_state[:, -1]

# Cite
If you find this repo useful, please cite
```
@article {ReaKase-8B,
author = {Yanran Tang and
Ruihong Qiu and
Xue Li and
Zi Huang},
title = {ReaKase-8B: Legal Case Retrieval via Knowledge and Reasoning Representations with LLMs},
journal = {CoRR},
volume = {abs/2510.26178},
year = {2025}
}
```

Files changed (1) hide show
  1. README.md +7 -0
README.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ base_model:
6
+ - Qwen/Qwen3-Embedding-8B
7
+ ---