Downloads · 30 days
33
4% of all-time downloads
terminalgnosis/kundalini
kundalini is a text generation model from terminalgnosis. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
33
4% of all-time downloads
All-time downloads
781
Public
Parameters
1.2B
2.5 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors2.5 GB · 99%
From the Hugging Face model README
Kundalini 1B is a high-performance, lightweight 1.23-billion parameter conversational artificial intelligence model developed by Terminal Gnosis. Built for low latency, memory efficiency, and broad domain comprehension, it delivers fast and insightful responses across reasoning, coding, general dialogue, and philosophical knowledge.
</div>import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "terminalgnosis/kundalini"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto"
)
messages = [
{"role": "system", "content": "You are Kundalini, an insightful, intelligent, and precise AI assistant."},
{"role": "user", "content": "Who are you and what is your purpose?"}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(
**inputs,
max_new_tokens=256,
temperature=0.7,
top_p=0.9,
do_sample=True
)
response = tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True)
print(response)
from transformers import pipeline
generator = pipeline("text-generation", model="terminalgnosis/kundalini", device_map="auto")
messages = [
{"role": "user", "content": "Explain the concept of Kundalini awakening in simple words."}
]
response = generator(messages, max_new_tokens=200)
print(response[0]["generated_text"][-1]["content"])
Kundalini utilizes a structured role-based dialogue format:
<|start_header_id|>system<|end_header_id|>
You are Kundalini, an insightful, intelligent, and precise AI assistant.<|eot_id|>
<|start_header_id|>user<|end_header_id|>
What is Kundalini energy?<|eot_id|>
<|start_header_id|>assistant<|end_header_id|>
| Attribute | Details |
|---|---|
| Model Name | Kundalini 1B |
| Creator / Organization | terminalgnosis |
| Total Parameters | 1.23 Billion (1,235,814,400) |
| Model Format | Safetensors (model.safetensors) |
| Tensor Type / Precision | 16-bit BFloat16 |
| Context Length | 8,192 tokens |
| Language Scope | Multilingual |
| License | Apache 2.0 |