Instructions to use sjmoon21/SJ-ko 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 sjmoon21/SJ-ko 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 sjmoon21/SJ-ko # Run inference directly in the terminal: llama cli -hf sjmoon21/SJ-ko
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf sjmoon21/SJ-ko # Run inference directly in the terminal: llama cli -hf sjmoon21/SJ-ko
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 sjmoon21/SJ-ko # Run inference directly in the terminal: ./build/bin/llama cli -hf sjmoon21/SJ-ko
Use Docker
docker model run hf.co/sjmoon21/SJ-ko
- Llama new
- LM Studio
- Jan
- vLLM
How to use sjmoon21/SJ-ko with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sjmoon21/SJ-ko" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sjmoon21/SJ-ko", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/sjmoon21/SJ-ko
- Ollama
How to use sjmoon21/SJ-ko with Ollama:
ollama run hf.co/sjmoon21/SJ-ko
- Unsloth Desktop
- Docker Model Runner
How to use sjmoon21/SJ-ko with Docker Model Runner:
docker model run hf.co/sjmoon21/SJ-ko
- Lemonade
How to use sjmoon21/SJ-ko with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull sjmoon21/SJ-ko
Run and chat with the model
lemonade run user.SJ-ko-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Add live demo link and self-hosting instructions
Browse files18 unmodified lines19202122232424 unmodified lines49505152535418 unmodified linesattention, training loop, and GGUF converter were all written by hand. This is aneducational project, not a production model.- Author: Sungjin Moon, Seoul National University, Department of Physics & Astronomy, Physics- Contatct : mongsil88@snu.ac.kr24 unmodified linesPARAMETER stop "<|endoftext|>"```## Training dataPre-training (310M characters)18 unmodified lines1920212223242524 unmodified lines505152535455565758596061626364656667686918 unmodified linesattention, training loop, and GGUF converter were all written by hand. This is aneducational project, not a production model.- Live demo: http://49.50.140.57:3000- Author: Sungjin Moon, Seoul National University, Department of Physics & Astronomy, Physics- Contatct : mongsil88@snu.ac.kr24 unmodified linesPARAMETER stop "<|endoftext|>"```## Self-hosting the chat UI`serve_ollama.py` is a dependency-free chat server (Python standard library only,no PyTorch). It talks to a local Ollama instance and streams responses.```bashOLLAMA_HOST=127.0.0.1:11434 ollama serve &ollama create sj-0.5.1si -f Modelfilepython3 serve_ollama.py --model sj-0.5.1si --host 0.0.0.0 --port 3000```Keep Ollama bound to localhost. Its API has no authentication and allows modeldeletion, so it must never be exposed to the internet.## Training dataPre-training (310M characters)
README.md+15