Run this model with HF Jobs
Run NuclearDorfus/Shitstral-4-41K-A41K on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/NuclearDorfus/Shitstral-4-41K-A41K. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/NuclearDorfus/Shitstral-4-41K-A41K on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/NuclearDorfus/Shitstral-4-41K-A41K. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/NuclearDorfus/Shitstral-4-41K-A41K. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use NuclearDorfus/Shitstral-4-41K-A41K with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NuclearDorfus/Shitstral-4-41K-A41K with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NuclearDorfus/Shitstral-4-41K-A41K")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("NuclearDorfus/Shitstral-4-41K-A41K") model = AutoModelForCausalLM.from_pretrained("NuclearDorfus/Shitstral-4-41K-A41K", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use NuclearDorfus/Shitstral-4-41K-A41K with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NuclearDorfus/Shitstral-4-41K-A41K" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NuclearDorfus/Shitstral-4-41K-A41K", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/NuclearDorfus/Shitstral-4-41K-A41K
- SGLang
How to use NuclearDorfus/Shitstral-4-41K-A41K 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 "NuclearDorfus/Shitstral-4-41K-A41K" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NuclearDorfus/Shitstral-4-41K-A41K", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "NuclearDorfus/Shitstral-4-41K-A41K" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NuclearDorfus/Shitstral-4-41K-A41K", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use NuclearDorfus/Shitstral-4-41K-A41K with Docker Model Runner:
docker model run hf.co/NuclearDorfus/Shitstral-4-41K-A41K
Shitstral 4 - Le Shit
Shitstral 4 is my smallest and most pathetic model to date: a 41 thousand-parameter natively single-modal """Mixture-of-Experts""" model with 41 thousand active parameters per token (still 41 thousand including embeddings and output layers), trained from scratch on one (1) Intel Processor N100 CPU in Nukey's own laptop in Europe.
Shitstral 4 unifies pissing, shitting, consuming alcohol, and natural workflows in a single set of weights. While an expert model, it shows especially bad performance on workloads such as cybersecurity, finance, and law, and it doesn't even come close to frontier closed models on visual grounding. It is natively fluent in 1 language, including every official language of Nigeria.
Find more information on how data centers are destroying the environment and how big corporations are responsible for it (including Mistral) and my uhh, well that's it actually. The model is also not served on the Nukey API as lmfao get a life.
Parody / educational toy, not affiliated with Mistral AI.
How it was made
- Architecture: MistralForCausalLM, dense, 1 layer
- Params: 41,152
- Hidden: 64, Intermediate: 128
- Heads: 2 Q, 1 KV (GQA), head_dim 32
- Context: 16, Sliding window: 16, RoPE theta: 10000
- Tokenizer: WordLevel, whitespace split, vocab 32 (16 real + 16 unused)
- Data: 1200 lines of synthetic biological history, written by hand
- Training: Adam lr 0.005, batch 256, 5 epochs
- Hardware: Intel N100 CPU
Results (training loss):
| Epoch | Loss |
|---|---|
| 1 | 2.7073 |
| 2 | 1.3891 |
| 3 | 0.7117 |
| 4 | 0.4486 |
| 5 | 0.3613 |
Vocab - the only 16 words it knows:
<pad>, <s>, </s>, eat, drink, sleep, wake, water, coffee, beer, soda, fiber, junk_food, heavy_meal, piss, shit
Tests:
- Prompt:
wake piss drink water->piss eat fiber - Prompt:
wake drink beer drink beer drink beer sleep->wake piss eat piss sleep wake
Usage
from transformers import AutoTokenizer, AutoModelForCausalLM
tok = AutoTokenizer.from_pretrained("NuclearDorfus/Shitstral-4-41K-2611")
model = AutoModelForCausalLM.from_pretrained("NuclearDorfus/Shitstral-4-41K-2611")
ids = tok("wake piss drink water", return_tensors="pt")
out = model.generate(ids["input_ids"], max_new_tokens=6, do_sample=False, pad_token_id=0)
print(tok.decode(out[0], skip_special_tokens=True))
Disclaimer
This model has not been thoroughly tested. Toy model, only knows 16 words, context 16. Not medical advice, use it responsibly. License is CC BY-NC 4.0, non-commercial use only.
- Downloads last month
- 114