darkps commited on
Commit
215e2ca
·
verified ·
1 Parent(s): 19a4ff6

Upload 2 files

Browse files
Files changed (2) hide show
  1. README.md +145 -0
  2. notebook.ipynb +93 -0
README.md ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-transformers
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 designed for **advanced programming, deep reasoning, and natural human conversation**.
24
+
25
+ DarkIT v2.5 is built as an **open-source and extensible project**, allowing developers to adapt, modify, fine-tune, and integrate it into a wide range of workflows and applications.
26
+
27
+ DarkIT v2.5 introduces major improvements in:
28
+
29
+ * Advanced code generation
30
+ * Complex debugging & error analysis
31
+ * Long-context reasoning
32
+ * Multi-language programming support
33
+ * Instruction following for difficult technical tasks
34
+ * Architecture understanding & code refactoring
35
+ * Stable conversational behavior
36
+ * Fast and efficient local inference
37
+ * Adaptable open-source deployment
38
+
39
+ ---
40
+
41
+ # What's New in v2.5
42
+
43
+ DarkIT v2.5 has been significantly upgraded with a major programming-focused training phase.
44
+
45
+ ### Major Improvements
46
+
47
+ * Trained on over **18 million high-quality programming conversations**
48
+ * Strongly improved coding intelligence and reasoning
49
+ * Better understanding of software architecture and system design
50
+ * More accurate debugging and bug fixing
51
+ * Improved instruction consistency
52
+ * Better long-response stability
53
+ * Reduced hallucinations in programming tasks
54
+ * Faster response generation quality under long prompts
55
+ * More suitable for modification, extension, and community development
56
+
57
+ ### Programming Capabilities
58
+
59
+ DarkIT v2.5 performs strongly across:
60
+
61
+ * Python
62
+ * C++
63
+ * JavaScript / TypeScript
64
+ * Java
65
+ * Rust
66
+ * Go
67
+ * PHP
68
+ * SQL
69
+ * Bash / Shell scripting
70
+ * HTML / CSS
71
+ * AI & Machine Learning workflows
72
+
73
+ ---
74
+
75
+ # Key Specifications
76
+
77
+ * **Model Family:** DarkIT Coder
78
+ * **Version:** v2.5
79
+ * **Model Size:** 15B Parameters
80
+ * **Context Length:** 256k Tokens
81
+ * **Format:** Transformers / Open-source project
82
+ * **Inference Support:** CPU / GPU
83
+ * **Primary Focus:** Programming & Technical Reasoning
84
+
85
+ ---
86
+
87
+ # Open-Source Project Features
88
+
89
+ * Built for open development and experimentation
90
+ * Easy to adapt for custom use cases
91
+ * Supports fine-tuning and project-based modification
92
+ * Suitable for local deployment and integration
93
+ * Designed with extensibility in mind
94
+ * Works well as a base for developer-driven improvements
95
+ * Encourages community contribution and iterative upgrades
96
+
97
+ ---
98
+
99
+ # Performance Notes
100
+
101
+ * Optimized for strong local inference performance
102
+ * Excellent balance between speed and output quality
103
+ * Stable long-context generation
104
+ * Enhanced code completion consistency
105
+ * Improved logical reasoning across technical tasks
106
+ * Designed for developer workflows and advanced prompting
107
+ * Flexible enough to support open-source enhancement
108
+
109
+ ---
110
+
111
+ # Recommended Usage
112
+
113
+ DarkIT v2.5 performs best when used for:
114
+
115
+ * Software development
116
+ * AI engineering tasks
117
+ * Code generation
118
+ * Debugging large projects
119
+ * Technical explanations
120
+ * Automation scripting
121
+ * Long-context programming conversations
122
+ * Local offline AI deployment
123
+ * Custom open-source experimentation
124
+ * Fine-tuning and iterative model improvement
125
+
126
+ ---
127
+
128
+ # ⚠️ Notes
129
+
130
+ * Designed primarily for open deployment and development
131
+ * Output quality may vary depending on hardware and configuration
132
+ * Best performance is achieved using structured prompts
133
+ * Large context usage may require substantial RAM/VRAM
134
+ * Open-source setups may require additional integration depending on the target environment
135
+
136
+ ---
137
+
138
+ # About Dark
139
+
140
+ 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.
141
+
142
+ ---
143
+
144
+ * **Website:** https://dark.ps
145
+ * **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-transformers\"\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
+ }