Text Generation
Transformers
Safetensors
English
llama
cybersecurity
security
cybersec
llama3
conversational
text-generation-inference
Instructions to use CyberNative-AI/Colibri_8b_v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CyberNative-AI/Colibri_8b_v0.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="CyberNative-AI/Colibri_8b_v0.1") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("CyberNative-AI/Colibri_8b_v0.1") model = AutoModelForCausalLM.from_pretrained("CyberNative-AI/Colibri_8b_v0.1", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use CyberNative-AI/Colibri_8b_v0.1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CyberNative-AI/Colibri_8b_v0.1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CyberNative-AI/Colibri_8b_v0.1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/CyberNative-AI/Colibri_8b_v0.1
- SGLang
How to use CyberNative-AI/Colibri_8b_v0.1 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 "CyberNative-AI/Colibri_8b_v0.1" \ --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": "CyberNative-AI/Colibri_8b_v0.1", "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 "CyberNative-AI/Colibri_8b_v0.1" \ --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": "CyberNative-AI/Colibri_8b_v0.1", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use CyberNative-AI/Colibri_8b_v0.1 with Docker Model Runner:
docker model run hf.co/CyberNative-AI/Colibri_8b_v0.1
Commit History
20 days ago
-
Remove paid service offers from model card
Verified signature2f06c22
-
Add custom GGUF quantization service CTA
Verified signature0c1a229
-
Point card images and companion link at this repo
Verified signature6e79d6a
-
Add a contact section
Verified signature17ec5f0
-
Update Llama 3 compliance metadata
CyberNative AI LLC68806e9
-
Delete model-00007-of-00007.safetensors
Verified signature14ea62d -
Delete model-00006-of-00007.safetensors
Verified signatured8feb11 -
Delete model-00005-of-00007.safetensors
Verified signature867cee1 -
Delete model-00004-of-00007.safetensors
Verified signature9695e82 -
Delete model-00003-of-00007.safetensors
Verified signaturee954c06 -
Delete model-00002-of-00007.safetensors
Verified signaturefaa1346 -
Delete model-00001-of-00007.safetensors
Verified signature7583b35 -
Upload LlamaForCausalLM
Verified signaturede308d9 -
Update README.md
Verified signature9d71e3f -
Update README.md
Verified signatureca93247 -
Update README.md
Verified signature4ed8667 -
Upload 3 files
Verified signature5190fd0 -
Update README.md
Verified signature6042229 -
Update README.md
Verified signature97aa094
-
Update README.md
Verified signaturec0a8364 -
Update README.md
Verified signature6b01d32 -
Update README.md
Verified signature50b4134 -
Update README.md
Verified signature3078d4a -
Upload cybernative_ai_colibri_logo.jpeg
Verified signaturee6d5406 -
Update config.json
Verified signaturefb29f47 -
Upload LlamaForCausalLM
Verified signature5b3f33d -
Upload tokenizer
Verified signature888d462 -
initial commit
Verified signature685b813