llama2.c
llama2.c copied to clipboard
"Can I increase or decrease the size of individual model layers separately?"
"Can I increase or decrease the size of individual model layers separately?"
Not with the code as it is, but you can play with it (make the blocks depend on layer_id). The code is quite modular. Just be aware of the skip connection which forces some things regarding dimensions. There are workarounds for that too.
不是按原樣使用程式碼,但您可以使用它(使區塊依賴layer_id)。該程式碼非常模組化。請注意跳過連接,它會強制執行一些有關尺寸的事情。也有解決方法。
how to achieve the setting?