LLM 使用心法
以應用的角度來觀察 AI 的發展,如同我們的求學考試歷程,從最初的機器學習到現在的大型語言模型。二元分類的是非題、多元分類的選擇題,Multi-Lebel 的多選題,Transformer 擅長的克漏字問題, LLM 擅長的簡答題和翻譯題,到現在我們普遍不滿足的是 LLM 解答申論題的能力和解答證明題的能力。
Return value would be overwritten by finally
block in Python. For example, the following code:
def func():
try:
print("In try block")
return 1
finally:
print("In finally block")
return 2
result = func()
print(result)
The answer is In try block, In finally block, 2
. The finally
block will always be executed, even if there is a return
statement in the try
block.