Bonsai-27B-GGUF
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
A 7B coding model tuned for cybersecurity and DevOps work, fine-tuned from Qwen2.5-Coder-7B. For security and operations engineers who want a small local model, under its added usage restrictions.
DeepHat-V1-7B is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download DeepHat/DeepHat-V1-7B
DeepHat-V1-7B is a fine-tune of Qwen2.5-Coder-7B with 7.6B parameters, from a model series made for offensive and defensive cybersecurity. Its sample system message describes it as an expert in cybersecurity and DevOps. It keeps the base model's 131,072-token context.
Security and operations engineers who want a small coding and security assistant they can run themselves.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Security | Security engineers | Get help with defensive and authorized testing tasks | Explain a configuration risk |
| DevOps | Platform engineers | Ask for scripts and pipeline help | Draft a deployment script |
| Software | Developers | Use a coding model with a security bent | Review a function for unsafe input handling |
| Education | Students | Learn security concepts with a local model | Walk through a common vulnerability class |
You can skip it if your use would fall under the license restrictions below, or if you want a general chat model.
| Use case | Who | What they get back |
|---|---|---|
| Code writing | Developers | Code such as a sorting routine |
| Security questions | Security engineers | Explanations and example code |
| Long inputs | Analysts | Longer context after enabling YaRN in config.json |
pip install -U huggingface_hub hf download DeepHat/DeepHat-V1-7B
Load the model and tokenizer, build a chat with a system message and your question, then generate. The card caps the example at 512 new tokens.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "DeepHat/DeepHat-V1-7B"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = "write a quick sort algorithm."
messages = [
{"role": "system", "content": "You are DeepHat, created by Kindo.ai. You are a helpful assistant that is an expert in Cybersecurity and DevOps."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(
**model_inputs,
max_new_tokens=512
)
generated_ids = [
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]You run the card's script as written, asking for a quick sort algorithm. The model returns the code in the response variable, which you can print.
If you are new, run the quickstart unchanged first, then swap in your own question. Use it only on systems and code you are allowed to work on.
If you know the field, the shipped config.json allows up to 32,768 tokens. For longer inputs the card adds a YaRN rope_scaling entry with a factor of 4.0. The architecture follows Qwen2.5 with 28 layers and grouped-query attention, 28 heads for queries and 4 for keys and values.
{
...,
"rope_scaling": {
"factor": 4.0,
"original_max_position_embeddings": 32768,
"type": "yarn"
}
}A 7B coding model tuned for cybersecurity and DevOps work, fine-tuned from Qwen2.5-Coder-7B. For security and operations engineers who want a small local model, under its added usage restrictions.
Made by DeepHat on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: DeepHat-V1-7B is a fine-tune of Qwen2.5-Coder-7B with 7.6B parameters, from a model series made for offensive and defensive cybersecurity. Its sample system message describes it as an expert in cybersecurity and DevOps. It keeps the base model's 131,072-token context.
Who it suits: Security and operations engineers who want a small coding and security assistant they can run themselves.
Industry | Who uses it | How they use it | Example
Security | Security engineers | Get help with defensive and authorized testing tasks | Explain a configuration risk
DevOps | Platform engineers | Ask for scripts and pipeline help | Draft a deployment script
Software | Developers | Use a coding model with a security bent | Review a function for unsafe input handling
Education | Students | Learn security concepts with a local model | Walk through a common vulnerability class
You can skip it if your use would fall under the license restrictions below, or if you want a general chat model.
Where to use it:
Use case | Who | What they get back
Code writing | Developers | Code such as a sorting routine
Security questions | Security engineers | Explanations and example code
Long inputs | Analysts | Longer context after enabling YaRN in config.json
How to set it up:
pip install -U huggingface_hub
hf download DeepHat/DeepHat-V1-7B
How to use it: Load the model and tokenizer, build a chat with a system message and your question, then generate. The card caps the example at 512 new tokens.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "DeepHat/DeepHat-V1-7B"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = "write a quick sort algorithm."
messages = [
{"role": "system", "content": "You are DeepHat, created by Kindo.ai. You are a helpful assistant that is an expert in Cybersecurity and DevOps."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(
**model_inputs,
max_new_tokens=512
)
generated_ids = [
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
Example: You run the card's script as written, asking for a quick sort algorithm. The model returns the code in the response variable, which you can print.
For newcomers and experts: If you are new, run the quickstart unchanged first, then swap in your own question. Use it only on systems and code you are allowed to work on.
If you know the field, the shipped config.json allows up to 32,768 tokens. For longer inputs the card adds a YaRN rope_scaling entry with a factor of 4.0. The architecture follows Qwen2.5 with 28 layers and grouped-query attention, 28 heads for queries and 4 for keys and values.
{
...,
"rope_scaling": {
"factor": 4.0,
"original_max_position_embeddings": 32768,
"type": "yarn"
}
}
Qwen2.5-Coder-7B base
Fine-tune for cybersecurity and DevOps
Load with Transformers
Chat reply
Good to know:
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download DeepHat/DeepHat-V1-7B
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| DeepHat-V1-7B This page | 4,315 | 309 | 7.6B | apache-2.0 | |
| Qwen2.5-Coder-14B-InstructShares qwen-coder · qwen2 · code | 1,860,327 | 214 | 14.8B | apache-2.0 | |
| Qwen2.5-Coder-7B-InstructShares qwen-coder · qwen2 · code | 1,505,999 | 872 | 7.6B | apache-2.0 | |
| Qwen2.5-Coder-32B-InstructShares qwen-coder · qwen2 · code | 546,583 | 2,211 | 32.8B | apache-2.0 | |
| Qwen2.5-Coder-7BShares qwen-coder · qwen2 · code | 334,246 | 200 | 7.6B | apache-2.0 | |
| Qwen2.5-Coder-0.5B-InstructShares qwen-coder · qwen2 · code | 71,013 | 96 | 494M | apache-2.0 |
lmstudio-community · Kit
A GGUF conversion of the 27B Bonsai model for LM Studio, with a 3.80 GB Q1_0 language file and a 0.93 GB BF16 vision projector. Tested for text, vision and par…
LibertAIDAI · Kit
Runs DeepSeek-V4.1-Flash-1017 as a 2.9 bits-per-weight EXL3 quantization, a 196 GiB copy for people serving large models on their own hardware. Perplexity stay…
facebook · Kit
Generates short music clips from a text description or an audio prompt, in the small checkpoint of facebook's MusicGen. It suits developers and music hobbyists…
alpindale · Kit
Tags every character of C source code for syntax highlighting with a tiny neural network of about 984 weights, run through a small C program. For developers an…
prithivMLmods · Kit
Try a set of LoRAs for the FLUX.2 Klein image model in a Gradio app that runs in your browser or on your own computer. Made for people who make or test AI imag…
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…