Run this model with HF Jobs
Run DoctorJhatka/Unrealistic-v1 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/DoctorJhatka/Unrealistic-v1. 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/DoctorJhatka/Unrealistic-v1 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/DoctorJhatka/Unrealistic-v1. 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/DoctorJhatka/Unrealistic-v1. 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 DoctorJhatka/Unrealistic-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DoctorJhatka/Unrealistic-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DoctorJhatka/Unrealistic-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DoctorJhatka/Unrealistic-v1") model = AutoModelForCausalLM.from_pretrained("DoctorJhatka/Unrealistic-v1", device_map="auto") - MLX
How to use DoctorJhatka/Unrealistic-v1 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("DoctorJhatka/Unrealistic-v1") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use DoctorJhatka/Unrealistic-v1 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf DoctorJhatka/Unrealistic-v1:F16 # Run inference directly in the terminal: llama cli -hf DoctorJhatka/Unrealistic-v1:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf DoctorJhatka/Unrealistic-v1:F16 # Run inference directly in the terminal: llama cli -hf DoctorJhatka/Unrealistic-v1:F16
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf DoctorJhatka/Unrealistic-v1:F16 # Run inference directly in the terminal: ./build/bin/llama cli -hf DoctorJhatka/Unrealistic-v1:F16
Use Docker
docker model run hf.co/DoctorJhatka/Unrealistic-v1:F16
- Llama new
- LM Studio
- Jan
- vLLM
How to use DoctorJhatka/Unrealistic-v1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DoctorJhatka/Unrealistic-v1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DoctorJhatka/Unrealistic-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DoctorJhatka/Unrealistic-v1:F16
- SGLang
How to use DoctorJhatka/Unrealistic-v1 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 "DoctorJhatka/Unrealistic-v1" \ --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": "DoctorJhatka/Unrealistic-v1", "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 "DoctorJhatka/Unrealistic-v1" \ --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": "DoctorJhatka/Unrealistic-v1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use DoctorJhatka/Unrealistic-v1 with Ollama:
ollama run hf.co/DoctorJhatka/Unrealistic-v1:F16
- Unsloth Desktop
- MLX LM
How to use DoctorJhatka/Unrealistic-v1 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "DoctorJhatka/Unrealistic-v1"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "DoctorJhatka/Unrealistic-v1" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DoctorJhatka/Unrealistic-v1", "messages": [ {"role": "user", "content": "Hello"} ] }' - Docker Model Runner
How to use DoctorJhatka/Unrealistic-v1 with Docker Model Runner:
docker model run hf.co/DoctorJhatka/Unrealistic-v1:F16
- Lemonade
How to use DoctorJhatka/Unrealistic-v1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull DoctorJhatka/Unrealistic-v1:F16
Run and chat with the model
lemonade run user.Unrealistic-v1-F16
List all available models
lemonade list
- Atomic Chat
Download docs/ARCHITECTURE.md from DoctorJhatka/Unrealistic-v1: direct link, hf CLI and curl.
- Browser
- Download file 1.87 kB
-
https://huggingface.co/DoctorJhatka/Unrealistic-v1/resolve/main/docs/ARCHITECTURE.md
- Command line
-
hf download hf://DoctorJhatka/Unrealistic-v1/docs/ARCHITECTURE.md
-
curl -L -o ARCHITECTURE.md https://huggingface.co/DoctorJhatka/Unrealistic-v1/resolve/main/docs/ARCHITECTURE.md
Unrealistic v1 — Architecture
Dict-config MLX transformer, LLaMA family. No framework magic: every tensor
is an explicit dict entry (src/model/transformer.py).
Config (configs/model_config.json)
| Parameter | Value |
|---|---|
| Params (counted) | 189,748,992 |
hidden_size |
768 |
intermediate_size |
4096 (SwiGLU → 2 matrices) |
num_hidden_layers |
14 |
num_attention_heads / num_key_value_heads |
8 / 8 (full MHA) |
max_position_embeddings |
1024 |
rope_theta |
10000.0, no scaling |
hidden_act |
silu |
rms_norm_eps |
1e-6 (pre-norm: attn_norm + ffn_norm per layer, final_norm) |
vocab_size |
32000 (SentencePiece BPE, data/tokenizer/phase1.model) |
tie_word_embeddings |
true (lm_head = embedding transpose) |
initializer_range |
0.02, dropout 0.1 (train only) |
| Train dtype | bfloat16 |
Param tree: embeddings.token_embedding, per-layer
attn_norm/ffn_norm/attn.{q,k,v,o}/ffn.{gate,up,down}, final_norm
(no separate lm_head — tied).
Training setup
- Optimizer: AdamW (MLX), β 0.9/0.999, wd 0.1, clip 1.0, cosine + warmup.
--reset-optimizerat phase starts, kept on mid-phase resumes. - Batch 1 × grad-accum (8 @seq1024 → 8192 tok/step; 4 @seq512 → 2048).
- Gradient checkpointing on. Checkpoint every 500 steps (200 for short
phases) + hourly, keep_last 3. Final save lands at max_steps−1
(loop
range(step, max)then saves last iterated step) — all downstream gates accept≥ FINAL−1and use the actual latest dir. - Inference:
src/inference/generate.py(temp/top-p/top-k/rep-penalty).
Export map (MLX npz → HF → GGUF)
HF LlamaForCausalLM layout: model.embed_tokens,
per-layer self_attn.{q,k,v,o}_proj, mlp.{gate,up,down}_proj,
input_layernorm/post_attention_layernorm, model.norm.
(scripts/export_pt.py, post-training.)