-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcurl-request.sh
executable file
·46 lines (44 loc) · 1.54 KB
/
curl-request.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
access_token=$(cat access_token.txt)
curl -X POST "https://data-portal-dev.cels.anl.gov/resource_server/sophia/vllm/v1/chat/completions" \
-H "Authorization: Bearer ${access_token}" \
-H "Content-Type: application/json" \
-d '{
"model": "mistralai/Mistral-7B-Instruct-v0.3",
"temperature": 0.2,
"max_tokens": 150,
"messages": [
{
"role": "user",
"content": "List all proteins that interact with RAD51"
}
]
}'
curl -X POST "https://data-portal-dev.cels.anl.gov/resource_server/sophia/vllm/v1/chat/completions" \
-H "Authorization: Bearer ${access_token}" \
-H "Content-Type: application/json" \
-d '{
"model": "meta-llama/Meta-Llama-3-8B-Instruct",
"temperature": 0.2,
"max_tokens": 150,
"messages": [
{
"role": "user",
"content": "List all proteins that interact with RAD51"
}
]
}'
curl -X POST "https://data-portal-dev.cels.anl.gov/resource_server/sophia/vllm/v1/chat/completions" \
-H "Authorization: Bearer ${access_token}" \
-H "Content-Type: application/json" \
-d '{
"model": "meta-llama/Meta-Llama-3-70B-Instruct",
"temperature": 0.2,
"max_tokens": 150,
"messages": [
{
"role": "user",
"content": "List all proteins that interact with RAD51"
}
]
}'