How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "CorelynAI/LeonCode"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "CorelynAI/LeonCode",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/CorelynAI/LeonCode
Quick Links

logo

Corelyn Leon GGUF Model

Specifications :

  • Model Name: Corelyn Leonicity Leon
  • Base Name: Leon_1B
  • Type: Instruct / Fine-tuned
  • Architecture: Maincoder
  • Size: 1B parameters
  • Organization: Corelyn

Model Overview

Corelyn Leonicity Leon is a 1-billion parameter LLaMA-based instruction-tuned model, designed for general-purpose assistant tasks and knowledge extraction. It is a fine-tuned variant optimized for instruction-following use cases.

  • Fine-tuning type: Instruct

  • Base architecture: Maincoder

  • Parameter count: 3B

This model is suitable for applications such as:

  • Algorithms

  • Websites

  • Python, JavaScript, Java...

  • Code and text generation

Usage

Download from : LeonCode_1B


# pip install pip install llama-cpp-python

from llama_cpp import Llama

# Load the model (update the path to where your .gguf file is)
llm = Llama(model_path="path/to/the/file/LeonCode_1B.gguf")

# Create chat completion
response = llm.create_chat_completion(
    messages=[{"role": "user", "content": "Create a python sorting algorithm"}]
)

# Print the generated text
print(response.choices[0].message["content"])

Downloads last month
68
GGUF
Model size
1B params
Architecture
maincoder
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for CorelynAI/LeonCode

Quantized
(1)
this model