File size: 4,949 Bytes
c0b9f59
78bfc71
 
 
 
c0b9f59
 
 
 
 
 
 
 
 
 
 
 
 
 
78bfc71
c0b9f59
78bfc71
c0b9f59
 
 
 
78bfc71
c0b9f59
78bfc71
 
c0b9f59
 
 
 
 
 
 
 
78bfc71
 
c0b9f59
78bfc71
c0b9f59
78bfc71
c0b9f59
78bfc71
c0b9f59
78bfc71
c0b9f59
78bfc71
c0b9f59
78bfc71
c0b9f59
78bfc71
c0b9f59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78bfc71
c0b9f59
78bfc71
 
c0b9f59
 
 
 
 
78bfc71
 
 
 
c0b9f59
78bfc71
c0b9f59
 
 
 
78bfc71
c0b9f59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277

---
license: apache-2.0
language:
- en
library_name: transformers
pipeline_tag: text-generation
base_model: TinyLlama/TinyLlama-1.1B-intermediate-step-1431k-3T
tags:
- llm
- chatbot
- text-generation
- causal-lm
- harness
- algosciencelab
- vlsi
- coding
- reasoning
- pytorch
widget:
  - example_title: Python Example
    messages:
      - role: system
        content: You are Harness, an AI assistant created by Algo Science Lab.
      - role: user
        content: Write a Python function that calculates the factorial of a number.
---

<div align="center">

# Harness-1B

### Developed by Algo Science Lab

**Author:** Shahrear Hossain

**Hugging Face:** https://huggingface.co/algoscienceacademy

</div>

---

# Harness-1B

Harness-1B is a lightweight large language model developed by **Algo Science Lab** for instruction following, coding assistance, reasoning, mathematics, electronics, semiconductor engineering, VLSI design, and general conversational AI.

The model contains approximately **1 billion parameters**, making it suitable for local deployment while providing strong performance for everyday AI tasks.

Harness-1B has been fine-tuned to provide accurate, helpful, and concise responses across a wide variety of technical and general domains.

---

# Features

- General conversation
- Code generation
- Python programming
- C programming
- C++ programming
- Rust programming
- Java programming
- JavaScript
- TypeScript
- Verilog HDL
- SystemVerilog
- VHDL
- RTL Design
- FPGA Development
- ASIC Design
- CMOS Digital Design
- Semiconductor Engineering
- VLSI Design
- Mathematics
- Electronics
- Physics
- Problem Solving
- Technical Documentation
- AI Research Assistance

---

# Model Details

| Property | Value |
|----------|-------|
| Model Name | Harness-1B |
| Organization | Algo Science Lab |
| Hugging Face Username | algoscienceacademy |
| Parameters | ~1 Billion |
| Architecture | Llama-based |
| Model Type | Causal Language Model |
| Context Length | 2048 Tokens *(or your trained context size)* |
| Precision | FP16 / BF16 / GGUF |
| Framework | PyTorch |
| License | Apache-2.0 |

---

# Intended Uses

Harness-1B is designed for:

- AI Chatbots
- Programming Assistant
- Educational Applications
- Research
- Embedded AI
- Local AI Deployment
- Engineering Assistance
- Electronics Design
- FPGA Development
- ASIC/VLSI Workflow
- RTL Development
- Automation
- Documentation

---

# Example

```python
from transformers import pipeline

pipe = pipeline(
    "text-generation",
    model="algoscienceacademy/Harness-1B",
    device_map="auto"
)

messages = [
    {
        "role": "system",
        "content": "You are Harness, an AI assistant created by Algo Science Lab."
    },
    {
        "role": "user",
        "content": "Write a Python program to print Fibonacci numbers."
    }
]

prompt = pipe.tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)

output = pipe(
    prompt,
    max_new_tokens=256,
    temperature=0.7,
)

print(output[0]["generated_text"])
```

---

# GGUF Usage

Harness-1B is also available in GGUF format for:

- llama.cpp
- LM Studio
- Jan
- Open WebUI
- KoboldCpp
- Ollama (after conversion)

Example:

```bash
./main \
-m Harness-1B-Q4_K_M.gguf \
-p "Explain CMOS Inverter."
```

---

# Training

Harness-1B is trained and fine-tuned using open-source datasets and instruction-following techniques.

Possible data sources include:

- SlimPajama
- StarCoderData
- UltraChat
- UltraFeedback

Additional custom datasets may have been used during supervised fine-tuning.

---

# Capabilities

Harness-1B can:

- Answer questions
- Explain concepts
- Generate code
- Debug code
- Write documentation
- Solve mathematics
- Explain algorithms
- Assist with VLSI
- Help with FPGA design
- Generate Verilog
- Generate SystemVerilog
- Produce technical reports

---

# Limitations

Harness-1B may:

- Produce incorrect information.
- Generate outdated knowledge.
- Make reasoning mistakes.
- Require verification for safety-critical applications.
- Require human review for production environments.

---

# Hardware Requirements

Recommended:

- 8 GB RAM (Q4 GGUF)
- 12 GB RAM (Q6 GGUF)
- 16 GB RAM (FP16)
- CUDA GPU recommended but optional

---

# Citation

```bibtex
@misc{Harness1B,
    title={Harness-1B},
    author={Algo Science Lab},
    year={2026},
    publisher={Hugging Face},
    howpublished={https://huggingface.co/algoscienceacademy/Harness-1B}
}
```

---

# License

Apache License 2.0

---

# Acknowledgements

Harness-1B builds upon open-source language model research and would not be possible without the work of the open-source AI community, including:

- Meta AI (Llama Architecture)
- TinyLlama Project
- Hugging Face
- PyTorch
- Transformers
- llama.cpp

---

# Contact

**Organization:** Algo Science Lab

**Hugging Face:** https://huggingface.co/algoscienceacademy

---

Made with ❤️ by Algo Science Lab.