Skip to content

Commit 8950343

Browse files
author
Anagha Jamthe
committed
code detection
1 parent 3c5451f commit 8950343

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tutorials/Tapis_FlexServ/01c-code-gen-flexserv.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# FlexServ API Prompt: YOLO Evaluation Script Generator
22

33
### Task Summary:
4-
To test the capabilities of the FlexServ inference server, we can provide a complex prompt to the Responses API. This prompt asks the AI to generate a complete Python evaluation script that performs Animal detection on the images from the LILA BC Small Animal dataset. This is a large camera-trap image dataset used for wildlife monitoring and ecological research. It contains millions of images captured by automated cameras, including small mammals and many blank triggers, along with annotations describing the detected species. For training object detection models such as YOLO, the dataset can be downloaded in YOLO format, where each image has a corresponding .txt label file containing normalized bounding-box coordinates in the form <class_id> <x_center> <y_center> <width> <height>.
4+
To test the capabilities of the FlexServ inference server, we can provide a complex prompt to the Responses API. This prompt asks the AI to generate a complete Python evaluation script that performs Animal detection on the images from the LILA BC Small Animal dataset. This is a large camera-trap image dataset used for wildlife monitoring and ecological research. It contains millions of images captured by automated cameras, including small mammals and many blank triggers, along with annotations describing the detected species. For training object detection models such as YOLO, the dataset can be downloaded in YOLO format, where each image has a corresponding .txt label file containing bounding-box coordinates in the form <class_id> <x_center> <y_center> <width> <height>.
55

66
---
77

@@ -60,19 +60,18 @@ After the code, briefly explain how the program works in plain English.
6060
![Paste Prompt](/tutorials/images/Paste_Prompt.png)
6161

6262
- Change the `temperature` to a value `0.0` for a deterministic solution.
63-
- Select the model to Run
63+
- Select the model to run
6464
- `Qwen/Qwen2.5-Coder32B-Instruct-61.0 GB - Text Generation`
6565
- Make sure the `Streams` is checked.
6666
- Uncheck `Multi-turn conversation`
67-
- Click `Run`. In few minutes you should see the code generation starts in the blue box in Responses API. Wait for it to complete.
68-
After completion you should see a similar output.
67+
- Click `Run`. Within a few minutes, you should see the code generation start in the blue box in the Responses API. Wait for it to complete. After completion, you should see output similar to the image below.
6968

7069
![Code](/tutorials/images/Code.png)
7170

7271

73-
### On Jupyter :
72+
### On Jupyter:
7473

75-
Go to the notebook Code-Detection on your Jupyter path
74+
Go to the notebook Code-Detection on your Jupyter path.
7675
`ai-tutorial-2026 -> notebooks -> Code-Detection.ipynb`
7776

7877
Copy the generated code from FlexServ UI in a new cell below the cell titled `Put your generated code here`.

0 commit comments

Comments
 (0)