R

Refact 1 6B Fim

Developed by refactai
Refact-1.6B is a model designed for code generation and completion, supporting multiple languages and chat functions, with performance approaching that of larger-scale models.
Downloads 10.06k
Release Time : 8/29/2023

Model Overview

Refact-1.6B is a high-performance code generation and completion model that outperforms similar models on multiple metrics through fine-tuning. It supports multiple programming languages and can be used as a chatbot.

Model Features

High-performance code completion
Performs excellently in code completion tasks, outperforming models such as Replit 3b and Stability Code 3b, and approaching the performance of StarCoder.
Multi-language support
Supports multiple programming languages and demonstrates good performance in multi-language evaluations such as MultiPL-HumanEval.
Chat function
Can be used as a chatbot and performs excellently in the HumanEval results in the instruction-following (chat) format.
Fill-in-the-middle
Uses special markers `<fim_prefix>`, `<fim_suffix>`, and `<fim_middle>` to identify the prefix, middle, and suffix parts of the input and output.

Model Capabilities

Code generation
Code completion
Multi-language programming support
Chatbot

Use Cases

Programming assistance
Code completion
Automatically completes code snippets when writing code, improving development efficiency.
Achieves 32.0% in HumanEval pass@1 and 53.0% in pass@10.
Code generation
Generates complete code functions or modules according to user requirements.
Performs well in multi-language evaluations such as MultiPL-HumanEval.
Programming Q&A
Answers programming-related questions as a chatbot and provides solutions.
Achieves 38.4% in HumanEval pass@1 and 55.6% in pass@10 in chat mode.
Featured Recommended AI Models
AIbase
Empowering the Future, Your AI Solution Knowledge Base
Š 2025AIbase