Downloads · 30 days
8
2% of all-time downloads
sivakaturi48/SLM-Siva-Finetuned
SLM-Siva-Finetuned is a text generation model from sivakaturi48. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A 125M parameter small language model fine-tuned on a legal/financial corpus (~2.19B tokens including US case law, SEC filings, and web text).
Downloads · 30 days
8
2% of all-time downloads
All-time downloads
369
Public
Parameters
126M
252 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors252 MB · 100%
From the Hugging Face model README
A 125M parameter small language model fine-tuned on a legal/financial corpus (~2.19B tokens including US case law, SEC filings, and web text).
| Property | Value |
|---|---|
| Architecture | LlamaForCausalLM |
| Parameters | 125,848,320 |
| Model Size | 252 MB |
| Training Corpus | US case law + SEC filings + web slice (~2.19B tokens) |
| Epochs | 5 |
| Format | safetensors |
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
tokenizer = AutoTokenizer.from_pretrained("sivakaturi48/SLM-Siva-Finetuned")
model = AutoModelForCausalLM.from_pretrained("sivakaturi48/SLM-Siva-Finetuned")
model.eval()
prompt = "The court held that the defendant"
input_ids = tokenizer(prompt, return_tensors="pt").input_ids
with torch.no_grad():
output = model.generate(input_ids, max_new_tokens=100, do_sample=True, temperature=0.7, top_p=0.9)
print(tokenizer.decode(output[0], skip_special_tokens=True))
Prompt: "The court held that the defendant"
The court held that the defendant had not offered any evidence in his defense. In support of its holding, the trial judge cited two cases from this court where an accused has been denied the opportunity to present a defense.
Prompt: "The Company reported net revenues of"
The Company reported net revenues of $2.8 million and operating income (loss) of $(1,078,000), for the year ended December 31, 1997 compared to a net loss of ($279,000). The increase in net revenues was primarily due to increased sales volumes.
Prompt: "Pursuant to Section 12 of the Act"
Pursuant to Section 12 of the Act, this Registrant's Report shall not be signed by the undersigned except by duly authorized officers or agents. In accordance with the Securities Exchange Act of 1934, this report has been signed below.
This is a small language model (125M parameters) designed for learning and experimentation. It can generate coherent legal/financial text but may produce imprecise or repetitive outputs for complex prompts. This is not a production legal or financial tool.
Siva Katuri