instructlab / taxonomy

Taxonomy tree that will allow you to create models tuned with your data
Apache License 2.0
179 stars 631 forks source link

Add Error Code classification inference abilities #1172

Closed pinikomarov closed 2 months ago

pinikomarov commented 3 months ago

Input given at the prompt

>>> in what coding lenguage is this error message  : fatal: [localhost] => all items failed FAILED - ret=1
stdout='' stderr='ModuleNotFoundError: no module named ansible_module_stdlib'

Response from the original model

The error message "fatal: [localhost] => all items failed FAILED - ret=1 stdout=''                      │
│ stderr='ModuleNotFoundError: no module named ansible_module_stdlib'" is in Python, which is the coding  language...

Response from the fine-tuned model


tbd```

**Contribution checklist**

<!-- Insert an x between the empty brackets: [ ] >> [x] -->

- [ X ] The contribution was tested with `lab generate`
- [ X ] No errors or warnings were produced by `lab generate`
- [X] All [commits are signed off](https://github.com/instruct-lab/taxonomy/blob/main/CONTRIBUTING.md#legal) (DCO)
- [X] The `qna.yaml` file contains at least 5 `seed_examples`
- [X] The `qna.yaml` file was [linted](https://yamllint.com) and [prettified](https://onlineyamltools.com/prettify-yaml) ([yaml-validator](https://jsonformatter.org/yaml-validator) can do both)

Signed-off-by: Pini Komarov <pinikoma@gmail.com>
instruct-lab-bot[bot] commented 3 months ago

Beep, boop 🤖, Hi, I'm @instructlab-bot and I'm going to help you with your pull request. Thanks for you contribution! 🎉

I support the following commands:

[!NOTE] Currently only maintainers belongs to [[taxonomy-triagers taxonomy-approvers taxonomy-maintainers labrador-org-maintainers instruct-lab-bot-maintainers]] teams are allowed to run these commands.

github-actions[bot] commented 3 months ago

This pull request has been automatically marked as stale because it has not had activity within 15 days. It will be automatically closed if no further activity occurs within 31 days.

github-actions[bot] commented 2 months ago

This pull request has been automatically closed due to inactivity.

pinikomarov commented 2 months ago

@jjasghar Hi how can I reopen this PR ?

jjasghar commented 2 months ago

This is more a knowledge submission then a skill for our upstream model.

I could see this working for a local training, but for our main upstream one there would be better ways to accomplish what you think you're trying to achieve.

pinikomarov commented 2 months ago

@jjasghar interesting , can you elaborate ? I think something like this can serve a purpose in a llm model

jjasghar commented 2 months ago

https://github.com/instructlab/taxonomy/blob/main/docs/KNOWLEDGE_GUIDE.md#what-is-knowledge --This will describe what knowledge is. The questions you ask aren't skills; it's more of a "reference," hence the knowledge submission.