corehu

开源模型

CodeLlama-7b-hf 对比 CodeLlama-7b-Instruct-hf

CodeLlama-7b-hf 与 CodeLlama-7b-Instruct-hf 所需显存大致相同(18 GB)。 目前最便宜的运行方式:CodeLlama-7b-hf 在 RTX A6000 上每小时 $1.24 起,CodeLlama-7b-Instruct-hf 在 RTX A6000 上每小时 $1.24 起。

CodeLlama-7b-hfCodeLlama-7b-Instruct-hf
开发者codellamacodellama
参数量6.7B6.7B
权重BF16BF16
许可证llama2llama2
所需显存≈ 18 GB≈ 18 GB
4-bit 显存≈ 6 GB≈ 6 GB
能运行的最便宜 GPURTX A6000 · $1.24RTX A6000 · $1.24
下载量81,92510,558

显存数值为我们对推理的估算;实际用量取决于分辨率、批量大小和上下文长度。

常见问题

CodeLlama-7b-hf 和 CodeLlama-7b-Instruct-hf 哪个需要的显存更少?
CodeLlama-7b-hf 与 CodeLlama-7b-Instruct-hf 所需显存大致相同(18 GB)。
CodeLlama-7b-hf 和 CodeLlama-7b-Instruct-hf 哪个运行更便宜?
目前最便宜的运行方式:CodeLlama-7b-hf 在 RTX A6000 上每小时 $1.24 起,CodeLlama-7b-Instruct-hf 在 RTX A6000 上每小时 $1.24 起。