LAION-AI / LAION-AI/Open-Assistant
Dataset: 100k c++ function annotations
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 37.4k
- Forks
- 3.3k
- PR merge metrics
- No merged PRs in 30d
Description
Brendan Dolan-Gavitt shared a dataset of 100K c++ functions with annotations and tags generated by GPT-3.5 turbo.
https://twitter.com/moyix/status/1644355889602654210
For example:
int gg_set_focus_pos(gg_widget_t *widget, int x, int y) {
return 1;
}
Q. What language is the above code written in?
A. C/C++.
Q. What is the purpose of the above code?
A.
This code defines a function called `gg_set_focus_pos` that takes a pointer to a `gg_widget_t` structure and two integer
arguments `x` and `y`. The function returns an integer value of 1. The purpose of this function is not clear from this code
snippet alone, as it does not contain any implementation details. However, based on the function name and arguments, it is
likely that this function sets the focus position of a graphical user interface (GUI) widget to the specified `x` and `y`
coordinates.
Tags: GUI, widget, focus, position, function.
I've generated an INSTRUCTION RESPONSE dataset with some prompt variety and uploaded it to HuggingFace. Hopefully, this would improve OA's code understanding/generation.
The processed dataset can be found here: https://huggingface.co/datasets/casey-martin/oa_cpp_annotate
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the linked Hugging Face dataset and the example annotations to understand the proposed resource. The issue does not identify an Open Assistant file, entry point, test, or concrete integration target, so completion criteria would need to be defined before implementation can begin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, huggingface
- Domain
- data, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100