See axolotl config
axolotl version: 0.4.0
1base_model: NousResearch/Meta-Llama-3-8B
2model_type: LlamaForCausalLM
3tokenizer_type: AutoTokenizer
4
5load_in_8bit: false
6load_in_4bit: false
7strict: false
8
9datasets:
10 - path: b-mc2/sql-create-context
11 type: context_qa.load_v2
12dataset_prepared_path: last_run_prepared
13val_set_size: 0.05
14output_dir: ./artificialguybr/llama3-8b-redmond-code290k
15
16sequence_len: 8192
17sample_packing: true
18pad_to_sequence_len: true
19
20wandb_project: artificialguybr/llama3-8b-redmond-code290k
21wandb_entity:
22
23---
24### 🌐 Website
25You can find more of my models, projects, and information on my official website:
26- **[artificialguy.com](https://artificialguy.com/)**
27
28
29### 🚀 Prompt Hub
30Need high-quality prompts for image models and LLMs? Explore **[findgoodprompt.com](https://findgoodprompt.com)**.
31### 💖 Support My Work
32If you find this model useful, please consider supporting my work. It helps me cover server costs and dedicate more time to new open-source projects.
33- **Patreon:** [Support on Patreon](https://www.patreon.com/user?u=81570187)
34- **Ko-fi:** [Buy me a Ko-fi](https://ko-fi.com/artificialguybr)
35- **Buy Me a Coffee:** [Buy me a Coffee](https://buymeacoffee.com/jvkape)
36wandb_watch:
37wandb_name:
38wandb_log_model:
39
40gradient_accumulation_steps: 8
41micro_batch_size: 1
42num_epochs: 3
43optimizer: paged_adamw_8bit
44lr_scheduler: cosine
45learning_rate: 2e-5
46
47train_on_inputs: false
48group_by_length: false
49bf16: auto
50fp16:
51tf32: false
52
53gradient_checkpointing: true
54gradient_checkpointing_kwargs:
55 use_reentrant: false
56early_stopping_patience:
57resume_from_checkpoint:
58logging_steps: 1
59xformers_attention:
60flash_attention: true
61
62warmup_steps: 100
63evals_per_epoch: 2
64eval_table_size:
65saves_per_epoch: 1
66debug:
67deepspeed:
68weight_decay: 0.0
69fsdp:
70fsdp_config:
71special_tokens:
72 pad_token: <|end_of_text|>
73
LLAMA 3 8B Redmond CODE 290K
Thanks to
Redmond.ai for the GPU Support!
Model description
The Code-290k-ShareGPT model is a large language model designed to generate code and explanations in various programming languages, including Python, Java, JavaScript, GO, C++, Rust, Ruby, SQL, MySQL, R, Julia, Haskell, and more. It takes as input a prompt or question and outputs a corresponding code snippet with a detailed explanation.
The model is trained on a massive dataset of approximately 290,000 conversations, each consisting of two conversations. This dataset is in the Vicuna/ShareGPT format, which allows for efficient training and fine-tuning of the model.
The model is intended to be used in applications where code generation and explanation are necessary, such as coding assistance, education, and knowledge sharing.
Intended uses & limitations
Intended uses:
Generating code and explanations in various programming languages
Assisting in coding tasks and education
Providing knowledge sharing and documentation
Integrating with other language models or tools to provide a more comprehensive coding experience
Limitations:
The model may not perform well on very rare or niche programming languages
The model may not generalize well to unseen coding styles or conventions
The model may not be able to handle extremely complex code or edge cases
The model may not be able to provide explanations for highly abstract or theoretical concepts
The model may not be able to handle ambiguous or open-ended prompts## Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 1
- eval_batch_size: 1
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 8
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 100
- num_epochs: 2
Training results
Soon
Framework versions
- Transformers 4.40.0.dev0
- Pytorch 2.2.2+cu121
- Datasets 2.15.0
- Tokenizers 0.15.0
Explore More
Discover more of my models, projects, and practical AI resources:
- AI tools directory: JustGoodAI — a curated directory of useful AI tools.