Text Generation
Transformers
Safetensors
English
qwen3_5_text
toronto
slang
multicultural-toronto-english
persona
chat
lora
qwen3.5
conversational
Instructions to use devon7y/Toronto-Mans-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use devon7y/Toronto-Mans-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="devon7y/Toronto-Mans-9B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("devon7y/Toronto-Mans-9B") model = AutoModelForCausalLM.from_pretrained("devon7y/Toronto-Mans-9B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use devon7y/Toronto-Mans-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "devon7y/Toronto-Mans-9B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "devon7y/Toronto-Mans-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/devon7y/Toronto-Mans-9B
- SGLang
How to use devon7y/Toronto-Mans-9B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "devon7y/Toronto-Mans-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "devon7y/Toronto-Mans-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "devon7y/Toronto-Mans-9B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "devon7y/Toronto-Mans-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use devon7y/Toronto-Mans-9B with Docker Model Runner:
docker model run hf.co/devon7y/Toronto-Mans-9B
Card: judge results
Browse files
README.md
CHANGED
|
@@ -58,20 +58,25 @@ Toronto-Mans-35B-A3B does one ting and one ting only: it's bare fun to talk to.
|
|
| 58 |
|
| 59 |
## Benchmark Results
|
| 60 |
|
| 61 |
-
NAHHH mans did NOT run MMLU 😭 What would mans even do with MMLU? Dis is a persona ting. It got
|
| 62 |
|
| 63 |
-
| Metric (
|
| 64 |
| --- | --- | --- |
|
| 65 |
-
|
|
| 66 |
-
|
|
| 67 |
-
|
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
-
|
| 71 |
|
| 72 |
-
|
| 73 |
|
| 74 |
-
|
|
|
|
|
|
|
| 75 |
|
| 76 |
## Quickstart
|
| 77 |
|
|
@@ -163,7 +168,7 @@ Mans recommends `temperature=0.8`, `top_p=0.95`, `repetition_penalty=1.15`. Push
|
|
| 163 |
|
| 164 |
Multicultural Toronto English is the everyday speech of Toronto's Black Caribbean, Somali, Arab, and South Asian youth, among bare others, and it's their ting before it's anyone's meme. Dis model performs the exaggerated version, the one Toronto itself made famous and posts on itself, and it was built with hard rules: no clowning those communities, no slurs, nothing aimed at people. It is still an exaggeration. Don't deploy it like it's how anybody actually talks, don't use it to imitate a real person, and don't put it anywhere the joke won't land as a joke. Mans means dat.
|
| 165 |
|
| 166 |
-
Also, the lexicon got annotated by a language model off evidence and only partly checked by humans, so some glosses are wrong and mans inherited dem. About
|
| 167 |
|
| 168 |
## License
|
| 169 |
|
|
|
|
| 58 |
|
| 59 |
## Benchmark Results
|
| 60 |
|
| 61 |
+
NAHHH mans did NOT run MMLU 😭 What would mans even do with MMLU? Dis is a persona ting. It got judged on the same 286 held-out prompts as its siblings (casual Toronto-life messages, serious messages where mans HAS to lowe the slang, "what does greezy mean" questions, prompts built off real Toronto lines, and London-bait prompts trying to make mans say innit) by an LLM judge preeing every reply against the written style guide, plus a deterministic scorer counting lexicon hits like a bouncer counting heads.
|
| 62 |
|
| 63 |
+
| Metric (casual prompts, n=100, intensity 5) | Base Qwen3.5-9B + persona prompt | **Toronto-Mans-9B** |
|
| 64 |
| --- | --- | --- |
|
| 65 |
+
| Answers the user's actual question | 83% | 98% |
|
| 66 |
+
| Drops the slang when the topic is serious (judge's dial-down check) | 40% | 90% |
|
| 67 |
+
| London or generic UK slang detected | 31% | 17% |
|
| 68 |
+
| Word salad | 0% | 0% |
|
| 69 |
+
| Caricature or mocking | 1% | 0% |
|
| 70 |
+
| Overall quality (1 to 5) | 2.64 | 3.11 |
|
| 71 |
+
| Slang-meaning questions correct (n=100) | n/a | 82% |
|
| 72 |
|
| 73 |
+
Same scorer, same prompts, deterministic markers: hard London words on London-bait prompts 20% for the base, **0%** for mans; median slang density on serious prompts 28 per 1,000 words for the base, **0** for mans; slang density on real-Toronto prompts 46 for the base, **215** for mans.
|
| 74 |
|
| 75 |
+
Two twos: the base 9B with the exact same system prompt keeps chatting slang at people who just told it their grandmother died (dial-down 40%) and sprinkles in London words one time in five when you bait it. Mans fixed BOTH of dem. Base model is finished. Base model is ACTUALLY FINISHED.
|
| 76 |
|
| 77 |
+
Where it sits in the family, same judge, same prompts, intensity 5: overall quality 3.11 for the 9B against 3.05 for the [35B](https://huggingface.co/devon7y/Toronto-Mans-35B-A3B) and 2.78 for the [4B](https://huggingface.co/devon7y/Toronto-Mans-4B) (the 4B at intensity 3, its best setting); on the prompts built off real Toronto lines 3.42 against 3.38 and 3.31; slang-meaning questions 82% against 74% for the big man. So the 9B chats level with the 35B, knows the words better, keeps the London out as well as anybody, and answers in a couple of seconds instead of half a minute. Wallahi it's the sweet spot. Dat's why the Space says so.
|
| 78 |
+
|
| 79 |
+
One likkle honesty ting, cro: dis judge is the base Qwen3.6-35B-A3B running on the cluster, and it marks harder than the judge that graded the 4B and 35B cards, so don't line the numbers on dis page up against dem pages. Line dem up against each other. Weak spot, no cap: about 1 in 6 casual replies still gets flagged for a word Toronto shares with London, and "what does greezy mean" type questions still miss about 1 in 5. If you need a dictionary, link the [lexicon](https://huggingface.co/datasets/devon7y/toronto-slang-lexicon), don't link the vibes. The vibes are bare confident and sometimes bare wrong, ahlie.
|
| 80 |
|
| 81 |
## Quickstart
|
| 82 |
|
|
|
|
| 168 |
|
| 169 |
Multicultural Toronto English is the everyday speech of Toronto's Black Caribbean, Somali, Arab, and South Asian youth, among bare others, and it's their ting before it's anyone's meme. Dis model performs the exaggerated version, the one Toronto itself made famous and posts on itself, and it was built with hard rules: no clowning those communities, no slurs, nothing aimed at people. It is still an exaggeration. Don't deploy it like it's how anybody actually talks, don't use it to imitate a real person, and don't put it anywhere the joke won't land as a joke. Mans means dat.
|
| 170 |
|
| 171 |
+
Also, the lexicon got annotated by a language model off evidence and only partly checked by humans, so some glosses are wrong and mans inherited dem. About 1 in 6 casual replies still got a shared or generic UK word in dem by a strict judge's standard. Slang-meaning questions land 8 times in 10. Dis is 9 billion parameters of Toronto energy, not a source of truth. Mans is doing his best 😭
|
| 172 |
|
| 173 |
## License
|
| 174 |
|