corehu

开源模型

Llama-2-7b-chat-hf 对比 Llama-2-7b-chat-hf-function-calling-v2

Llama-2-7b-chat-hf 与 Llama-2-7b-chat-hf-function-calling-v2 所需显存大致相同(18 GB)。 目前最便宜的运行方式:Llama-2-7b-chat-hf 在 RTX 2080 Ti 上每小时 $0.29 起,Llama-2-7b-chat-hf-function-calling-v2 在 RTX 2080 Ti 上每小时 $0.29 起。

Llama-2-7b-chat-hfLlama-2-7b-chat-hf-function-calling-v2
开发者meta-llamaTrelis
参数量6.7B6.7B
权重F16F16
许可证llama2—
所需显存≈ 18 GB≈ 18 GB
4-bit 显存≈ 6 GB≈ 6 GB
能运行的最便宜 GPURTX 2080 Ti · $0.29RTX 2080 Ti · $0.29
速度(估算)≈ 26 token/秒 · 每百万 $3.13≈ 26 token/秒 · 每百万 $3.13
下载量84,2593,524

显存数值为我们对推理的估算;实际用量取决于分辨率、批量大小和上下文长度。 速度是按 GPU 显存带宽对单个请求的估算;同时处理多个请求会提高总吞吐量并降低每个 token 的成本。

常见问题

Llama-2-7b-chat-hf 和 Llama-2-7b-chat-hf-function-calling-v2 哪个需要的显存更少?
Llama-2-7b-chat-hf 与 Llama-2-7b-chat-hf-function-calling-v2 所需显存大致相同(18 GB)。
Llama-2-7b-chat-hf 和 Llama-2-7b-chat-hf-function-calling-v2 哪个运行更便宜?
目前最便宜的运行方式:Llama-2-7b-chat-hf 在 RTX 2080 Ti 上每小时 $0.29 起,Llama-2-7b-chat-hf-function-calling-v2 在 RTX 2080 Ti 上每小时 $0.29 起。