Instructions to use lailaba/lailaba-ai with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lailaba/lailaba-ai with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="lailaba/lailaba-ai") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("lailaba/lailaba-ai") model = AutoModelForCausalLM.from_pretrained("lailaba/lailaba-ai", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use lailaba/lailaba-ai with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lailaba/lailaba-ai" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lailaba/lailaba-ai", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/lailaba/lailaba-ai
- SGLang
How to use lailaba/lailaba-ai with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "lailaba/lailaba-ai" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lailaba/lailaba-ai", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "lailaba/lailaba-ai" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lailaba/lailaba-ai", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use lailaba/lailaba-ai with Docker Model Runner:
docker model run hf.co/lailaba/lailaba-ai
Lailaba AI
Lailaba AI is a compact, standalone language model developed by Abdullahi Ibrahim Lailaba for programming, technology, education, research, cybersecurity learning, and general technical assistance.
The model is based on the Qwen3-0.6B architecture and has been further trained and customized for the Lailaba AI ecosystem.
Unlike an adapter-only release, this repository contains the complete model, including the model weights and configuration required to load it directly with compatible Hugging Face Transformers tooling.
Β«Model: "lailaba/lailaba-ai" Model type: Causal Language Model Architecture: Qwen3 Base architecture: Qwen3-0.6B Format: Standalone model Primary modality: TextΒ»
β¨ What is Lailaba AI?
Lailaba AI is an experimental compact AI model designed to provide useful technical assistance while remaining small enough for experimentation, development, and deployment on resource-constrained infrastructure.
Its development focuses on areas including:
- π» Programming
- π Python
- π Web development
- π€ Artificial intelligence
- π§ Machine learning
- π Cybersecurity education
- π§ Linux and command-line tools
- βοΈ Cloud computing
- π APIs and software integration
- π Education
- π¬ Technical research
- π οΈ Developer workflows
- βοΈ Lailaba AI development
𧬠Model Details
Property| Details Model name| Lailaba AI Hugging Face ID| "lailaba/lailaba-ai" Model architecture| Qwen3 Base architecture| Qwen3-0.6B Model type| Causal Language Model Repository type| Standalone model Framework| Hugging Face Transformers Primary modality| Text Main use| Technical AI assistance Development status| Experimental
π Quick Start
Installation
Install the required packages:
pip install -U transformers torch accelerate
Load the model
Because this is a standalone model, you can load it directly without loading a separate LoRA adapter.
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "lailaba/lailaba-ai"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained( model_id, device_map="auto" )
prompt = "Explain what an API is in simple terms."
inputs = tokenizer( prompt, return_tensors="pt" ).to(model.device)
outputs = model.generate( **inputs, max_new_tokens=256, temperature=0.7, do_sample=True )
response = tokenizer.decode( outputs[0], skip_special_tokens=True )
print(response)
π¬ Chat Template
For applications that use conversational messages, use the tokenizer's built-in chat template when available.
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "lailaba/lailaba-ai"
tokenizer = AutoTokenizer.from_pretrained(model_id) model = AutoModelForCausalLM.from_pretrained( model_id, device_map="auto" )
messages = [ { "role": "system", "content": "You are Lailaba AI, a helpful technical AI assistant." }, { "role": "user", "content": "What is Python?" } ]
inputs = tokenizer.apply_chat_template( messages, tokenize=True, add_generation_prompt=True, return_tensors="pt" ).to(model.device)
outputs = model.generate( inputs, max_new_tokens=256 )
response = tokenizer.decode( outputs[0][inputs.shape[-1]:], skip_special_tokens=True )
print(response)
π§ͺ Example
User
What is an API?
Lailaba AI
An API, or Application Programming Interface, is a way for different software applications to communicate with each other.
For example, an application can send a request to an API, and the API can return data or perform an operation on behalf of that application.
π οΈ Intended Applications
Lailaba AI can be used as a foundation for:
- AI chat applications
- Educational assistants
- Programming assistants
- Developer tools
- Research tools
- Technical support systems
- Local AI applications
- Experimental AI agents
- API-powered applications
- Model experimentation
- Lailaba AI products
The model can also be further fine-tuned for specialized applications.
π» Local Deployment
Because the model is distributed as a complete model, it can be downloaded and loaded locally using compatible Transformers infrastructure.
For example:
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained( "lailaba/lailaba-ai" )
No separate base model or LoRA adapter is required.
π Using the Hugging Face Model
The model can be referenced directly by its Hugging Face identifier:
lailaba/lailaba-ai
For example:
model_id = "lailaba/lailaba-ai"
This allows applications to download the model directly from the Hugging Face Hub.
π Cybersecurity
Lailaba AI can be used for cybersecurity education, research, and defensive development.
Potential applications include:
- Learning security concepts
- Secure programming
- Defensive security research
- Vulnerability education
- Linux security
- Network-security concepts
- Security tooling education
- Code security analysis
Users should ensure that cybersecurity-related use complies with applicable laws, authorization requirements, and organizational policies.
β οΈ Limitations
Lailaba AI is a relatively compact model.
It may:
- Generate incorrect information
- Produce inaccurate code
- Hallucinate technical details
- Have difficulty with complex reasoning
- Struggle with long or complicated instructions
- Produce inconsistent answers
- Lack knowledge of recent events
- Require additional context for specialized tasks
Model outputs should be reviewed and validated before being used in production systems.
π Evaluation
Lailaba AI is currently an experimental model.
Formal benchmark results have not yet been published.
Future evaluations may cover:
- Programming
- Code generation
- Technical question answering
- Instruction following
- Cybersecurity knowledge
- Mathematics
- General reasoning
- Educational assistance
Benchmark results will be added to this model card as they become available.
ποΈ Development
Lailaba AI is part of the broader Lailaba AI project.
The project explores the development of compact specialized language models for:
Lailaba AI
β
βββββββββββββββββΌββββββββββββββββ
β β β
Programming Education Technology β β β ββ Python ββ Learning ββ Linux ββ Web Dev ββ Research ββ APIs ββ AI/ML ββ Explanations ββ Cloud ββ Software ββ Security
The model is intended to evolve through improved datasets, training methods, evaluation, and deployment infrastructure.
π Model Version
Lailaba AI v1
Status: Experimental
Architecture: Qwen3
Base architecture: Qwen3-0.6B
Release type: Standalone complete model
Primary focus:
- Programming
- Technology
- Education
- Research
- Cybersecurity learning
- Lailaba AI workflows
π¦ Repository Contents
A typical standalone model repository contains the files required to load the model directly, such as:
lailaba-ai/ βββ config.json βββ generation_config.json βββ tokenizer_config.json βββ tokenizer.json βββ special_tokens_map.json βββ model.safetensors βββ README.md
The exact files may vary depending on how the model was exported and uploaded.
π License
This model is released under the license specified in the repository metadata.
The model is derived from the Qwen3 architecture. Users should review the applicable Qwen license and upstream model terms before redistribution or commercial deployment.
π¨βπ» Developer
Lailaba AI
Hugging Face organization:
"lailaba"
Model:
"lailaba/lailaba-ai"
π€ Contributions
Feedback, testing, evaluations, datasets, and improvements are welcome.
The Lailaba AI project aims to develop practical, accessible, and specialized AI models for developers, students, researchers, and technology users.
β Lailaba AI
Build. Learn. Create.
A compact AI model for programming, technology, education, research, and intelligent applications.
- Downloads last month
- -