---
library_name: transformers
license: apache-2.0
base_model:
- Qwen/Qwen2.5-Coder-3B-Instruct
---
# Model Card for Model ID
Generates and Edits minimal multi-file python code. Right now consistently generates upto 2-3 files with a runner.sh bash script that orchestrates the file. Maintains the PEP-8 style.
## Model Details
### Model Description
- **Developed by:** Reshinth Adithyan
- **License:** Apache 2.0
### Model Sources [optional]
- **Repository:** https://github.com/reshinthadithyan/repo-level-code/tree/main
### Generated Format
The model generates the repository in the following format, Code to parse it and make a repository is also given below
```txt
pytorch,wandb
PLANNING AS MARKDOWN FORMAT
>CONTENT FOR THE REQS FILE HERE
```
## Example
An Example generated code is given [here](https://huggingface.co/reshinthadith/local-repo-coder-v0/blob/main/example.txt). This using the script below is processed to,
```text
Repository generated at: ./output_dir/demo2
demo2/
run.sh
src/
visualize_timeseries.py
```
### Usage
```python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
import fire
from pathlib import Path
import os
import re
def generate_repo_from_string(input_str: str, output_dir: str) -> None:
"""
Parse