darkps commited on
Commit
a360add
·
verified ·
1 Parent(s): 1367a08

Upload 2 files

Browse files
Files changed (2) hide show
  1. README.md +126 -0
  2. notebook.ipynb +93 -0
README.md ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: multilingual
3
+ license: apache-2.0
4
+ author: Dark
5
+ library_name: transformers
6
+
7
+ tags:
8
+ - darkit-v2.5
9
+ - open-source
10
+ - text-generation
11
+ - programming
12
+ - reasoning
13
+ - fine-tuning
14
+ - customizable
15
+
16
+ base_model: darkps/darkit-v2.5
17
+ model_type: custom
18
+ pipeline_tag: text-generation
19
+ ---
20
+
21
+ # DarkIT v2.5
22
+
23
+ DarkIT is a next-generation high-performance large language model engineered for **advanced programming, deep reasoning, and natural human conversation**.
24
+
25
+ DarkIT v2.5 introduces major improvements in:
26
+
27
+ * Advanced code generation
28
+ * Complex debugging & error analysis
29
+ * Long-context reasoning
30
+ * Multi-language programming support
31
+ * Instruction following for difficult technical tasks
32
+ * Architecture understanding & code refactoring
33
+ * Stable conversational behavior
34
+ * Fast and efficient local inference
35
+ * Unrestricted responses with strong adaptability
36
+
37
+ ---
38
+
39
+ # What's New in v2.5
40
+
41
+ DarkIT v2.5 has been significantly upgraded with a massive programming-focused training phase.
42
+
43
+ ### Major Improvements
44
+
45
+ * Trained on over **18 million high-quality programming conversations**
46
+ * Strongly improved coding intelligence and reasoning
47
+ * Better understanding of software architecture and system design
48
+ * More accurate debugging and bug fixing
49
+ * Improved instruction consistency
50
+ * Better long-response stability
51
+ * Reduced hallucinations in programming tasks
52
+ * Faster response generation quality under long prompts
53
+
54
+ ### Programming Capabilities
55
+
56
+ DarkIT v2.5 performs strongly across:
57
+
58
+ * Python
59
+ * C++
60
+ * JavaScript / TypeScript
61
+ * Java
62
+ * Rust
63
+ * Go
64
+ * PHP
65
+ * SQL
66
+ * Bash / Shell scripting
67
+ * HTML / CSS
68
+ * AI & Machine Learning workflows
69
+
70
+ ---
71
+
72
+ # Key Specifications
73
+
74
+ * **Model Family:** DarkIT Coder
75
+ * **Version:** v2.5
76
+ * **Model Size:** 15B Parameters
77
+ * **Context Length:** 256k Tokens
78
+ * **Format:** GGUF (optimized for efficient local deployment)
79
+ * **Inference Support:** CPU / GPU
80
+ * **Primary Focus:** Programming & Technical Reasoning
81
+
82
+ ---
83
+
84
+ # Performance Notes
85
+
86
+ * Optimized for strong local inference performance
87
+ * Excellent balance between speed and output quality
88
+ * Stable long-context generation
89
+ * Enhanced code completion consistency
90
+ * Improved logical reasoning across technical tasks
91
+ * Designed for developer workflows and advanced prompting
92
+
93
+ ---
94
+
95
+ # Recommended Usage
96
+
97
+ DarkIT v2.5 performs best when used for:
98
+
99
+ * Software development
100
+ * AI engineering tasks
101
+ * Code generation
102
+ * Debugging large projects
103
+ * Technical explanations
104
+ * Automation scripting
105
+ * Long-context programming conversations
106
+ * Local offline AI deployment
107
+
108
+ ---
109
+
110
+ # ⚠️ Notes
111
+
112
+ * Designed primarily for inference deployment
113
+ * Output quality may vary depending on quantization level and hardware
114
+ * Best performance is achieved using structured prompts
115
+ * Large context usage may require substantial RAM/VRAM
116
+
117
+ ---
118
+
119
+ # About Dark
120
+
121
+ Dark is an independent developer focused on building efficient, powerful, and scalable language models for real-world applications, with a strong focus on programming intelligence and local AI deployment.
122
+
123
+ ---
124
+
125
+ * **Website:** https://dark.ps
126
+ * **Telegram:** https://t.me/sii_3
notebook.ipynb ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "!pip install llama-cpp-python huggingface_hub --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu124\n"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "code",
14
+ "execution_count": null,
15
+ "metadata": {},
16
+ "outputs": [],
17
+ "source": [
18
+ "from huggingface_hub import HfApi\n",
19
+ "from llama_cpp import Llama\n",
20
+ "import os\n",
21
+ "\n",
22
+ "REPO_ID = \"darkps/darkit-v2.5\"\n",
23
+ "api = HfApi()\n",
24
+ "\n",
25
+ "files = api.list_repo_files(REPO_ID)\n",
26
+ "gguf_files = [f for f in files if f.endswith(\".gguf\")]\n",
27
+ "\n",
28
+ "for i, f in enumerate(gguf_files):\n",
29
+ " print(f\"[{i}] {f}\")\n",
30
+ "\n",
31
+ "choice = int(input(\"Select model number: \"))\n",
32
+ "filename = gguf_files[choice]\n",
33
+ "\n",
34
+ "llm = Llama.from_pretrained(\n",
35
+ " repo_id=REPO_ID,\n",
36
+ " filename=filename,\n",
37
+ " n_ctx=2048,\n",
38
+ " n_batch=128,\n",
39
+ " n_ubatch=128,\n",
40
+ " n_threads=os.cpu_count() or 4,\n",
41
+ " n_threads_batch=os.cpu_count() or 4,\n",
42
+ " n_gpu_layers=-1,\n",
43
+ " verbose=False,\n",
44
+ " no_perf=True,\n",
45
+ ")\n"
46
+ ]
47
+ },
48
+ {
49
+ "cell_type": "code",
50
+ "execution_count": null,
51
+ "metadata": {},
52
+ "outputs": [],
53
+ "source": [
54
+ "llm.set_cache(None)\n",
55
+ "\n",
56
+ "PROMPT = \"Hi how are you?\"\n",
57
+ "\n",
58
+ "stream = llm(\n",
59
+ " f\"<|im_start|>user\\n{PROMPT}<|im_end|>\\n<|im_start|>assistant\\n\",\n",
60
+ " max_tokens=128,\n",
61
+ " temperature=0.7,\n",
62
+ " top_p=0.8,\n",
63
+ " top_k=20,\n",
64
+ " stream=True,\n",
65
+ " stop=[\n",
66
+ " \"<|im_end|>\",\n",
67
+ " \"<|im_start|>\",\n",
68
+ " \"\\n\\nUser:\",\n",
69
+ " \"\\n\\nAssistant:\"\n",
70
+ " ],\n",
71
+ " echo=False\n",
72
+ ")\n",
73
+ "\n",
74
+ "for chunk in stream:\n",
75
+ " text = chunk[\"choices\"][0][\"text\"]\n",
76
+ "\n",
77
+ " if text:\n",
78
+ " print(text, end=\"\", flush=True)\n",
79
+ "\n",
80
+ "print()\n"
81
+ ]
82
+ }
83
+ ],
84
+ "metadata": {
85
+ "kernelspec": {
86
+ "display_name": "Python 3",
87
+ "language": "python",
88
+ "name": "python3"
89
+ }
90
+ },
91
+ "nbformat": 4,
92
+ "nbformat_minor": 0
93
+ }