Instructions to use MLVXN/microllm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use MLVXN/microllm 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 MLVXN/microllm:F16 # Run inference directly in the terminal: llama cli -hf MLVXN/microllm:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf MLVXN/microllm:F16 # Run inference directly in the terminal: llama cli -hf MLVXN/microllm:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf MLVXN/microllm:F16 # Run inference directly in the terminal: ./llama-cli -hf MLVXN/microllm:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf MLVXN/microllm:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf MLVXN/microllm:F16
Use Docker
docker model run hf.co/MLVXN/microllm:F16
- LM Studio
- Jan
- vLLM
How to use MLVXN/microllm with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MLVXN/microllm" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MLVXN/microllm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MLVXN/microllm:F16
- Ollama
How to use MLVXN/microllm with Ollama:
ollama run hf.co/MLVXN/microllm:F16
- Unsloth Studio
How to use MLVXN/microllm with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MLVXN/microllm to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for MLVXN/microllm to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for MLVXN/microllm to start chatting
- Docker Model Runner
How to use MLVXN/microllm with Docker Model Runner:
docker model run hf.co/MLVXN/microllm:F16
- Lemonade
How to use MLVXN/microllm with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull MLVXN/microllm:F16
Run and chat with the model
lemonade run user.microllm-F16
List all available models
lemonade list
- Atomic Chat
| license: mit | |
| tags: | |
| - llama | |
| - text-generation | |
| - from-scratch | |
| - hobby-project | |
| language: | |
| - en | |
| # Microllm | |
| -- Use the non GGUF version for now. -- | |
| A small (768-dim, 22-layer, ~50260 vocab) decoder-only | |
| transformer, pretrained from scratch on streaming FineWeb-Edu and instruction | |
| fine-tuned on Dolly-15k + No Robots. This is an independent hobbyist project, | |
| not affiliated with any AI lab - trained end-to-end on a single rented GPU. | |
| Architecturally this is a standard Llama-style model (RMSNorm, RoPE, SwiGLU, | |
| tied embeddings), so it loads directly with `transformers`: | |
| ```python | |
| from transformers import AutoModelForCausalLM, AutoTokenizer | |
| tok = AutoTokenizer.from_pretrained("MLVXN/microllm") | |
| model = AutoModelForCausalLM.from_pretrained("MLVXN/microllm") | |
| prompt = "<|user|>What's your name?<|assistant|>" | |
| ids = tok(prompt, return_tensors="pt").input_ids | |
| out = model.generate(ids, max_new_tokens=100, do_sample=True, temperature=0.8, top_k=50) | |
| print(tok.decode(out[0])) | |
| ``` | |
| ## Chat format | |
| This model was fine-tuned on a simple turn structure, not a full chat | |
| template - wrap each user message like this: | |
| ``` | |
| <|user|>{message}<|assistant|> | |
| ``` | |
| Generation should stop at `<|end|>` (id 50259). | |
| ## Checkpoint info | |
| - Fine-tuning phase reached: `no_robots` | |
| - Fine-tuning global step: `4845` | |
| - seq_len: 1024 | |
| ## Known limitations | |
| This is a ~150M-parameter model trained on a modest compute budget. Expect | |
| coherent grammar and conversational fluency, but unreliable facts and no real | |
| multi-step reasoning - that's the honest ceiling for this size/budget, not a | |
| bug. It reliably knows its own identity (name/creator) because that was | |
| explicitly trained in, separately from general knowledge quality. | |
| ## Running in LM Studio / llama.cpp / Ollama | |
| If a `.gguf` file is included in this repo, download it directly in LM Studio | |
| via its Hugging Face search, or point llama.cpp / Ollama at the file. If no | |
| `.gguf` is present, convert it yourself: | |
| ```bash | |
| git clone https://github.com/ggerganov/llama.cpp | |
| cd llama.cpp | |
| pip install -r requirements.txt | |
| python convert_hf_to_gguf.py /path/to/microllm --outfile microllm.gguf --outtype f16 | |
| # optional: quantize for a smaller file | |
| ./llama-quantize microllm.gguf microllm.Q4_K_M.gguf Q4_K_M | |
| ``` | |