
Mentors: Ajit Dingankar and Allen Baum
Company: Qualcomm Technologies, Inc.
- Develop prompts & context size for LLMs that identify architectural parameters in the RISC-V privileged and unprivileged spec.
a) Give examples from the manually created list (in UDB).
b) Identify with textual excerpt from the specs.
c) Classify the parameters as either dependent on a configuration, named or unnamed.
- Use those prompts to collect a list of parameters using at least two different LLMs and the parameters documented in UDB.
- Refine the prompts to address any differences between LLM and UDB results, as needed.
a) Filter out any hallucinations as negative examples, e.g. doesn’t fall into any of the 1(c) categories or falls into the wrong category (could be context size dependent).
b) Use some missing parameters as further prompt examples.
- Create a Github PR to insert tags into the spec for each parameter in the resulting list, giving unique names to unnamed parameters according to the tag format spec, and using existing parameter names as examples.
Repository URL: https://github.com/riscv-software-src/riscv-unified-db
Learning Objectives:
Open-source collaboration across RVI projects and groups listed below.
- Machine analysis and understanding of English specs.
- Prompt engineering for LLMs.
- Analysis (especially prevention of LLM hallucination) and presentation of results.
Coding Challenge:
To apply for this job please visit mentorship.lfx.linuxfoundation.org.