Downloads · 30 days
0
MickHester/the-silver-pigs-finetuned
the-silver-pigs-finetuned is a text generation model from MickHester. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This model was fine-tuned on audiobook content using the AudioBook Visualizer application.
Downloads · 30 days
0
Access
Public
Updated Aug 11, 2025
Repo size
109 MB
Likes
0
Public
Click a slice to open those files.
.md2.6 KB · 64%
From the Hugging Face model README
This model was fine-tuned on audiobook content using the AudioBook Visualizer application.
Deploy on RunPod serverless with these environment variables:
{
"MODEL_NAME": "the-silver-pigs-finetuned",
"TRUST_REMOTE_CODE": "true",
"MAX_MODEL_LEN": "2048",
"DTYPE": "float16",
"ENABLE_LORA": "true"
}
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base_model = "teknium/OpenHermes-2.5-Mistral-7B"
model = AutoModelForCausalLM.from_pretrained(
base_model,
torch_dtype=torch.float16,
device_map="auto"
)
model = PeftModel.from_pretrained(model, "the-silver-pigs-finetuned")
tokenizer = AutoTokenizer.from_pretrained("the-silver-pigs-finetuned")
# Query the model
prompt = "Tell me about the main character."
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=200, temperature=0.7)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
This model was fine-tuned on audiobook transcript data, processed into ~490 question-answer pairs covering:
AudioBook Visualizer - An application for fine-tuning LLMs on audiobook content.
Original model path: /runpod-volume/fine-tuning/training-1754891374667