google / oss-fuzz-gen

LLM powered fuzzing via OSS-Fuzz.
Apache License 2.0
841 stars 98 forks source link

Update the `super` method within GPT, update README and USAGE file #557

Closed MarkLee131 closed 1 month ago

MarkLee131 commented 1 month ago

Based on https://github.com/google/oss-fuzz-gen/pull/545, in which we add support for Azure's GPT model, we updated the logic of _get_tiktoken_encoding according to @mihaimaruseac 's advice (https://github.com/google/oss-fuzz-gen/pull/545#discussion_r1723731712).

Specifically, we have updated

  1. models.py: Updated _get_tiktoken_encoding in the GPT and AzureGPT classes, to reuse it in AzureGPT by calling super method.
  2. README.md: showed our support for Azure GPT models.
  3. USAGE.md: Updated environment settings and model usage for Azure GPT models.
MarkLee131 commented 1 month ago

@mihaimaruseac I have finished the update that required in https://github.com/google/oss-fuzz-gen/pull/545. :)

mihaimaruseac commented 1 month ago

/gcbrun exp -n my

mihaimaruseac commented 1 month ago

/gcbrun exp -n mm