lazarus19/openhusky
Viewer • Updated • 14k • 56
OpenHusky is a lightweight instruction-tuned language model focused on:
Built for local inference, customization, and practical AI applications.
| Attribute | Value |
|---|---|
| Model Type | Causal Language Model |
| Base Architecture | Transformer |
| Training Style | Instruction Tuned |
| Format | Hugging Face Transformers |
| Intended Use | Chat, Coding, AI Assistant |
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_name = "lazarus19/openhusky"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.float16,
device_map="auto"
)
prompt = "Explain React in simple terms."
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=100,
temperature=0.7
)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Training data uses JSONL instruction format:
{"prompt":"What is React?","response":"React is a JavaScript library for building user interfaces."}
| Model Size | Recommended VRAM |
|---|---|
| 7B | 16GB+ |
| Quantized GGUF | Lower VRAM Supported |
OpenHusky aims to provide:
This project is licensed under the MIT License.
Built using:
If you like the project:
🚀