Instructions to use dikiyplayerpig/dpp-gpt-v2.0-flash-135m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use dikiyplayerpig/dpp-gpt-v2.0-flash-135m with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="dikiyplayerpig/dpp-gpt-v2.0-flash-135m", filename="dpp-gpt-v2.0-flash-f16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use dikiyplayerpig/dpp-gpt-v2.0-flash-135m with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M # Run inference directly in the terminal: llama-cli -hf dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M # Run inference directly in the terminal: llama-cli -hf dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M
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 dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M
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 dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M
Use Docker
docker model run hf.co/dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use dikiyplayerpig/dpp-gpt-v2.0-flash-135m with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dikiyplayerpig/dpp-gpt-v2.0-flash-135m" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dikiyplayerpig/dpp-gpt-v2.0-flash-135m", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M
- Ollama
How to use dikiyplayerpig/dpp-gpt-v2.0-flash-135m with Ollama:
ollama run hf.co/dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M
- Unsloth Studio
How to use dikiyplayerpig/dpp-gpt-v2.0-flash-135m 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 dikiyplayerpig/dpp-gpt-v2.0-flash-135m 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 dikiyplayerpig/dpp-gpt-v2.0-flash-135m to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for dikiyplayerpig/dpp-gpt-v2.0-flash-135m to start chatting
- Atomic Chat new
- Docker Model Runner
How to use dikiyplayerpig/dpp-gpt-v2.0-flash-135m with Docker Model Runner:
docker model run hf.co/dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M
- Lemonade
How to use dikiyplayerpig/dpp-gpt-v2.0-flash-135m with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dikiyplayerpig/dpp-gpt-v2.0-flash-135m:Q4_K_M
Run and chat with the model
lemonade run user.dpp-gpt-v2.0-flash-135m-Q4_K_M
List all available models
lemonade list
🧠 dpp-gpt v2.0 Flash (135M)
(🇺🇸 English / 🇷🇺 Русский)
This is a compact language model trained from scratch on the Llama 3 architecture. The model is part of the dpp-gpt small language models (SLM) family.
⚙️ Model Details
- Architecture: Llama 3
- Parameters: 136.9M
- Layers: 16
- Hidden size (Embeddings): 768
- Attention heads: 12
- Vocab size: ~24,000
- Context: 1024 tokens
- Format: GGUF
- License: Apache 2.0
🚀 Features & Training
- Pre-training: Weights were randomly initialized, and the architecture was built entirely from scratch.
- Fine-Tuning (SFT): The model underwent Supervised Fine-Tuning (SFT) on a custom dataset to understand dialogue structure and answer questions.
📊 Training Data
The model was pre-trained on a corpus of ~6.93 Billion tokens. The dataset is a carefully balanced mix of languages, code, and reasoning data:
- 49% — CulturaX (Russian text corpus)
- 28% — Russian Wikipedia
- 11% — Source code in various programming languages
- 9% — Cosmopedia
- 3% — Mathematics
💻 How to Use
The model is optimized for low-end devices and smartphones. It can be easily run using:
LM Studio
llama.cpp
KoboldCPP
recommended temperature: 0.3
recommended top-k: 10
Standard Prompt Format (ChatML):
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
Reasoning Mode Prompt:
<|im_start|>user
[THINK] {prompt}<|im_end|>
<|im_start|>assistant
🇷🇺 Описание на русском
Это компактная языковая модель, обученная с нуля (from scratch) на архитектуре Llama 3. Модель является частью семейства малых языковых моделей (SLM) проекта dpp-gpt.
⚙️ Детали модели
- Архитектура: Llama 3
- Параметры: 136.9M
- Слои (Layers): 16
- Размерность (Hidden size): 768
- Головы внимания (Attention heads): 12
- Размер словаря (Vocab size): ~24,000
- Контекст: 1024 токена
- Формат весов: GGUF
- Лицензия: Apache 2.0
🚀 Особенности и обучение
- Pre-training: Веса были инициализированы случайным образом, архитектура полностью собрана с нуля.
- Fine-Tuning (SFT): Модель прошла стадию SFT на авторском датасете, чтобы понимать структуру диалога и отвечать на вопросы.
📊 Данные для обучения
Модель обучалась на корпусе объемом ~6.93 млрд токенов. Состав датасета был сбалансирован для получения базовых навыков языка, логики и программирования:
- 49% — CulturaX (очищенный русскоязычный корпус)
- 28% — Русская Википедия
- 11% — Исходный код на различных языках программирования
- 9% — Cosmopedia
- 3% — Математика
💻 Как использовать
Модель оптимизирована для работы на слабых устройствах и телефонах. Она легко запускается через:
LM Studio
llama.cpp
KoboldCPP
рекомендованная temperature: 0.3
рекомендованный top-k: 10
Стандартный формат промпта:
<|im_start|>user
{промпт}<|im_end|>
<|im_start|>assistant
Режим размышления:
<|im_start|>user
[THINK] {промпт}<|im_end|>
<|im_start|>assistant
- Downloads last month
- 198
2-bit
4-bit
6-bit
8-bit
16-bit