A finetuned 7 billion parameters Code LLaMA - Instruct model to generate Solidity smart contract using 4-bit QLoRA finetuning provided by PEFT library.
Model details →AlfredPros: CodeLLaMa 7B Instruct Solidity vs Meta: Llama 3 70B Instruct
Meta: Llama 3 70B Instruct wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
Meta's latest class of model (Llama 3) launched with a variety of sizes & flavors. This 70B instruct-tuned version was optimized for high quality dialogue usecases. It has demonstrated strong performance compared to leading closed-source m…
Model details →Side-by-side comparison
| Capability | AlfredPros: CodeLLaMa 7B Instruct Solidity | Meta: Llama 3 70B Instruct | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 4K | 8K | 🏆 Meta: Llama 3 70B Instruct |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $0.80 | $0.51 | 🏆 Meta: Llama 3 70B Instruct |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $1.20 | $0.74 | 🏆 Meta: Llama 3 70B Instruct |
| Tool / function calling First-class support for emitting structured tool calls. | — | — | Tie |
| Vision input Accepts image inputs alongside text. | — | — | Tie |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | — | — | Tie |
Frequently asked questions
Is AlfredPros: CodeLLaMa 7B Instruct Solidity better than Meta: Llama 3 70B Instruct?
Meta: Llama 3 70B Instruct wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between AlfredPros: CodeLLaMa 7B Instruct Solidity and Meta: Llama 3 70B Instruct?
Input: $0.80 vs $0.51 per 1M tokens. Output: $1.20 vs $0.74 per 1M tokens.
What context windows do AlfredPros: CodeLLaMa 7B Instruct Solidity and Meta: Llama 3 70B Instruct support?
AlfredPros: CodeLLaMa 7B Instruct Solidity supports up to 4K tokens. Meta: Llama 3 70B Instruct supports up to 8K tokens.
Do both AlfredPros: CodeLLaMa 7B Instruct Solidity and Meta: Llama 3 70B Instruct support tool calling?
AlfredPros: CodeLLaMa 7B Instruct Solidity: not advertised. Meta: Llama 3 70B Instruct: not advertised.