Skip to content

Commit a5f8a2b

Browse files
authored
Merge pull request #129 from Siyuexi/main
Update README of DivLog
2 parents db27223 + 6e2aa7a commit a5f8a2b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

logparser/DivLog/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ rm -r results
3535

3636
#### Attention:
3737

38-
OpenAI has [shut down](https://platform.openai.com/docs/deprecations/2023-07-06-gpt-and-embeddings) the *Text Completion API* for the GPT-3 model series (`ada`,`babbage`,`curie`,`davinci`) as of January 4th, 2024. If you wish to apply the DivLog framework on other OpenAI *Chat Completion APIs* and re-run all the results, you may need to modify the API request in `BatchParse` of `DivLog.py`. Specifically, you need to replace the original API request design for GPT-3 models with the latest Chat Completion API:
38+
OpenAI has [shut down](https://platform.openai.com/docs/deprecations/2023-07-06-gpt-and-embeddings) the *Text Completion API* for the GPT-3 model series (`ada`,`babbage`,`curie`,`davinci`) as of January 4th, 2024. We recommend you to use other *base models* (rather than *instruct models*) for replication of DivLog since the instruction alignment may affect the ICL capability. In addition, if you wish to use DivLog as a baseline for log parsing comparison, we suggest to use the *same* model as your own method since DivLog framework is *decoupled* with the model backbone.
39+
40+
However, if you wish to apply the DivLog framework on other OpenAI *Chat Completion APIs* (which are instruct models) and re-run all the results, you may need to modify the API request in `BatchParse` of `DivLog.py`. Specifically, you need to replace the original API request design for GPT-3 models with the latest Chat Completion API:
3941

4042
```python
4143
### Replace it
@@ -48,7 +50,6 @@ response = openai.Completion.create(
4850

4951
More details about APIs can be found [here](https://platform.openai.com/docs/api-reference/chat).
5052

51-
5253
### Benchmark
5354

5455
Running the benchmark script on Loghub_2k datasets, you could obtain the following results.

0 commit comments

Comments
 (0)