Tools · Computational Biology
Evo 2
On this page
Prices, workflows, and method papersOpen in the app
Run it from the API
Submit with Submit a job and the job_type below. Price it first with Estimate job reservation cost: submitting reserves that amount from your wallet, and the charge settles at the actual runtime.
Evo 2 evo2
- Job type
evo2- Hardware
l4a10(default)l40sa100-40gba100-80gbh100h200b200- Typical runtime
- 1 h on Nvidia A10
Payload
| Field | Type | Description |
|---|---|---|
taskrequired | string | One of: |
model_name | string | Default: |
input_mode | string | Default: |
sequences[] | string[] | Limits: |
fasta_content | string | Limits: |
pdb_content | string | Limits: |
pdb_id | string | Limits: |
pdb_chain_ids[] | string[] | |
csv_content | string | Limits: |
excel_content | string | Limits: |
sequence_column | string | Limits: |
expected_sequence_count | integer | Optional billing/runtime reservation hint. May raise the inferred sequence count for structure/Excel inputs, but cannot understate counts inferred from sequence/FASTA/CSV inputs. Limits: |
generate_args | object | |
generate_args.n_tokens | integer | Limits: |
generate_args.n_sequences | integer | Limits: |
generate_args.temperature | number | Limits: |
generate_args.top_k | integer | Limits: |
generate_args.top_p | number | Limits: |
generate_args.batched | boolean | |
generate_args.cached_generation | boolean | |
generate_args.verbose | integer | Limits: |
generate_args.force_prompt_threshold | integer | null | Limits: |
generate_args.use_kernels | boolean | |
embedding_args | object | |
embedding_args.layer_names[]required | string[] | Limits: |
score_args | object | |
score_args.batch_size | integer | Limits: |
score_args.prepend_bos | boolean | |
score_args.reduce_method | string | One of: |
score_args.average_reverse_complement | boolean |
Example
from cognichem_client import CogniChem
client = CogniChem.from_env() # reads COGNICHEM_API_KEY
payload = {
"input_mode": "sequence",
"sequences": ["ACGT"],
"task": "score",
"model_name": "evo2_7b",
}
estimate = client.jobs.estimate(job_type="evo2", payload=payload, resource="a10")
print(f"Reserves ${estimate.cost:.2f}")
job = client.jobs.submit(
job_name="my-evo2-run",
job_type="evo2",
payload=payload,
resource="a10",
)
status = client.jobs.wait(job.process_id)
if status.status == "completed":
client.jobs.result(job.process_id, save_path=".")curl -X POST "https://api.cognichem.com/api/v1/jobs/submit" \
-H "X-Api-Key: $COGNICHEM_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"job_name": "my-evo2-run",
"job_type": "evo2",
"payload": {
"input_mode": "sequence",
"sequences": [
"ACGT"
],
"task": "score",
"model_name": "evo2_7b"
},
"resource": "a10"
}'{
"input_mode": "sequence",
"sequences": [
"ACGT"
],
"task": "score",
"model_name": "evo2_7b"
}Sample data from the job catalog; long values are shortened here. Each job_name must be unique among your jobs.
Workflow inputs
None
Workflow outputs
- ArchiveZIP
- TableCSV
- SequencesFASTA