Update README.md
Browse files42 unmodified lines43444546474849505152537 unmodified lines6162636465666742 unmodified linesAutoTokenizer,)# Input the rest port of IDF file.file_path = "v1_nextpart.idf"output_path = "v1_final.idf"# Input the EPlus-LLM modeltokenizer = AutoTokenizer.from_pretrained("google/flan-t5-large")model = AutoModelForSeq2SeqLM.from_pretrained("EPlus-LLM/EPlus-LLMv1")7 unmodified linesgeneration_config.eos_token_id = tokenizer.eos_token_id# Please provide your input here — a description of the desired building# For more details, please refer to the paperinput="Simulate a building that is 30.00 meters long, 15.00 meters wide, and 3.50 meters high. The window-to-wall ratio is 0.28. The occupancy rate is 8.00 m2/people, the lighting level is 6.00 W/m2, and the equipment power consumption is 8.80 W/m2."input_ids = tokenizer(input, return_tensors="pt", truncation=False)generated_ids = model.generate(input_ids = input_ids.input_ids,42 unmodified lines43444546474849505152537 unmodified lines6162636465666742 unmodified linesAutoTokenizer,)# Load the rest port of IDF file.file_path = "v1_nextpart.idf"output_path = "v1_final.idf"# Load the EPlus-LLM modeltokenizer = AutoTokenizer.from_pretrained("google/flan-t5-large")model = AutoModelForSeq2SeqLM.from_pretrained("EPlus-LLM/EPlus-LLMv1")7 unmodified linesgeneration_config.eos_token_id = tokenizer.eos_token_id# Please provide your input here — a description of the desired building# For more details, please refer to the paper: https://doi.org/10.1016/j.apenergy.2024.123431input="Simulate a building that is 30.00 meters long, 15.00 meters wide, and 3.50 meters high. The window-to-wall ratio is 0.28. The occupancy rate is 8.00 m2/people, the lighting level is 6.00 W/m2, and the equipment power consumption is 8.80 W/m2."input_ids = tokenizer(input, return_tensors="pt", truncation=False)generated_ids = model.generate(input_ids = input_ids.input_ids,
README.md+3-3