模型使用咨询
#1
by
guxu1024
- opened
time-series data and textual query. For instance:
Example question with engine signal data and query
time_series_data = "path_to_time_series_data" # Example: "engine_signal_data.csv"
query = "What is the condition of the engine?"
Process the data and make predictions
Assuming you have preprocessed the time-series data into the correct format
inputs = tokenizer(query, return_tensors="pt")
outputs = model.generate(inputs["input_ids"])
Decode and output the result
decoded_output = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(decoded_output)
这里边似乎没有看到time_series_data 在哪使用了
可以查看github仓库,上面有完整的推理代码
pandalin98
changed discussion status to
closed