Spaces:
Running on Zero
Running on Zero
A newer version of the Gradio SDK is available: 6.28.0
metadata
title: Parrot-Coder
emoji: π
colorFrom: gray
colorTo: gray
sdk: gradio
sdk_version: 5.0.0
app_file: app.py
pinned: true
license: apache-2.0
π¦ Parrot-Coder
Parrot-Coder is a code generation model developed by Inserloft Research.
This Space provides a simple interface for testing Parrot-Coder directly in your browser.
Model
The model used by this Space is:
InserloftResearch/Parrot-Coder
Details
- Architecture: GPT-2
- Parameters: ~255M
- Task: Text generation / Code generation
- Language: English
- Format: Safetensors
- License: Apache-2.0
Features
- Code generation
- Adjustable generation length
- Temperature control
- Top-p sampling
- Copy generated code directly from the interface
- GPU acceleration when available
Usage
Enter a coding instruction in the Prompt box.
For example:
Write a Python function that checks if a number is prime.
Then press Generate.
Another example:
Create a JavaScript function that removes duplicate values from an array.
About Parrot-Coder
Parrot-Coder is part of the open-source model work from Inserloft Research.
The model is designed to experiment with compact language models specialized in programming and code completion.
Repository
Model repository:
https://huggingface.co/InserloftResearch/Parrot-Coder
Organization
License
This Space uses Parrot-Coder under the Apache License 2.0.
See the model repository for the complete license and model information.