Update README.md
Browse files
README.md
CHANGED
|
@@ -72,10 +72,6 @@ from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
|
|
| 72 |
import torch
|
| 73 |
from peft import PeftModel, PeftConfig
|
| 74 |
|
| 75 |
-
# Load the rest port of IDF file.
|
| 76 |
-
file_path = "v2_nextpart.idf" # File is in the repo. Please download.
|
| 77 |
-
output_path = "v2_final.idf"
|
| 78 |
-
|
| 79 |
# Load the EPlus-LLMv2 config.
|
| 80 |
peft_model_id = "EPlus-LLM/EPlus-LLMv2"
|
| 81 |
config = PeftConfig.from_pretrained(peft_model_id)
|
|
@@ -156,6 +152,10 @@ generated_output = generated_output.replace("Ideal Load System Setting for Therm
|
|
| 156 |
generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 4;", zone_4)
|
| 157 |
generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 5;", zone_5)
|
| 158 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 159 |
# Output the building energy model in IDF file
|
| 160 |
with open(file_path, 'r', encoding='utf-8') as file:
|
| 161 |
nextpart = file.read()
|
|
|
|
| 72 |
import torch
|
| 73 |
from peft import PeftModel, PeftConfig
|
| 74 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
# Load the EPlus-LLMv2 config.
|
| 76 |
peft_model_id = "EPlus-LLM/EPlus-LLMv2"
|
| 77 |
config = PeftConfig.from_pretrained(peft_model_id)
|
|
|
|
| 152 |
generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 4;", zone_4)
|
| 153 |
generated_output = generated_output.replace("Ideal Load System Setting for Thermal Zone 5;", zone_5)
|
| 154 |
|
| 155 |
+
# Load the rest port of IDF file.
|
| 156 |
+
file_path = "v2_nextpart.idf" # File is in the repo. Please download.
|
| 157 |
+
output_path = "v2_final.idf"
|
| 158 |
+
|
| 159 |
# Output the building energy model in IDF file
|
| 160 |
with open(file_path, 'r', encoding='utf-8') as file:
|
| 161 |
nextpart = file.read()
|