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.

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
Safetensors
Model size
41.2k params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support