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
|
| 9 |
pipeline_tag: text-classification
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# OpenHusky
|
| 13 |
+
|
| 14 |
+
OpenHusky is a lightweight instruction-tuned language model focused on:
|
| 15 |
+
- coding assistance
|
| 16 |
+
- conversational AI
|
| 17 |
+
- general knowledge
|
| 18 |
+
- developer workflows
|
| 19 |
+
- AI fine-tuning experiments
|
| 20 |
+
|
| 21 |
+
Built for local inference, customization, and practical AI applications.
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
## Features
|
| 26 |
+
|
| 27 |
+
- Instruction-following responses
|
| 28 |
+
- Coding and debugging support
|
| 29 |
+
- Conversational dataset training
|
| 30 |
+
- JSONL fine-tuning compatible
|
| 31 |
+
- Lightweight and optimized for local use
|
| 32 |
+
- Compatible with Hugging Face Transformers
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## Model Details
|
| 37 |
+
|
| 38 |
+
| Attribute | Value |
|
| 39 |
+
|---|---|
|
| 40 |
+
| Model Type | Causal Language Model |
|
| 41 |
+
| Base Architecture | Transformer |
|
| 42 |
+
| Training Style | Instruction Tuned |
|
| 43 |
+
| Format | Hugging Face Transformers |
|
| 44 |
+
| Intended Use | Chat, Coding, AI Assistant |
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
## Example Usage
|
| 49 |
+
|
| 50 |
+
```python
|
| 51 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 52 |
+
import torch
|
| 53 |
+
|
| 54 |
+
model_name = "lazarus19/openhusky"
|
| 55 |
+
|
| 56 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 57 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 58 |
+
model_name,
|
| 59 |
+
torch_dtype=torch.float16,
|
| 60 |
+
device_map="auto"
|
| 61 |
+
)
|
| 62 |
+
|
| 63 |
+
prompt = "Explain React in simple terms."
|
| 64 |
+
|
| 65 |
+
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 66 |
+
|
| 67 |
+
outputs = model.generate(
|
| 68 |
+
**inputs,
|
| 69 |
+
max_new_tokens=100,
|
| 70 |
+
temperature=0.7
|
| 71 |
+
)
|
| 72 |
+
|
| 73 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
---
|
| 77 |
+
|
| 78 |
+
## Dataset Format
|
| 79 |
+
|
| 80 |
+
Training data uses JSONL instruction format:
|
| 81 |
+
|
| 82 |
+
```json
|
| 83 |
+
{"prompt":"What is React?","response":"React is a JavaScript library for building user interfaces."}
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
---
|
| 87 |
+
|
| 88 |
+
## Recommended Use Cases
|
| 89 |
+
|
| 90 |
+
- AI chatbots
|
| 91 |
+
- Coding assistants
|
| 92 |
+
- Educational AI
|
| 93 |
+
- Local LLM experiments
|
| 94 |
+
- Fine-tuning research
|
| 95 |
+
- Electron AI apps
|
| 96 |
+
- AI IDE integrations
|
| 97 |
+
|
| 98 |
+
---
|
| 99 |
+
|
| 100 |
+
## Hardware Recommendations
|
| 101 |
+
|
| 102 |
+
| Model Size | Recommended VRAM |
|
| 103 |
+
|---|---|
|
| 104 |
+
| 3B | 8GB+ |
|
| 105 |
+
| 7B | 16GB+ |
|
| 106 |
+
| Quantized GGUF | Lower VRAM Supported |
|
| 107 |
+
|
| 108 |
+
---
|
| 109 |
+
|
| 110 |
+
## Training Goals
|
| 111 |
+
|
| 112 |
+
OpenHusky aims to provide:
|
| 113 |
+
- fast local inference
|
| 114 |
+
- practical coding support
|
| 115 |
+
- customizable AI workflows
|
| 116 |
+
- accessible open AI experimentation
|
| 117 |
+
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
## License
|
| 121 |
+
|
| 122 |
+
Please check the repository license before commercial usage.
|
| 123 |
+
|
| 124 |
+
---
|
| 125 |
+
|
| 126 |
+
## Future Plans
|
| 127 |
+
|
| 128 |
+
- Better coding capabilities
|
| 129 |
+
- Improved conversational memory
|
| 130 |
+
- Tool calling support
|
| 131 |
+
- Multimodal experiments
|
| 132 |
+
- Optimized quantized versions
|
| 133 |
+
|
| 134 |
+
---
|
| 135 |
+
|
| 136 |
+
## Credits
|
| 137 |
+
|
| 138 |
+
Built using:
|
| 139 |
+
- Hugging Face Transformers
|
| 140 |
+
- PyTorch
|
| 141 |
+
- llama.cpp
|
| 142 |
+
|
| 143 |
+
---
|
| 144 |
+
|
| 145 |
+
## Support
|
| 146 |
+
|
| 147 |
+
If you like the project:
|
| 148 |
+
- Star the repository
|
| 149 |
+
- Share feedback
|
| 150 |
+
- Contribute datasets
|
| 151 |
+
- Experiment and build cool stuff
|
| 152 |
+
|
| 153 |
+
🚀
|