Text Generation
Transformers
Safetensors
llama
KielTech
sft
standalone
llm
conversational
text-generation-inference
Instructions to use kiel2/Kiel-2.2-Sol with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kiel2/Kiel-2.2-Sol with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="kiel2/Kiel-2.2-Sol") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("kiel2/Kiel-2.2-Sol") model = AutoModelForCausalLM.from_pretrained("kiel2/Kiel-2.2-Sol", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use kiel2/Kiel-2.2-Sol with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "kiel2/Kiel-2.2-Sol" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "kiel2/Kiel-2.2-Sol", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/kiel2/Kiel-2.2-Sol
- SGLang
How to use kiel2/Kiel-2.2-Sol 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 "kiel2/Kiel-2.2-Sol" \ --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": "kiel2/Kiel-2.2-Sol", "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 "kiel2/Kiel-2.2-Sol" \ --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": "kiel2/Kiel-2.2-Sol", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use kiel2/Kiel-2.2-Sol with Docker Model Runner:
docker model run hf.co/kiel2/Kiel-2.2-Sol
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
base_model: kiel2/
|
| 3 |
library_name: transformers
|
| 4 |
pipeline_tag: text-generation
|
| 5 |
tags:
|
|
@@ -12,7 +12,7 @@ tags:
|
|
| 12 |
- qwen
|
| 13 |
---
|
| 14 |
|
| 15 |
-
#
|
| 16 |
|
| 17 |
**KielMind-Lite-Flash** is a high-performance multi-domain instruction model. It is engineered to excel in complex logical reasoning, advanced coding patterns (such as asynchronous Python workflows), and multi-domain problem solving. As part of the **Kiel AI** ecosystem, it serves as the core text intelligence engine powering responsive chat interfaces and backend generative pipelines.
|
| 18 |
|
|
@@ -20,15 +20,15 @@ tags:
|
|
| 20 |
|
| 21 |
## Model Details
|
| 22 |
|
| 23 |
-
- **Developed by:**
|
| 24 |
- **Model Type:** Causal Language Model (Fully Merged Standalone Weights)
|
| 25 |
-
- **Finetuned from model:** `kiel2/
|
| 26 |
- **Language(s) (NLP):** English
|
| 27 |
- **Format:** Safetensors (FP16 optimized for high-throughput cloud serving)
|
| 28 |
|
| 29 |
### Model Sources
|
| 30 |
|
| 31 |
-
- **Repository:** [kiel2/
|
| 32 |
- **Ecosystem:** Kiel AI Suite (Integrated with KielForge and KielStream-Luna)
|
| 33 |
|
| 34 |
---
|
|
@@ -53,9 +53,9 @@ Because **KielMind-Lite-Flash** is provided as a fully merged standalone model (
|
|
| 53 |
import torch
|
| 54 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 55 |
|
| 56 |
-
MODEL_ID = "kiel2/
|
| 57 |
|
| 58 |
-
print("Loading
|
| 59 |
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True)
|
| 60 |
if tokenizer.pad_token is None:
|
| 61 |
tokenizer.pad_token = tokenizer.eos_token
|
|
@@ -70,7 +70,7 @@ model.eval()
|
|
| 70 |
|
| 71 |
# Test prompt
|
| 72 |
prompt = (
|
| 73 |
-
"System: You are
|
| 74 |
"User: Write a robust Python function using asyncio and aiohttp to concurrently fetch JSON payloads."
|
| 75 |
)
|
| 76 |
|
|
@@ -102,11 +102,11 @@ Capabilities: Validated on complex programming prompts, successfully synthesizin
|
|
| 102 |
|
| 103 |
Citation
|
| 104 |
Code snippet
|
| 105 |
-
@misc{
|
| 106 |
-
author = {
|
| 107 |
-
title = {
|
| 108 |
year = {2026},
|
| 109 |
publisher = {Hugging Face},
|
| 110 |
journal = {Hugging Face Repository},
|
| 111 |
-
howpublished = {\url{[https://huggingface.co/kiel2/
|
| 112 |
}
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: kiel2/Kiel-2-Echo
|
| 3 |
library_name: transformers
|
| 4 |
pipeline_tag: text-generation
|
| 5 |
tags:
|
|
|
|
| 12 |
- qwen
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# kiel2/Kiel-2.1-Echo
|
| 16 |
|
| 17 |
**KielMind-Lite-Flash** is a high-performance multi-domain instruction model. It is engineered to excel in complex logical reasoning, advanced coding patterns (such as asynchronous Python workflows), and multi-domain problem solving. As part of the **Kiel AI** ecosystem, it serves as the core text intelligence engine powering responsive chat interfaces and backend generative pipelines.
|
| 18 |
|
|
|
|
| 20 |
|
| 21 |
## Model Details
|
| 22 |
|
| 23 |
+
- **Developed by:** KielTech
|
| 24 |
- **Model Type:** Causal Language Model (Fully Merged Standalone Weights)
|
| 25 |
+
- **Finetuned from model:** `kiel2/Kiel-2-Echo`
|
| 26 |
- **Language(s) (NLP):** English
|
| 27 |
- **Format:** Safetensors (FP16 optimized for high-throughput cloud serving)
|
| 28 |
|
| 29 |
### Model Sources
|
| 30 |
|
| 31 |
+
- **Repository:** [kiel2/kiel2/Kiel-2.1-Echo](https://huggingface.co/kiel2/kiel2/Kiel-2.1-Echo)
|
| 32 |
- **Ecosystem:** Kiel AI Suite (Integrated with KielForge and KielStream-Luna)
|
| 33 |
|
| 34 |
---
|
|
|
|
| 53 |
import torch
|
| 54 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 55 |
|
| 56 |
+
MODEL_ID = "kiel2/Kiel-2.1-Echo"
|
| 57 |
|
| 58 |
+
print("Loading kiel2/Kiel-2.1-Echo tokenizer and model...")
|
| 59 |
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID, trust_remote_code=True)
|
| 60 |
if tokenizer.pad_token is None:
|
| 61 |
tokenizer.pad_token = tokenizer.eos_token
|
|
|
|
| 70 |
|
| 71 |
# Test prompt
|
| 72 |
prompt = (
|
| 73 |
+
"System: You are kiel2/Kiel-2.1-Echo, an advanced multi-domain AI assistant.\n"
|
| 74 |
"User: Write a robust Python function using asyncio and aiohttp to concurrently fetch JSON payloads."
|
| 75 |
)
|
| 76 |
|
|
|
|
| 102 |
|
| 103 |
Citation
|
| 104 |
Code snippet
|
| 105 |
+
@misc{kiel2/Kiel-2.1-Echo-2026,
|
| 106 |
+
author = {KielTech},
|
| 107 |
+
title = {kiel2/Kiel-2.1-Echo: High-Performance Multi-Domain Language Model},
|
| 108 |
year = {2026},
|
| 109 |
publisher = {Hugging Face},
|
| 110 |
journal = {Hugging Face Repository},
|
| 111 |
+
howpublished = {\url{[https://huggingface.co/kiel2/Kiel-2.1-Echo](https://kiel2/Kiel-2.1-Echo)}}
|
| 112 |
}
|