Instructions to use kistepAI/SPARK-Report-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use kistepAI/SPARK-Report-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="kistepAI/SPARK-Report-GGUF", filename="kistep-mistral-nemo-report-bf16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use kistepAI/SPARK-Report-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf kistepAI/SPARK-Report-GGUF:BF16 # Run inference directly in the terminal: llama-cli -hf kistepAI/SPARK-Report-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf kistepAI/SPARK-Report-GGUF:BF16 # Run inference directly in the terminal: llama-cli -hf kistepAI/SPARK-Report-GGUF:BF16
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 kistepAI/SPARK-Report-GGUF:BF16 # Run inference directly in the terminal: ./llama-cli -hf kistepAI/SPARK-Report-GGUF:BF16
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 kistepAI/SPARK-Report-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf kistepAI/SPARK-Report-GGUF:BF16
Use Docker
docker model run hf.co/kistepAI/SPARK-Report-GGUF:BF16
- LM Studio
- Jan
- vLLM
How to use kistepAI/SPARK-Report-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kistepAI/SPARK-Report-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kistepAI/SPARK-Report-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kistepAI/SPARK-Report-GGUF:BF16
- Ollama
How to use kistepAI/SPARK-Report-GGUF with Ollama:
ollama run hf.co/kistepAI/SPARK-Report-GGUF:BF16
- Unsloth Studio new
How to use kistepAI/SPARK-Report-GGUF 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 kistepAI/SPARK-Report-GGUF 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 kistepAI/SPARK-Report-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for kistepAI/SPARK-Report-GGUF to start chatting
- Pi new
How to use kistepAI/SPARK-Report-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf kistepAI/SPARK-Report-GGUF:BF16
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "kistepAI/SPARK-Report-GGUF:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use kistepAI/SPARK-Report-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf kistepAI/SPARK-Report-GGUF:BF16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default kistepAI/SPARK-Report-GGUF:BF16
Run Hermes
hermes
- Docker Model Runner
How to use kistepAI/SPARK-Report-GGUF with Docker Model Runner:
docker model run hf.co/kistepAI/SPARK-Report-GGUF:BF16
- Lemonade
How to use kistepAI/SPARK-Report-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull kistepAI/SPARK-Report-GGUF:BF16
Run and chat with the model
lemonade run user.SPARK-Report-GGUF-BF16
List all available models
lemonade list
Usage Guide
๊ฐ์ธ์ ์์ ๋กญ๊ฒ ์ฌ์ฉํ ์ ์์ต๋๋ค.
๊ธฐ์
๋ฐ ๊ธฐ๊ด์ ๋น์์
์ ๋ชฉ์ ์ผ๋ก ์ด์ฉํด ์ฃผ์๊ธฐ ๋ฐ๋๋๋ค.
๋ํ, ์ถํ ํ์
๋ฐ ๋คํธ์ํฌ ๊ตฌ์ถ์ ์ํด ๊ธฐ๊ด ์ ๋ณด์ AI ๋ชจ๋ธ ์ฌ์ฉ ๋ด๋น์ ์ ๋ณด๋ฅผ ๋ฉ์ผ๋ก ๋ณด๋ด์ฃผ์๋ฉด ์ฐ๋ฝ๋๋ฆฌ๊ฒ ์ต๋๋ค.
CONTACT : kistep_ax@kistep.re.kr
Individuals are free to use this without restrictions.
For companies and institutions, please use it for non-commercial purposes.
Additionally, to facilitate future collaboration and network building, please send us an email with your institution's information and the contact details of the person responsible for using the AI model. We will get in touch with you.
1. Description
SPARK-Report is a specialized report writing model developed by the Korea Institute of S&T Evaluation and Planning (KISTEP). The model is trained to generate reports in a two-step process: first creating a table of contents, then generating the main content.
2. Key Features
- Content Structure: Generates report outlines based on title, keywords, and desired length
- Writing Styles: Capable of producing reports in both descriptive and bullet-point formats
- Structured Output: Delivers well-formatted content for enhanced readability
- Base Model: Built on Mistral-nemo as the foundation model
- Training Method: Trained with Supervised Fine-Tuning (SFT)
- Context Length: The maximum context length for training data is 16,384
3. Data
| source | KISTEP Document |
|---|---|
| count | 31,058 |
4. Usage
- When using ollama, you can utilize the Modelfile.
- Recommended Prompt Template (Table of Contents)
(input: {TITLE}, {KEYWORDS}, {LEGNTH})
propmt_template: |
๋น์ ์ ๋ณด๊ณ ์ ๋ชฉ์ฐจ ์์ฑ ์ ๋ฌธ๊ฐ์
๋๋ค. ์ฃผ์ด์ง ๋ณด๊ณ ์ ์ ๋ชฉ๊ณผ ํค์๋๋ฅผ ๋ฐํ์ผ๋ก ์ฒด๊ณ์ ์ธ ๋ชฉ์ฐจ๋ฅผ ์์ฑํด ์ฃผ์ธ์.
# ์
๋ ฅ์ ๋ณด
- ์ ๋ชฉ: {TITLE}
- ํค์๋: {KEYWORDS}
- ๋ถ๋: {LENGTH}
# ๋ชฉ์ฐจ ์์ฑ ์ง์นจ
- ๊ธฐ๋ณธ๊ตฌ์กฐ(head1)๋ ์๋ก , ๋ณธ๋ก , ๊ฒฐ๋ก ์ผ๋ก ๊ตฌ์ฑ
- ๊ฐ head1 ํญ๋ชฉ ๋ณ๋ก 3-4๊ฐ์ ์์ธ ๋ชฉ์ฐจ(head2) ์์ฑ
- ํค์๋๋ฅผ ์ ๊ทน ํ์ฉํ์ฌ ํน์ง์ ์ธ ํํ ์ฌ์ฉ
- ์๊ฐ ํํ์ด๋ ํน์๋ฌธ์ ์ฌ์ฉ ์ง์
- ์ ๋ชฉ ์ฐ๊ด์ฑ๊ณผ ์ ์ฒด ์ผ๊ด์ฑ ์ ์ง
- ๊ฐ์กฐ์ ๋ฌธ์ฒด์ ๋ช
์ฌํ ์ข
๊ฒฐ์ด๋ฏธ ์ฌ์ฉ
- Recommended Prompt Template (Main Content)
(input: {TITLE}, {SECTIONS}, {SECTION}, {TYPE}, {DOCUMENTS})
propmt_template: |
๋น์ ์ ๋ณด๊ณ ์ ์์ฑ ์ ๋ฌธ๊ฐ์
๋๋ค. ๋ณด๊ณ ์ ์ ๋ชฉ์ {TITLE}์ด๋ฉฐ, ์ ์ฒด ๋ชฉ์ฐจ๋ ์๋์ ๊ฐ์ต๋๋ค:
{SECTIONS}
ํ์ฌ ์์ฑํ ์น์
์ {SECTION}์
๋๋ค. ์์ฑ ์คํ์ผ์ {TYPE}์ ์ฌ์ฉํฉ๋๋ค.
์ฃผ์ ์ง์นจ:
1. ๋ต๋ณ์ ๋ฐ๋์ ์๋์ ์ ๋ณด๋ง์ ์ฌ์ฉํ์ฌ ์์ฑํด์ผ ํฉ๋๋ค.
{DOCUMENTS}
1. ๋ณธ๋ฌธ ์์ฑ ์ ์ <reason> ํ๊ทธ ์์ ์๋ ๋ด์ฉ์ ํฌํจํ์ฌ ์ถ๋ก ๊ณผ์ ์ ์ต๋ 10๋ฌธ์ฅ ์ด๋ด๋ก ์ค๋ช
ํ์ธ์:
- ๋ณธ๋ฌธ ์์ฑ์ ์ฌ์ฉํ ์ฒญํฌ ์ธ๋ฑ์ค ํ๊ธฐ
- ๊ฐ ์ฒญํฌ์ ๊ด๋ จ ์ ๋ณด ์ค๋ช
- ํ์์ ๋ถ๊ฐ์ ์ธ ์ ์ ์ฌํญ (๋จ, ์ฌ์คํ์ธ ํ์์ฑ ์ธ๊ธ ํ์)
2. ๋ค์ ํ์์ผ๋ก ๋ต๋ณ์ ์์ฑํ์ธ์:
- ์์ฑ ๊ฐ๋ฅํ ๊ฒฝ์ฐ: <reason>์ถ๋ก ๊ณผ์ </reason> <answer>๋ณธ๋ฌธ ๋ด์ฉ</answer>
- ์์ฑ ๋ถ๊ฐ๋ฅํ ๊ฒฝ์ฐ: <reason>๊ด๋ จ ๋ด์ฉ ๋ถ์ฌ</reason> <answer>์ ๊ณต๋ ๋ฌธ์๋ฅผ ๋ฐํ์ผ๋ก ๋ต๋ณํ ์ ์์ต๋๋ค.</answer>
์์ ํ(descriptive) ์์ฑ ๊ท์น:
- ์ต๋ 30๋ฌธ์ฅ ์ด๋ด๋ก ์์ฑ
- ๋ฌธ๋จ์ ๋ด์ฉ์ ๋ฐ๋ผ 1~3๊ฐ๋ก ๊ตฌ์ฑ
- ์ฐ๊ฒฐ์ด ์ฌ์ฉ ์ ํ
- ํค์๋ ๋ฐ๋ณต ์ ํ
๊ฐ์กฐ์(bullet_point) ์์ฑ ๊ท์น:
โก Level 1: ํต์ฌ ๋ด์ฉ
โฆ Level 2: ํ์ ๋ด์ฉ(1~3๊ฐ ํญ๋ชฉ)
- Level 3: ๋ถ์ฐ ์ค๋ช
- ๋ง์นจํ ์๋ต
- ๊ฐ๊ฒฐํ๊ณ ๋ช
ํํ ๋ฌธ์ฅ ๊ตฌ์ฑ
- ์ ๋ฌธ์ ์ธ ์ฉ์ด ์ฌ์ฉ
- ์๋ฏธ ๋จ์๋ก ๋จ๋ฝ ๊ตฌ๋ถ
5. Benchmark
TBD
- Downloads last month
- -
16-bit
Model tree for kistepAI/SPARK-Report-GGUF
Base model
mistralai/Mistral-Nemo-Base-2407