Parrot Coder.png

Parrot Coder 🦜

Parrot Coder is a highly efficient, 200M parameter language model optimized for rapid code autocompletion and code generation tasks. Developed by Inserloft Research.

This repository contains the merged base model + LoRA adapters in .safetensors format, ready for direct inference using transformers.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "InserloftResearch/Parrot-Coder"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)

prompt = "def fibonacci(n):"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

For GGUF versions, visit our Ollama Registry.

Downloads last month
396
Safetensors
Model size
0.3B params
Tensor type
F16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for InserloftResearch/Parrot-Coder

Quantizations
1 model

Space using InserloftResearch/Parrot-Coder 1

Collection including InserloftResearch/Parrot-Coder