Skip to main content

DeepSeek LLM Plugin for DashAI

This plugin integrates two DeepSeek models into the DashAI framework using the llama.cpp backend. It enables text generation tasks through a lightweight and efficient inference engine with support for quantized GGUF models.

Included Models

1. DeepSeek LLM 7B Chat

2. DeepSeek Coder 6.7B Instruct

  • Instruction-tuned model for code-related and general instruction tasks
  • Initialized from deepseek-coder-6.7b-base, fine-tuned on 2B instruction tokens
  • Based on TheBloke/deepseek-coder-6.7B-instruct-GGUF
  • Uses quantized file: deepseek-coder-6.7b-instruct.Q5_K_M.gguf

Both models use the Q5_K_M quantization method for a balance of quality and efficiency, and are compatible with both CPU and GPU inference.

Components

DeepSeekModel

  • Implements the TextToTextGenerationTaskModel interface from DashAI
  • Uses the llama.cpp backend with GGUF support
  • Loads the model from Hugging Face at runtime
  • Supports configurable generation parameters
  • Automatically truncates long prompts and uses custom stop sequences for cleaner output

Features

  • Configurable text generation with:
    • max_tokens: Number of tokens to generate
    • temperature: Controls output randomness
    • frequency_penalty: Reduces repetition
    • n_ctx: Context window size
    • device: "cpu" or "gpu"
  • Efficient memory usage with GGUF quantization
  • Custom stop sequence: ["Q:"]

Model Parameters

Parameter Description Default
max_tokens Maximum number of tokens to generate 100
temperature Sampling temperature (higher = more random) 0.7
frequency_penalty Penalizes repeated tokens to encourage diversity 0.1
n_ctx Maximum context window (tokens in prompt) 4096
device Inference device "gpu" if available

Requirements

Notes

This plugin uses the GGUF format, introduced by the llama.cpp team in August 2023.
GGUF replaces the older GGML format, which is no longer supported.

GGUF models are optimized for fast inference and lower memory consumption, especially on CPU- or GPU-constrained devices.

Both models (deepseek-llm-7b-chat and deepseek-coder-6.7b-instruct) are distributed in the Q5_K_M quantized format.
This quantization method offers a solid trade-off between model size and quality, making them suitable for real-time or resource-limited environments.

⚠️ These models are pretrained and instruction-tuned for inference only. They are not intended for fine-tuning.

Metadata

Release files for dashai-deepseek-model-package 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dashai-deepseek-model-package 0.0.6
File Size Uploaded Provenance
dashai_deepseek_model_package-0.0.6.tar.gz 21.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dashai-deepseek-model-package 0.0.6
File Interpreter ABI Platform
dashai_deepseek_model_package-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 25.6 kB

Release files / dashai_deepseek_model_package-0.0.6.tar.gz

Download URL dashai_deepseek_model_package-0.0.6.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c45847e37547ed6fba896ded380defe05e865154521d3da03b1f628d9ac0fdf9
BLAKE2b-256 checksum
How to use checksums
7f52579a37806f4915d5026f50ef078b343c7f49449376579f444d7f4998f7d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.6

Release files / dashai_deepseek_model_package-0.0.6-py3-none-any.whl

Download URL dashai_deepseek_model_package-0.0.6-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce9dc4f012b19d4cc29e2075dc1c96d8ad34f418dbdda0b54f58eb0fd3a2597a
BLAKE2b-256 checksum
How to use checksums
3366c4563473e7a19c06f72dfcb0b7c2135c0709876f3532310b304a03b398ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.6

Security for dashai-deepseek-model-package 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page