How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="alrobles/EcoCoder-7B",
	filename="ecocoder-7b-q4_k_m.gguf",
)
llm.create_chat_completion(
	messages = [
		{
			"role": "user",
			"content": "What is the capital of France?"
		}
	]
)

EcoCoder-7B

LoRA fine-tune of Qwen2.5-Coder-7B-Instruct for ecological Species Distribution Modeling (SDM) code generation.

  • Base model: Qwen/Qwen2.5-Coder-7B-Instruct
  • LoRA rank: 16
  • LoRA alpha: 32
  • Training loss (final): ~0.13
  • Accuracy (eval): ~96%
  • Format: GGUF Q4_K_M (4.4 GB)
  • Quantization: llama.cpp Q4_K_M

Usage with LM Studio

Search alrobles/EcoCoder-7B in LM Studio or download the GGUF.

Usage with llama.cpp

llama-cli -m ecocoder-7b-q4_k_m.gguf -p "Write Python code to..."
Downloads last month
44
GGUF
Model size
8B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for alrobles/EcoCoder-7B

Base model

Qwen/Qwen2.5-7B
Adapter
(686)
this model