Lightning-AI / Lightning-AI/litgpt

The information for 'stabilityai/stable-code-3b' has not been added to the config.py file.

Open Beginner friendly
#932 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

model-weights
Dominant language
Python
Stars
13.7k
Forks
1.5k
Avg merge
15h 37m
Merged PRs (30d)
1

Description

I wrote it like this:

```py
##########################
# Stability AI Stable-Code-3b
##########################
stable_code_3b = [
# https://huggingface.co/stabilityai/stable-code-3b/blob/main/config.json
dict(
name="stable-code-3b",
hf_config=dict(org="stabilityai", name="stable-code-3b"),
block_size=16384,
vocab_size=50304,
n_layer=32,
n_embd=2560,
)
]
configs.extend(stable_code_3b)
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open config.py and review the existing model configuration entries near the other Hugging Face models. Add the provided stable-code-3b configuration using the values from the linked config.json, then confirm that the model is included in the config collection and can be recognized by the project.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python
Domain
machine-learning
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.