Instructions to use prithivMLmods/Camelopardalis-650-14B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Camelopardalis-650-14B-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prithivMLmods/Camelopardalis-650-14B-Instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("prithivMLmods/Camelopardalis-650-14B-Instruct") model = AutoModelForCausalLM.from_pretrained("prithivMLmods/Camelopardalis-650-14B-Instruct") 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
- vLLM
How to use prithivMLmods/Camelopardalis-650-14B-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/Camelopardalis-650-14B-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Camelopardalis-650-14B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/prithivMLmods/Camelopardalis-650-14B-Instruct
- SGLang
How to use prithivMLmods/Camelopardalis-650-14B-Instruct 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 "prithivMLmods/Camelopardalis-650-14B-Instruct" \ --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": "prithivMLmods/Camelopardalis-650-14B-Instruct", "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 "prithivMLmods/Camelopardalis-650-14B-Instruct" \ --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": "prithivMLmods/Camelopardalis-650-14B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use prithivMLmods/Camelopardalis-650-14B-Instruct with Docker Model Runner:
docker model run hf.co/prithivMLmods/Camelopardalis-650-14B-Instruct
Camelopardalis-650-14B-Instruct
Camelopardalis-650-14B-Instruct is based on the Qwen 2.5 14B modality architecture, designed to enhance the reasoning capabilities of 14B-parameter models. This model is optimized for general-purpose reasoning and answering, excelling in contextual understanding, logical deduction, and multi-step problem-solving. It has been fine-tuned using a long chain-of-thought reasoning model and specialized datasets to improve comprehension, structured responses, and conversational intelligence.
Key Improvements
- Enhanced General Knowledge: The model provides broad knowledge across various domains, improving capabilities in answering questions accurately and generating coherent responses.
- Improved Instruction Following: Significant advancements in understanding and following complex instructions, generating structured responses, and maintaining coherence over extended interactions.
- Versatile Adaptability: More resilient to diverse prompts, enhancing its ability to handle a wide range of topics and conversation styles, including open-ended and structured inquiries.
- Long-Context Support: Supports up to 128K tokens for input context and can generate up to 8K tokens in a single output, making it ideal for detailed responses.
- Mathematical Reasoning Enhancements: Improved performance on symbolic computation, algebraic simplification, theorem-based logic, and step-by-step math problem solving.
- Coding Reasoning Improvements: Better understanding of programming paradigms, debugging, code generation, refactoring, and algorithmic problem-solving across multiple languages.
Quickstart with transformers
Here's how to load and use the model with the transformers library and apply_chat_template:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "prithivMLmods/Camelopardalis-650-14B-Instruct"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = "What are the key principles of general-purpose AI?"
messages = [
{"role": "system", "content": "You are a helpful assistant capable of answering a wide range of questions."},
{"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
messages,
tokenize=False,
add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
generated_ids = model.generate(
**model_inputs,
max_new_tokens=512
)
generated_ids = [
output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]
response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
Intended Use
General-Purpose Reasoning:
Designed for broad applicability, assisting with logical reasoning, answering diverse questions, and solving general knowledge problems.Educational and Informational Assistance:
Suitable for providing explanations, summaries, and research-based responses for students, educators, and general users.Mathematical Problem Solving:
Strong capabilities in solving equations, performing derivations, handling word problems, and following symbolic logic.Coding Assistance:
Ideal for writing, analyzing, debugging, and improving code in Python, JavaScript, C++, and more. Helps with algorithm design and explaining programming concepts.Conversational AI and Chatbots:
Suitable for building intelligent conversational agents that require contextual understanding and dynamic response generation.Multilingual Applications:
Supports global communication, translations, and multilingual content generation.Structured Data Processing:
Capable of analyzing and generating structured outputs, such as tables and JSON, useful for data science and automation.Long-Form Content Generation:
Can generate extended responses, including articles, reports, and guides, maintaining coherence over large text outputs.
Limitations
Hardware Requirements:
Requires high-memory GPUs or TPUs due to its large parameter size and long-context support.Potential Bias in Responses:
While designed to be neutral, outputs may still reflect biases present in training data.Inconsistent Outputs in Creative Tasks:
May produce variable results in storytelling and highly subjective topics.Limited Real-World Awareness:
Does not have access to real-time events beyond its training cutoff.Error Propagation in Extended Outputs:
Minor errors in early responses may affect overall coherence in long-form outputs.Prompt Sensitivity:
The effectiveness of responses may depend on how well the input prompt is structured.
- Downloads last month
- 5
Model tree for prithivMLmods/Camelopardalis-650-14B-Instruct
Base model
prithivMLmods/Primal-Opus-14B-Optimus-v1