Text Generation
Transformers
Safetensors
GGUF
mistral
roblox
luau
code
sft
trl
unsloth
conversational
text-generation-inference
boatbomber commited on
Commit
f51a63c
·
1 Parent(s): defd4e0

Update README

Browse files
Files changed (2) hide show
  1. README.md +82 -0
  2. assets/training_loss.png +3 -0
README.md CHANGED
@@ -1,3 +1,85 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
+ datasets:
4
+ - TorpedoSoftware/the-luau-stack
5
+ - TorpedoSoftware/roblox-info-dump
6
+ language:
7
+ - en
8
+ - fr
9
+ - de
10
+ - es
11
+ - pt
12
+ - it
13
+ base_model:
14
+ - unsloth/Devstral-Small-2507-unsloth-bnb-4bit
15
+ tags:
16
+ - roblox
17
+ - luau
18
+ - code
19
+ - sft
20
+ - transformers
21
+ - trl
22
+ - unsloth
23
  ---
24
+
25
+ # Luau Devstral 24B Instruct v0.1
26
+
27
+ A Roblox Luau focused finetune of [Devstral Small 2507](https://huggingface.co/mistralai/Devstral-Small-2507).
28
+
29
+ ## Model Details
30
+
31
+ ### Model Description
32
+
33
+ Devstral Small 2507 is a powerful choice for local inference, achieving SOTA open source results at just 24B parameters. However, Roblox gamedev and Luau programming are generally not well represented in LLM training data. This model fine tunes Devstral on a corpus of permissively licensed Luau code and Roblox documentation, improving the model's Luau programming capabilities. Additionally, the jinja chat template contains a default system prompt that steers the model's Luau capabilities even further.
34
+
35
+ - **Developed by:** Zack Williams ([boatbomber](https://huggingface.co/boatbomber))
36
+ - **Funded by:** [Torpedo Software LLC](https://huggingface.co/TorpedoSoftware)
37
+ - **License:** [Apache 2.0](https://www.tldrlegal.com/license/apache-license-2-0-apache-2-0)
38
+ - **Finetuned from model:** [unsloth/Devstral-Small-2507-unsloth-bnb-4bit](https://huggingface.co/unsloth/Devstral-Small-2507-unsloth-bnb-4bit)
39
+
40
+ ### Model Sources
41
+
42
+ - **Repository:** https://huggingface.co/mistralai/Devstral-Small-2507
43
+ - **Blog:** https://mistral.ai/news/devstral-2507
44
+
45
+
46
+ ## Training Details
47
+
48
+ ### Training Data
49
+
50
+ https://huggingface.co/datasets/TorpedoSoftware/the-luau-stack
51
+ https://huggingface.co/datasets/TorpedoSoftware/roblox-info-dump
52
+
53
+
54
+ #### Preprocessing
55
+
56
+ Each datapoint from the training data was formatted as follows in order to provide the model with relevant context:
57
+
58
+ ```md
59
+ Repository: {repo_name}
60
+ Repository Description: {repo_description}
61
+
62
+ File Path: `{file_path}`
63
+ File Content:
64
+ ```Lua
65
+ {file_content}
66
+ ```\
67
+ ```
68
+
69
+ ### Training Loss Curve
70
+
71
+ ![Training Loss Curve](assets/training_loss.png)
72
+
73
+ ### Imatrix Calibration
74
+
75
+ The imatrix for the GGUF quantizations was computed using 33.5MB of text containing a combination of [wiki.train.raw](https://huggingface.co/datasets/ikawrakow/validation-datasets-for-llama.cpp/blob/main/wiki.train.raw.gz) and content from [the-luau-stack](https://huggingface.co/datasets/TorpedoSoftware/the-luau-stack) & [roblox-info-dump](https://huggingface.co/datasets/TorpedoSoftware/roblox-info-dump). This created an imatrix that is well suited to the specialized tasks this model is designed for while still maintaining broader intelligence as well. While we do provide several quantizations already, the `imatrix.gguf` is included in this repository should you want to create other quants yourself.
76
+
77
+ ## Environmental Impact
78
+
79
+ Carbon emissions estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
80
+
81
+ - **Hardware Type:** RTX 3090
82
+ - **Hours used:** 60
83
+ - **Cloud Provider:** My gaming PC
84
+ - **Compute Region:** Bay Area
85
+ - **Carbon Emitted:** 4.73 kg CO2eq (equivalent to 11.8 miles driven by an average ICE car)
assets/training_loss.png ADDED

Git LFS Details

  • SHA256: 232bbc403a147908a9ae90fd4605429a5f2ebc7cb59ef78c8703202453468461
  • Pointer size: 130 Bytes
  • Size of remote file: 87.5 kB