Spaces:
Running
Running
misc.
Browse files- .gitignore +2 -1
- .vscode/launch.json +18 -0
- README.md +1 -1
- eval_models_list.txt +2 -1
- streamlit_app_local/2025jun_payload_to_openai.json +29 -0
.gitignore
CHANGED
|
@@ -7,4 +7,5 @@
|
|
| 7 |
!**/user_submit/llm/
|
| 8 |
!**/user_submit/rag/
|
| 9 |
!**/user_submit/mt/
|
| 10 |
-
!**/user_submit/12-02-14:29:30/
|
|
|
|
|
|
| 7 |
!**/user_submit/llm/
|
| 8 |
!**/user_submit/rag/
|
| 9 |
!**/user_submit/mt/
|
| 10 |
+
!**/user_submit/12-02-14:29:30/
|
| 11 |
+
rslora_es_ja_dpo_results.txt
|
.vscode/launch.json
CHANGED
|
@@ -10,6 +10,24 @@
|
|
| 10 |
"request": "launch",
|
| 11 |
"program": "${file}",
|
| 12 |
"console": "integratedTerminal"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
}
|
| 14 |
]
|
| 15 |
}
|
|
|
|
| 10 |
"request": "launch",
|
| 11 |
"program": "${file}",
|
| 12 |
"console": "integratedTerminal"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"name": "VA",
|
| 16 |
+
"type": "debugpy",
|
| 17 |
+
"request": "launch",
|
| 18 |
+
"cwd": "${workspaceFolder}/varco_arena/",
|
| 19 |
+
"program": "main.py",
|
| 20 |
+
"console": "integratedTerminal",
|
| 21 |
+
"args": [
|
| 22 |
+
"-i",
|
| 23 |
+
"rsc/inputs_for_dbg/dbg_trans_inputs/",
|
| 24 |
+
"-o",
|
| 25 |
+
"SOME_FOLDER1",
|
| 26 |
+
"-e",
|
| 27 |
+
"o4-mini",
|
| 28 |
+
"-p",
|
| 29 |
+
"translation_new"
|
| 30 |
+
]
|
| 31 |
}
|
| 32 |
]
|
| 33 |
}
|
README.md
CHANGED
|
@@ -42,7 +42,7 @@ python main.py -i "./some/dirpath/to/jsonl/files" -o SOME_REL_PATH_TO_CREATE -e
|
|
| 42 |
|
| 43 |
# dbg lines
|
| 44 |
## openai api judge dbg
|
| 45 |
-
python main.py -i "rsc/inputs_for_dbg/dbg_400_error_inputs/" -o SOME_WANTED_TARGET_DIR -e
|
| 46 |
## other testing lines
|
| 47 |
python main.py -i "rsc/inputs_for_dbg/[SOME_DIRECTORY]/" -o SOME_WANTED_TARGET_DIR -e gpt-4o-mini
|
| 48 |
## dummy judge dbg (checking errors without api requests)
|
|
|
|
| 42 |
|
| 43 |
# dbg lines
|
| 44 |
## openai api judge dbg
|
| 45 |
+
python main.py -i "rsc/inputs_for_dbg/dbg_400_error_inputs/" -o SOME_WANTED_TARGET_DIR -e o4-mini
|
| 46 |
## other testing lines
|
| 47 |
python main.py -i "rsc/inputs_for_dbg/[SOME_DIRECTORY]/" -o SOME_WANTED_TARGET_DIR -e gpt-4o-mini
|
| 48 |
## dummy judge dbg (checking errors without api requests)
|
eval_models_list.txt
CHANGED
|
@@ -2,4 +2,5 @@ gpt-4o-mini
|
|
| 2 |
gpt-4o-2024-05-13
|
| 3 |
gpt-4o-2024-08-06
|
| 4 |
gpt-4.1
|
| 5 |
-
gpt-4.1-mini
|
|
|
|
|
|
| 2 |
gpt-4o-2024-05-13
|
| 3 |
gpt-4o-2024-08-06
|
| 4 |
gpt-4.1
|
| 5 |
+
gpt-4.1-mini
|
| 6 |
+
o4-mini
|
streamlit_app_local/2025jun_payload_to_openai.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
curl https://api.openai.com/v1/chat/completions \
|
| 2 |
+
-H "Content-Type: application/json" \
|
| 3 |
+
-H "Authorization: Bearer $OPENAI_API_KEY" \
|
| 4 |
+
-d '{
|
| 5 |
+
"model": "o4-mini",
|
| 6 |
+
"messages": [
|
| 7 |
+
{
|
| 8 |
+
"role": "developer",
|
| 9 |
+
"content": [
|
| 10 |
+
{
|
| 11 |
+
"type": "text",
|
| 12 |
+
"text": "system message here"
|
| 13 |
+
}
|
| 14 |
+
]
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"role": "user",
|
| 18 |
+
"content": [
|
| 19 |
+
{
|
| 20 |
+
"type": "text",
|
| 21 |
+
"text": "user message here"
|
| 22 |
+
}
|
| 23 |
+
]
|
| 24 |
+
}
|
| 25 |
+
],
|
| 26 |
+
"response_format": {
|
| 27 |
+
"type": "text"
|
| 28 |
+
}
|
| 29 |
+
}'
|