Code Llama 34B Instruct
codellama-34b-instructMeta's 34B Code Llama tuned for instruction following. A balance of size and quality for code generation, completion, and explanation, with strong coverage of Python, JavaScript, and other common languages. Runs on Replicate per call.
- Cena
- ≈ 0,0408 $/palaidi
- Konteksts
- 16 384 marķieri
- Maks. izvade
- 4096 marķieri
- Ievade → Izvade
- Teksts → Teksts
- Izstrādātājs
- Meta
- Atjaunināts
- 2026. gada 23. septembris
Spēļu laukums
Izmēģiniet Code Llama 34B Instruct
Ievade un rezultāts
Šis palaišanas gadījums
apmēram 0,0408 $ · 4,08 kredīti
Sākumā tiek rezervēti 0,1224 $ (12,24 kredīti); tiek norēķināts faktiskais GPU laiks.
Kontiem bez pirkuma: palaišanas gadījumi virs 2 kredītiem prasa papildināšanu.
Jauns šeit?
10 bezmaksas kredīti (0,10 $), reģistrējies ar Google
Pieejams 24 stundas pēc reģistrācijas, līdz 5 palaišanas gadījumi dienā un maksimāli 2 kredīti uz palaišanas gadījumu. Citas pierakstīšanās metodes sākas bez kredītiem.
Examples
Prompt
Write a function that returns the fibonnaci sequence, and also talk like a pirate.
Response
Arrgh, here be me code for ye, matey: ``` def fibonacci(n): if n <= 1: return n else: return fibonacci(n-1) + fibonacci(n-2) ``` Now, let's break down the code and talk like pirates, savvy? The function starts with a simple check: if the input `n` is less than or equal to 1, we just return it as the first two numbers in the sequence are 0 and 1. This be called the "base case." ``` if n <= 1: return n ``` But if the input `n` be greater than 1, we have a bit more work to do. We use a recursive call to find the previous two numbers in the sequence by calling the function again with `n-1`. This be called the "recursive case." ``` else: return fibonacci(n-1) + fibonacci(n-2) ``` Now, let's talk like pirates. The first two numbers in the sequence be 0 and 1, just like on the high seas. The next number be 1+1=2, which be like a ship with two masts. Then it be 1+2=3, which be like a ship with three masts. And so on and so forth. ``` 0, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765 ``` So there ye have it, me hearty. The fibonacci sequence be a series of numbers that start with 0 and 1, and each number after that be the sum of the two before it. And if ye ever find yerself lost at sea, just remember: fibonacci be the answer to all yer problems!
Settings
system_prompt: Responses should be written in Python.
Prompt
Write a python function that sums 2 integers together, and returns the result.
Response
def sum_integers(a, b): return a + b
Settings
system_prompt: Responses should be written in python.
Prompt
Write a function that sums 2 integers together, and returns the result.
Response
function sumIntegers(a: number, b: number): number { return a + b; }
Settings
system_prompt: Responses should be written in TypeScript.
Par Code Llama 34B Instruct
Code Llama 34B Instruct ir Meta modelis kategorijā Kods. Railwail platformā Code Llama 34B Instruct maksā ≈ 0,0408 $ par palaidi. Konteksta logs satur 16 384 žetonus, un viena atbilde var būt līdz 4096 žetonu gara.
Cenas
| Tipisks palaidi (≈ 35 s uz L40S) | 0,0408 $ par palaidi |
|---|---|
| GPU laiks (L40S) | 0,00117 $ par GPU sekundi |
- Norēķināšana notiek par GPU laiku, ko palaidi faktiskā aizņem. Palaides sākumā no jūsu atlikuma tiek rezervēts 3× tipiskā cena un vēlāk nosegts.
- 1 kredīts = 0,01 $
Izmaksu kalkulators
Cenu kalkulators
Tipiski pēc sniedzēja: aptuveni 34,9 s
Kopā
4,08 $
408 kredīti
Uz palaišanu
0,0408 $ · 4,08 kredīti
Norēķins pēc faktiskā GPU laika; šī ir aprēķins.
API
Nav pārbaudīta API piemēra
Publiskā API nodod citu ievades formātu, nekā nepieciešams šim modelim. Izmantojiet smilšu kasti iepriekš.
Specifikācijas
- Modeļa ID
codellama-34b-instruct- Izstrādātājs
- Meta
- Kategorija
- Kods
- Ievade
- Teksts
- Izvade
- Teksts
- Konteksta logs
- 16 384 marķieri
- Maks. izvade
- 4096 marķieri
- Norēķini
- Pēc lietojuma (tokeni vai GPU laiks)
- Kataloga ieraksts atjaunināts
- 2026. gada 23. septembris
Ievades parametri
Ievades un iestatījumi no modeļa ievades shēmas. Piemērs API sadaļā parāda, kurus no tiem API pieņem.
promptobligātsCoding prompt
Tips: TekstsNoklusējums: –Atļautās vērtības: –max_tokensTips: Vesels skaitlisNoklusējums:1024Atļautās vērtības: 1 līdz 4096temperatureTips: SkaitlisNoklusējums:0.2Atļautās vērtības: 0 līdz 2system_promptOptional system instruction
Tips: TekstsNoklusējums: –Atļautās vērtības: –
Tagi
- meta
- code-llama
- coding
- instruct
- open-weights
- replicate
Lietošanas gadījumi
Bieži uzdotie jautājumi
Kas ir Code Llama 34B Instruct?
Code Llama 34B Instruct ir Meta izstrādāts modelis Kods kategorijā.
Cik maksā Code Llama 34B Instruct Railwail?
Railwail platformā Code Llama 34B Instruct maksā ≈ 0,0408 $ par palaidi. Jums tiek ņemta maksa par to, ko katra pieprasījuma izpilde faktiski izmanto. Izmantošana tiek apmaksāta no iepriekš nopirkto kredītu; 1 kredīts = 0,01 $.
Kāds ir Code Llama 34B Instruct konteksta logs?
Code Llama 34B Instruct konteksta logs satur 16 384 žetonus. Viena atbilde var būt līdz 4096 žetonu gara.
Cik ātrs ir Code Llama 34B Instruct?
Railwail platformā Code Llama 34B Instruct vēl nav pietiekami daudz izmērītu izpilžu, lai norādītu izpildes laiku. Tas ir atkarīgs no ievades, iestatījumiem un sniedzēja slodzes.
Vai Code Llama 34B Instruct ir labāks par Code Llama 13B Instruct?
Tas ir atkarīgs no uzdevuma. Code Llama 34B Instruct (Meta) un Code Llama 13B Instruct (Meta) ir abi modeļi Kods kategorijā. Salīdzināšanas lapā to cenas un specifikācijas ir parādītas blakus.
Salīdzināt Code Llama 34B Instruct un Code Llama 13B InstructSalīdzināmi modeļi
Visi šajā kategorijāMeta's 13B Code Llama tuned for instruction following. A faster mid-size option for code generation and completion, supporting infilling for inserting code at a cursor position. Served on Replicate per call.
≈ 0,0065 $/palaidi
84 % lētāk uz vienību
Salīdzināt Code Llama 34B Instruct un Code Llama 13B InstructMeta's largest Code Llama, a 70B Llama-2 derivative specialized for programming and tuned to follow instructions in chat form. Handles code generation, completion, and explanation across common languages. Served on Replicate as a per-call endpoint.
≈ 0,0504 $/palaidi
24 % dārgāk uz vienību
Salīdzināt Code Llama 34B Instruct un Code Llama 70B InstructMeta's smallest Code Llama at 7B parameters, tuned for instruction following. The cheapest and fastest member of the family for quick code generation, completion, and infilling. Served on Replicate per call.
Visi modeļi caur vienu API
Viena API atslēga visiem Railwail modeļiem. Izmantošana tiek aprēķināta no iepriekš apmaksātiem kredītiem, 1 kredīts = 0,01 $.