Downloads · 30 days
0
Albiemark/matlock-canadian-law
matlock-canadian-law is a machine learning model from Albiemark. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model is specialized in Canadian immigration and refugee law, built on Mistral 7B.
Downloads · 30 days
0
Access
Public
Updated Apr 16, 2025
Repo size
—
Likes
1
Public
Click a slice to open those files.
.jsonl3.3 MB · 100%
From the Hugging Face model README
This model is specialized in Canadian immigration and refugee law, built on Mistral 7B.
Matlock (legal-mistral-immigration-v2) is designed for analyzing and explaining Canadian immigration and refugee law, with particular expertise in:
The model incorporates data from:
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("Albiemark/matlock-canadian-law")
tokenizer = AutoTokenizer.from_pretrained("Albiemark/matlock-canadian-law")
# Example query
query = "What is the definition of a Convention refugee in Canadian law?"
inputs = tokenizer(query, return_tensors="pt")
outputs = model.generate(**inputs)
response = tokenizer.decode(outputs[0])
This model is released under the Apache 2.0 license.