Skip to content

Commit 9da29ac

Browse files
mitya52MarcMcIntosh
authored andcommitted
refact, starcoder2, deepseek-coder deprecation (#674)
1 parent af68856 commit 9da29ac

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

refact-server/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ Extensions > Refact.ai Assistant > Settings > Infurl
108108

109109
| Model | Completion | Chat | Fine-tuning | [Deprecated](## "Will be removed in next versions") |
110110
|---------------------------------------------------------------------------------------------------------|------------|------|-------------|-----------------------------------------------------|
111-
| [Refact/1.6B](https://huggingface.co/smallcloudai/Refact-1_6B-fim) | + | | + | |
112-
| [starcoder2/3b/base](https://huggingface.co/bigcode/starcoder2-3b) | + | | + | |
113-
| [starcoder2/7b/base](https://huggingface.co/bigcode/starcoder2-7b) | + | | + | |
114-
| [starcoder2/15b/base](https://huggingface.co/bigcode/starcoder2-15b) | + | | + | |
115-
| [deepseek-coder/1.3b/base](https://huggingface.co/deepseek-ai/deepseek-coder-1.3b-base) | + | | + | |
116-
| [deepseek-coder/5.7b/mqa-base](https://huggingface.co/deepseek-ai/deepseek-coder-5.7bmqa-base) | + | | + | |
111+
| [Refact/1.6B](https://huggingface.co/smallcloudai/Refact-1_6B-fim) | + | | + | + |
112+
| [starcoder2/3b/base](https://huggingface.co/bigcode/starcoder2-3b) | + | | + | + |
113+
| [starcoder2/7b/base](https://huggingface.co/bigcode/starcoder2-7b) | + | | + | + |
114+
| [starcoder2/15b/base](https://huggingface.co/bigcode/starcoder2-15b) | + | | + | + |
115+
| [deepseek-coder/1.3b/base](https://huggingface.co/deepseek-ai/deepseek-coder-1.3b-base) | + | | + | + |
116+
| [deepseek-coder/5.7b/mqa-base](https://huggingface.co/deepseek-ai/deepseek-coder-5.7bmqa-base) | + | | + | + |
117117
| [llama3.1/8b/instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) | + | + | | |
118118
| [llama3.2/1b/instruct](https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct) | + | + | | |
119119
| [llama3.2/3b/instruct](https://huggingface.co/meta-llama/Llama-3.2-3B-Instruct) | + | + | | |

refact-server/refact_known_models/huggingface.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
"supports_scratchpads": {
9292
"completion": starcoder_supports_scratchpads,
9393
},
94+
"deprecated": True,
9495
"filter_caps": ["completion", "finetune"],
9596
},
9697
"starcoder2/7b/base": {
@@ -102,6 +103,7 @@
102103
"supports_scratchpads": {
103104
"completion": starcoder_supports_scratchpads,
104105
},
106+
"deprecated": True,
105107
"filter_caps": ["completion", "finetune"],
106108
},
107109
"starcoder2/15b/base": {
@@ -113,6 +115,7 @@
113115
"supports_scratchpads": {
114116
"completion": starcoder_supports_scratchpads,
115117
},
118+
"deprecated": True,
116119
"filter_caps": ["completion", "finetune"],
117120
},
118121
# deepseek-coder
@@ -124,6 +127,7 @@
124127
"supports_scratchpads": {
125128
"completion": deepseek_coder_supports_scratchpads,
126129
},
130+
"deprecated": True,
127131
"filter_caps": ["completion", "finetune"],
128132
},
129133
"deepseek-coder/5.7b/mqa-base": {
@@ -134,6 +138,7 @@
134138
"supports_scratchpads": {
135139
"completion": deepseek_coder_supports_scratchpads,
136140
},
141+
"deprecated": True,
137142
"filter_caps": ["completion", "finetune"],
138143
},
139144
# llama

refact-server/refact_known_models/refact.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"supports_scratchpads": {
1515
"completion": refact_supports_scratchpads,
1616
},
17+
"deprecated": True,
1718
"filter_caps": ["completion", "finetune"],
1819
},
1920
# "Refact/1.6B/cpu": {

refact-server/refact_utils/finetune/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from typing import Any, Dict, Union
1414

1515
legacy_finetune_model = "CONTRASTcode/3b/multi"
16-
default_finetune_model = "Refact/1.6B"
16+
default_finetune_model = "qwen2.5/coder/1.5b/base"
1717

1818

1919
def get_run_model_name(run_dir: str) -> str:

refact-server/refact_webgui/webgui/selfhost_model_assigner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def _model_inference_setup(self, inference_config: Dict[str, Any]) -> Dict[str,
265265
def first_run(self):
266266
default_config = {
267267
"model_assign": {
268-
"Refact/1.6B": {
268+
"qwen2.5/coder/1.5b/base": {
269269
'gpus_shard': 1,
270270
'share_gpu': True,
271271
},

0 commit comments

Comments
 (0)