Text Generation
Transformers
Safetensors
GGUF
MLX
English
llama
190m
from-scratch
tiny
text-generation-inference
conversational
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
Soham Anand commited on
Upload folder using huggingface_hub
Browse filesFiles changed (10)
- .gitattributes+3
- ModelfileAdded+10
- README.mdAdded+63
- config.jsonAdded+21
- model.safetensorsAdded+3
- tokenizer.modelAdded+3
- tokenizer_config.jsonAdded+9
- unrealistic-v1-Q4_K_M.ggufAdded+3
- unrealistic-v1-Q8_0.ggufAdded+3
- unrealistic-v1-f16.ggufAdded+3
32 unmodified lines33343536373832 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textunrealistic-v1-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textunrealistic-v1-Q8_0.gguf filter=lfs diff=lfs merge=lfs -textunrealistic-v1-f16.gguf filter=lfs diff=lfs merge=lfs -text12345678910# Local Ollama use (no library publishing needed):# ollama create unrealistic-v1 -f Modelfile# ollama run unrealistic-v1# Point FROM at the local Q4_K_M file (default) or swap in Q8_0/F16.FROM ./gguf/unrealistic-v1-Q4_K_M.ggufPARAMETER temperature 0.4PARAMETER top_p 0.9PARAMETER repeat_penalty 1.25PARAMETER num_ctx 1024SYSTEM """You are Unrealistic v1, a small helpful assistant. Answer briefly and factually."""123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263---language: enlicense: apache-2.0library_name: transformerspipeline_tag: text-generationtags:- 190m- from-scratch- mlx- tiny---
# Unrealistic v1 (190M)
Decoder-only transformer LM (189,748,992 params) trained from scratch on aMacBook Air M4 with MLX. LLaMA-family: 14 layers, hidden 768, FFN 4096,8 heads, RoPE θ=10k, RMSNorm, SiLU/SwiGLU, tied embeddings, bf16,32K SentencePiece vocab, 1024 context.
## Training
~356K steps / ~1.1B tokens. Chain: Stage C → CoT (math+code reasoning) →Refresh (240M topper) → Realization (judgment tasks) → SFT (31.7M incl.OpenAssistant) → Wiki entities+math (13.35M) → SFT-refresh → DPO(UltraFeedback, β=0.5) → diverse-SFT (smol-smoltalk + UltraChat + tasksynthetics) → pristine anchors. AdamW throughout. Full log:`docs/TRAINING_REPORT.md`.
## Evaluation (final `step_355789`)
- Math free-gen 10/15 · GK 16/16 · Code 3/5 · Culture 4/7- First-token probes 20/40 top-3- Standard benchmarks: `evals/benchmarks/final/results.json` (ARC-Easy, PIQA, HellaSwag-sample, Winogrande, TruthfulQA-MC1, MMLU-easy, GSM8K-sample, MBPP-sample)- Full detail: `docs/EVAL_REPORT.md`
## Usage
```pythonfrom transformers import AutoModelForCausalLM, AutoTokenizertok = AutoTokenizer.from_pretrained("REPO_ID")model = AutoModelForCausalLM.from_pretrained("REPO_ID")```
On Apple Silicon the native MLX checkpoint + `scripts/spot_infer.py` is fastest.Suggested decode: temperature 0.4, top_p 0.9, repetition_penalty 1.25.
GGUF quants (Q8_0 recommended, Q4_K_M small-device, F16 reference) + alocal-Ollama `Modelfile` ship alongside. (Ollama library listing excluded:publisher under 18; local use unaffected.)
## Limitations
Weak: large-number word problems, deep code, biology, multi-step reasoning,instruction-following beyond basics, non-English. May hallucinate entitiesand dates. 190M memorization model, not a reasoner.
## Data & license
Weights: Apache-2.0. Training-data attribution: `docs/DATA_REPORT.md`(CC BY-SA content attributed; 0.6% GPL-family trace in code data measuredand documented; no verbatim reproduction possible at this scale).123456789101112131415161718192021{ "architectures": [ "LlamaForCausalLM" ], "model_type": "llama", "hidden_size": 768, "intermediate_size": 4096, "num_hidden_layers": 14, "num_attention_heads": 8, "num_key_value_heads": 8, "vocab_size": 32000, "max_position_embeddings": 1024, "rope_theta": 10000.0, "rms_norm_eps": 1e-06, "hidden_act": "silu", "tie_word_embeddings": true, "torch_dtype": "bfloat16", "bos_token_id": 1, "eos_token_id": 2, "pad_token_id": 2}123version https://git-lfs.github.com/spec/v1oid sha256:35a6bc8ecafce910c2fb70bd0830a0cbebe3e3702f1e5eda8d2c133805780b31size 379512288123version https://git-lfs.github.com/spec/v1oid sha256:1f4838c88f8a2964a0e2224a7f56ae4f238170662dff90750fa961ee52b0ecb3size 784524123456789{ "tokenizer_class": "LlamaTokenizer", "bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "pad_token": "</s>", "add_bos_token": true, "add_eos_token": false}123version https://git-lfs.github.com/spec/v1oid sha256:fdb7d3a7620f0cb059ecf40858da900b871c972570ccd2d098b33f1e4c9c1045size 119701472123version https://git-lfs.github.com/spec/v1oid sha256:c89b8edace77ebdbcb4e1eeab3f311e3d18576232087b920d4e4f8c53639cf40size 202450400123version https://git-lfs.github.com/spec/v1oid sha256:45aea0c87a8cf7c9a387ba9a5f6883e6d70ad404f07ecc37f25faf8aa0f139e5size 380319200.gitattributes+3
ModelfileAdded+10
README.mdAdded+63
config.jsonAdded+21
model.safetensorsAdded+3
tokenizer.modelAdded+3
tokenizer_config.jsonAdded+9
unrealistic-v1-Q4_K_M.ggufAdded+3
unrealistic-v1-Q8_0.ggufAdded+3
unrealistic-v1-f16.ggufAdded+3