Downloads · 30 days
0
hobbesthecomputerscientist/mock-trial-ai-v2
mock-trial-ai-v2 is a text generation model from hobbesthecomputerscientist. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This model is a fine-tuned version of Microsoft's Phi-1.5 (1.3B parameters), serving as the second-iteration prototype for a specialized legal assistant. It was designed to test the feasibility of using small-scale la…
Downloads · 30 days
0
Access
Public
Updated Apr 1, 2026
Repo size
25.2 MB
Likes
0
Public
Click a slice to open those files.
.safetensors6.3 MB · 64%
From the Hugging Face model README
This model is a fine-tuned version of Microsoft's Phi-1.5 (1.3B parameters), serving as the second-iteration prototype for a specialized legal assistant. It was designed to test the feasibility of using small-scale language models for high-stakes Mock Trial preparation.
This prototype is intended for:
This model is a research prototype and is not intended for professional legal counsel or use in actual courtroom settings.
As a 1.3B parameter model, this version is more prone to hallucinations and logic errors compared to larger models (like the Llama-3.1 v3 iteration). It should be used for educational simulation only.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("your-username/Phi-1.5-Mock-Trial-v2")
tokenizer = AutoTokenizer.from_pretrained("your-username/Phi-1.5-Mock-Trial-v2")
# Example inference
inputs = tokenizer("Objection, relevance:", return_tensors="pt")
outputs = model.generate(**inputs, max_length=50)
print(tokenizer.decode(outputs[0]))