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 OpenAI: GPT-3.5 Turbo 16k
AlfredPros: CodeLLaMa 7B Instruct Solidity and OpenAI: GPT-3.5 Turbo 16k are evenly matched on 6 axes — pick the one whose provider, latency, or licensing fits your stack.
This model offers four times the context length of gpt-3.5-turbo, allowing it to support approximately 20 pages of text in a single request at a higher cost. Training data: up to Sep 2021.
Model details →Side-by-side comparison
| Capability | AlfredPros: CodeLLaMa 7B Instruct Solidity | OpenAI: GPT-3.5 Turbo 16k | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 4K | 16K | 🏆 OpenAI: GPT-3.5 Turbo 16k |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $0.80 | $3.00 | 🏆 AlfredPros: CodeLLaMa 7B Instruct Solidity |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $1.20 | $4.00 | 🏆 AlfredPros: CodeLLaMa 7B Instruct Solidity |
| Tool / function calling First-class support for emitting structured tool calls. | — | Yes | 🏆 OpenAI: GPT-3.5 Turbo 16k |
| 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 OpenAI: GPT-3.5 Turbo 16k?
AlfredPros: CodeLLaMa 7B Instruct Solidity and OpenAI: GPT-3.5 Turbo 16k are evenly matched on 6 axes — pick the one whose provider, latency, or licensing fits your stack.
What's the price difference between AlfredPros: CodeLLaMa 7B Instruct Solidity and OpenAI: GPT-3.5 Turbo 16k?
Input: $0.80 vs $3.00 per 1M tokens. Output: $1.20 vs $4.00 per 1M tokens.
What context windows do AlfredPros: CodeLLaMa 7B Instruct Solidity and OpenAI: GPT-3.5 Turbo 16k support?
AlfredPros: CodeLLaMa 7B Instruct Solidity supports up to 4K tokens. OpenAI: GPT-3.5 Turbo 16k supports up to 16K tokens.
Do both AlfredPros: CodeLLaMa 7B Instruct Solidity and OpenAI: GPT-3.5 Turbo 16k support tool calling?
AlfredPros: CodeLLaMa 7B Instruct Solidity: not advertised. OpenAI: GPT-3.5 Turbo 16k: yes.