Downloads · 30 days
24
1% of all-time downloads
Dev4PGH/pittsburghese-model
pittsburghese-model is a text generation model from Dev4PGH. 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.
A small fine-tuned language model that rewrites standard American English into playful Pittsburghese while preserving the original meaning.
Downloads · 30 days
24
1% of all-time downloads
All-time downloads
2.2K
Public
Repo size
12.1 GB
Likes
0
Public
Click a slice to open those files.
.onnx_data2.9 GB · 46%
From the Hugging Face model README
A small fine-tuned language model that rewrites standard American English into playful Pittsburghese while preserving the original meaning.
This repository contains two usable versions of the model:
full/ for local Python / Transformers useAn optional LoRA adapter is also included in adapter/.
The model takes plain English input and rewrites it in a Pittsburgh-flavored style. Typical transformations include:
you guys / you all → yinzclean up → redd upwash → worshslippery → slippydowntown → dahntahnrubber band → gumbandover-easy egg → dippy eggsoda → popjerk / idiot → jagoffnosy → nebbyThe goal is style transfer, not literal translation into a different language.
This model is fine-tuned from:
Qwen/Qwen2.5-0.5B-InstructBrowser-ready ONNX export for client-side inference with Transformers.js.
full/Merged safetensors checkpoint for Python / Transformers inference.
adapter/Optional LoRA adapter weights from training.
Input
Please clean up the kitchen before the guests arrive. Then we can go downtown and watch the game.
Output
Please redd up the kitchen before the guests get here. Then we can go dahntahn and watch the game, n'at.
The model was fine-tuned on a hand-built English → Pittsburghese dataset, expanded with additional longer and more literal-preservation examples to reduce over-paraphrasing and improve style transfer consistency.
Training workflow:
Qwen/Qwen2.5-0.5B-InstructThis repo is structured so a browser app can load it directly from the Hugging Face Hub using Transformers.js.
This repository is released under the Apache 2.0 license, consistent with the base model.
Built on top of Qwen2.5 and exported for browser inference with ONNX and Transformers.js.
NOTE: On our local setup, we copy the output to our pittsburghese-model repo with the following command: rsync -av --delete --exclude='.git/' --exclude='README.md' --exclude='LICENSE' pittsburghese-web/ ../pittsburghese-model/
Uploaded using: hf upload-large-folder Dev4PGH/pittsburghese-model . --repo-type=model --num-workers=8