Datasets:
Tasks:
Text2Text Generation
Modalities:
Text
Formats:
json
Languages:
English
Size:
10K - 100K
License:
neighborwang
commited on
Commit
•
f522540
1
Parent(s):
e800df7
initial commit
Browse files- .gitattributes +1 -0
- README.md +164 -3
- modelica_libraries_LLM_dataset.jsonl +3 -0
.gitattributes
CHANGED
@@ -56,3 +56,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
56 |
# Video files - compressed
|
57 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
58 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
56 |
# Video files - compressed
|
57 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
58 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
59 |
+
modelica_libraries_LLM_dataset.jsonl filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,164 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Dataset
|
2 |
+
|
3 |
+
The current focus is on power and energy systems. Therefore, only a representative libraries in these fields have been selected.
|
4 |
+
|
5 |
+
Ongoing work: Introducing debugging prompt pairs into the dataset.
|
6 |
+
|
7 |
+
## Summary
|
8 |
+
|
9 |
+
* Total prompt pairs: 10104
|
10 |
+
* File size: 26.05 MB
|
11 |
+
|
12 |
+
## Information
|
13 |
+
|
14 |
+
### Modelica libraries:
|
15 |
+
|
16 |
+
* [A collection of free and commercial libraries](https://modelica.org/libraries)
|
17 |
+
|
18 |
+
### General Cleanup Strategies (applied to all libraries):
|
19 |
+
|
20 |
+
* The following components have been excluded:
|
21 |
+
|
22 |
+
* Resources (visualization)
|
23 |
+
|
24 |
+
* Icons (visualization)
|
25 |
+
|
26 |
+
* UsersGuide (text descriptions for human)
|
27 |
+
|
28 |
+
* ModelicaTest
|
29 |
+
|
30 |
+
* Annotations:
|
31 |
+
* If documentation is found inside annotations, use the documentation as the description
|
32 |
+
* If annotations only contains visualizations, delete the annotations
|
33 |
+
|
34 |
+
## List of Considered & Converted Libraries
|
35 |
+
|
36 |
+
| Name & Repo | Version & Release Date | Description | Considered for Dataset? |
|
37 |
+
| :----------------------------------------------------------: | :--------------------: | :----------------------------------------------------------: | :---------------------: |
|
38 |
+
| [Standard Library](https://github.com/modelica/ModelicaStandardLibrary) | v4.1.0 (2024-02-06) | Modelica Standard library | Yes |
|
39 |
+
| [VehicleInterfaces](https://github.com/modelica/VehicleInterfaces) | v2.0.0 (2024-08-19) | Interface definitions and architectures for vehicle system modeling | Yes |
|
40 |
+
| [AixLib](https://github.com/modelica-3rdparty/AixLib) | v2.0.0 (2024-08-19) | Building performance simulations | Yes |
|
41 |
+
| [Buildings](https://github.com/modelica-3rdparty/Buildings) | v11.0.0 (2024-04-09) | Building performance simulations | Yes |
|
42 |
+
| [ObjectStab](https://github.com/modelica-3rdparty/ObjectStab) | v2.0.0 (2024-02-01) | Power System Stability Studies (descriptions missing for each component) | No |
|
43 |
+
| [PhotoVoltaics](https://github.com/modelica-3rdparty/PhotoVoltaics) | v2.0.0 (2021-07-19) | Simulation of photo voltaic cells and modules | Yes |
|
44 |
+
| [PNlib](https://github.com/modelica-3rdparty/PNlib) | v3.0.0 (2024-02-13) | Modeling xHPN | Yes |
|
45 |
+
| [PowerGrids](https://github.com/modelica-3rdparty/PowerGrids) | v1.0.4 (2023-12-10) | Electro-mechanical modelling of power systems | Yes |
|
46 |
+
| [PowerSystems](https://github.com/modelica-3rdparty/PowerSystems) | v2.0.0 (2024-05-07) | Modeling electrical power systems both in transient and steady-state mode | Yes |
|
47 |
+
|
48 |
+
### 1. Converted Modelica Standard Library
|
49 |
+
|
50 |
+
Extracted components: 2085
|
51 |
+
|
52 |
+
* 457 packages
|
53 |
+
* 1434 models
|
54 |
+
* 194 blocks
|
55 |
+
|
56 |
+
Prompt-completion pairs: 2082 (size: 7.28 MB)
|
57 |
+
|
58 |
+
Clean up strategies:
|
59 |
+
|
60 |
+
* General strategy
|
61 |
+
|
62 |
+
|
63 |
+
### 2. Converted Vehicle Interfaces Library
|
64 |
+
|
65 |
+
Extracted components: 169
|
66 |
+
|
67 |
+
* 53 packages
|
68 |
+
* 115 models
|
69 |
+
* 1 block
|
70 |
+
|
71 |
+
Prompt-completion pairs: 169 (size: 171 KB)
|
72 |
+
|
73 |
+
Clean up strategies:
|
74 |
+
|
75 |
+
* General strategy
|
76 |
+
* Exclude package "ObsoleteVehicleInterfaces2" as library version description
|
77 |
+
* Exclude Package "VehicleInterfacesTestConversion2" as conversion test for issue #38
|
78 |
+
* Exclude package "UsersGuide"
|
79 |
+
|
80 |
+
### 3. Converted AixLib Library
|
81 |
+
|
82 |
+
Extracted components: 2736
|
83 |
+
|
84 |
+
* 1515 packages
|
85 |
+
* 1087 models
|
86 |
+
* 134 blocks
|
87 |
+
|
88 |
+
Prompt-completion pairs: 2597 (size: 5.9 MB)
|
89 |
+
|
90 |
+
Clean up strategies:
|
91 |
+
|
92 |
+
* General strategy
|
93 |
+
* Exclude package "Obsolete"
|
94 |
+
|
95 |
+
### 4. Converted Buildings Library
|
96 |
+
|
97 |
+
Extracted components: 4752
|
98 |
+
|
99 |
+
* 2274 packages
|
100 |
+
* 1873 models
|
101 |
+
* 605 blocks
|
102 |
+
|
103 |
+
Prompt-completion pairs: 4750 (size: 11.3 MB)
|
104 |
+
|
105 |
+
Clean up strategies:
|
106 |
+
|
107 |
+
* General strategy
|
108 |
+
* Exclude package "Obsolete"
|
109 |
+
|
110 |
+
### 5. Converted PhotoVoltaics Library
|
111 |
+
|
112 |
+
Extracted components: 62
|
113 |
+
|
114 |
+
* 16 packages
|
115 |
+
* 43 models
|
116 |
+
* 3 blocks
|
117 |
+
|
118 |
+
Prompt-completion pairs: 62 (size: 87.3 KB)
|
119 |
+
|
120 |
+
* All components have descriptions
|
121 |
+
|
122 |
+
Clean up strategies:
|
123 |
+
|
124 |
+
* General strategy
|
125 |
+
|
126 |
+
### 6. PNlib
|
127 |
+
|
128 |
+
Extracted components: 179
|
129 |
+
|
130 |
+
* 22 packages
|
131 |
+
* 143 models
|
132 |
+
* 14 blocks
|
133 |
+
|
134 |
+
Prompt-completion pairs: 170 (size: 313 KB)
|
135 |
+
|
136 |
+
Clean up strategies:
|
137 |
+
|
138 |
+
* General strategy
|
139 |
+
|
140 |
+
### 7. PowerGrids
|
141 |
+
|
142 |
+
Extracted components: 187
|
143 |
+
|
144 |
+
* 38 packages
|
145 |
+
* 143 models
|
146 |
+
* 6 blocks
|
147 |
+
|
148 |
+
Prompt-completion pairs: 178 (size: 284 KB)
|
149 |
+
|
150 |
+
Clean up strategies:
|
151 |
+
|
152 |
+
* General strategy
|
153 |
+
|
154 |
+
### 8. PowerSystems
|
155 |
+
|
156 |
+
Extracted components: 97
|
157 |
+
|
158 |
+
* 97 packages
|
159 |
+
|
160 |
+
Prompt-completion pairs: 96 (size: 702 KB)
|
161 |
+
|
162 |
+
Clean up strategies:
|
163 |
+
|
164 |
+
* General strategy
|
modelica_libraries_LLM_dataset.jsonl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2c8c267cc4c3214d54ae397f7eaff950ca9dcb52f72eb5ea11374c03cc865cfa
|
3 |
+
size 27316110
|