Skip to content

Commit

Permalink
New skill: Rewrite complex texts (#852)
Browse files Browse the repository at this point in the history
If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your
PR.


**Describe the contribution to the taxonomy**

<Added compositional skill: Rewrite complex texts in an easier way>

- Understands a complex text and rewrites it in an easier way
- Context is the given complex text
- Useful for normal people to understand complicated topics 



**Input given at the prompt**

<!-- What you entered, replace "..." -->

```
   ...
```


**Response from the original model**


<!-- What you received from the original model in response to your
input,
replace "..." -->

```
  ...
```


**Response from the fine-tuned model**


<!-- Generate a synthetic dataset based on your newly added seed data;
train the model
with the synthetic data and now re-test the model's response with the
same prompt.
Replace "..." with what you receive with the finetuned model. -->

```
  ...
```

**Contribution checklist**

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

- [] The contribution was tested with `ilab generate`
- [] No errors or warnings were produced by `ilab generate`
- [x] All [commits are signed
off](https://github.com/instructlab/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)
- [x] An `attribution.txt` file in the same folder as the `qna.yaml`
file
- [x] Content does not include PII or otherwise sensitive or
confidential information
- [x] Content does not include anything documented in the project's
[Avoid these
Topics](https://github.com/instructlab/taxonomy/blob/main/docs/SKILLS_GUIDE.md#avoid-these-topics)
guidelines

---------

Signed-off-by: aliciaibm <[email protected]>
  • Loading branch information
aliciaibm authored Sep 9, 2024
1 parent a703c47 commit a20b659
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Title of work: Rewrite complex texts in an easier way
Link to work: -
License of the work: CC-BY-SA-4.0
Creator names: Alicia Jiménez Avilés
32 changes: 32 additions & 0 deletions compositional_skills/writing/grounded/editing/content/qna.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
created_by: aliciaibm

Check failure on line 1 in compositional_skills/writing/grounded/editing/content/qna.yaml

View workflow job for this annotation

GitHub Actions / yamllint

1:1 [.] 'version' is a required property
seed_examples:
- answer: 'Scientists are studying how our genes and the world around us affect our
health.'
context: 'The elucidation of the intricate interplay between genetic
predisposition and environmental factors remains a focal point of
contemporary biomedical research.'
question: Could you rewrite this text in a simpler way?
- answer: 'Technology is growing fast, and now we use digital tools to talk and
connect in new ways.'
context: 'The exponential growth of technological innovation has led to the
proliferation of digital platforms, fundamentally transforming the way we
communicate and interact.'
question: Rewrite the text in an easier way
- answer: 'Scientists have been figuring out how tiny particles act using quantum
mechanics, a big idea in physics.'
context: 'The elucidation of the implications of quantum mechanics for the
behavior of subatomic particles has been a cornerstone of modern physics.'
question: Could you give me the text rewritten for beter understanding?
- answer: 'It is hard for policymakers and bioethicists to make rules for new
biotechnologies that everyone agrees are fair.'
context: 'The articulation of ethical frameworks for the regulation of emerging
biotechnologies presents a significant challenge for policymakers and
bioethicists alike.'
question: Could you tell me in a simple way what the text is saying?
- answer: 'We need ideas from lots of different fields to solve big problems and
come up with new stuff.'
context: 'The synthesis of diverse perspectives from interdisciplinary fields is
crucial for fostering innovation and addressing complex societal
challenges.'
question: Rewrite the text in order to I understand better
task_description: 'Rewrite complex texts in an easier way'

0 comments on commit a20b659

Please sign in to comment.