Downloads · 30 days
126
68% of all-time downloads
khazarai/LawLumin-1.7B
LawLumin-1.7B is a text generation model from khazarai. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
JurisQwen-1.7B-CoT is a fine-tuned version of Qwen3-1.7B, specialized for legal reasoning and analytical thinking using structured Chain-of-Thought (CoT) methodology. This model was trained on the moremilk/CoTLegalIss…
Downloads · 30 days
126
68% of all-time downloads
All-time downloads
185
Public
Parameters
1.7B
3.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors3.4 GB · 100%
From the Hugging Face model README
JurisQwen-1.7B-CoT is a fine-tuned version of Qwen3-1.7B, specialized for legal reasoning and analytical thinking using structured Chain-of-Thought (CoT) methodology. This model was trained on the moremilk/CoT_Legal_Issues_And_Laws — a curated collection of simplified legal reasoning tasks designed to help AI systems learn how to identify legal issues, apply rules, and derive logical conclusions through transparent step-by-step reasoning.
Primary Use Cases:
Examples of What It Can Do:
This model must not be used for:
The model is intended strictly for research and educational purposes within a simplified, illustrative legal reasoning framework.
Use the code below to get started with the model.
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("khazarai/LawLumin-1.7B")
model = AutoModelForCausalLM.from_pretrained(
"khazarai/LawLumin-1.7B",
device_map={"": 0}
)
question = """
What types of legal assistance are typically offered through legal aid organizations, and how does eligibility for these services generally work?
"""
messages = [
{"role" : "user", "content" : question}
]
text = tokenizer.apply_chat_template(
messages,
tokenize = False,
add_generation_prompt = True,
enable_thinking = True,
)
from transformers import TextStreamer
_ = model.generate(
**tokenizer(text, return_tensors = "pt").to("cuda"),
max_new_tokens = 2048,
temperature = 0.6,
top_p = 0.95,
top_k = 20,
streamer = TextStreamer(tokenizer, skip_prompt = True),
)
Dataset: moremilk/CoT_Legal_Issues_And_Laws Scope: