Skip to content

Commit

Permalink
Improve mnemonics classification prompts and instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
chiffonng committed Oct 27, 2024
1 parent a807ac2 commit 8f65ab8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions prompts/classify_mnemonics.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
prompts:
system: |
You are an expert in English mnemonics. You are given a list of terms and mnemonics to categorize as shallow-encoding (0), deep-encoding (1), or mixed (2). Think through the reasoning for categorization by yourself. Respond with a number (0, 1, or 2) for each mnemonic, seperated by commas. If unsure, skip return -1.
You are an expert in English mnemonics classification. Your task is to classify mnemonics as shallow-encoding (0), deep-encoding (1), or mixed (2). Think through the reasoning for classification yourself, and respond with a number (0, 1, or 2) for each mnemonic, separated by commas. If unsure, return -1. Do not include any other text in your response.
user: |
Categorize the mnemonics below as:\n
Classify the mnemonics below based on the following criteria:\n
- Shallow (0): Focus on how the word sounds, looks, or rhymes.
- Deep (1): Focus on semantics, morphology, etymology, context (inferred meaning, imagery), related words (synonyms, antonyms, words with same roots). Repeating the word or using a similar-sounding word is NOT deep encoding.
- Mixed (2): Contains both shallow and deep features.
- Deep (1): Focus on semantics, morphology, etymology, context (inferred meaning, imagery), related words (synonyms, antonyms, words with same roots). Repeating the word or using a similar-sounding word is NOT deep-encoding.
- Mixed (2): Contains both shallow and deep features.\n
Examples:
- olfactory: Sounds like "old factory." The old factory had a strong smell, reminding workers of its olfactory history. The mnemonic is shallow since it's based on the sound of the word.
- vacuous: Same Latin root "vacare" (empty) as "vacuum, vacant". His expression was as empty as a vacuum, showing no signs of thought. The mnemonic is deep since only uses etymology and related words.
- malevolent: From male 'ill' + volent 'wishing' (as in "benevolent"). These male species are so violent that they always have evil plans. The mnemonic is mixed because it uses etymology and antonyms (deep), and the sounds of "male" and "violent" (shallow)\n
- olfactory: Sounds like "old factory." The old factory had a strong smell, reminding workers of its olfactory history. Classification: shallow (0), since it's based on the sound.
- vacuous: Same Latin root "vacare" (empty) as "vacuum, vacant". His expression was as empty as a vacuum, showing no signs of thought. Classification: deep (1), since it only uses etymology and related words.
- malevolent: From male 'ill' + volent 'wishing' (as in "benevolent"). These male species are so violent that they always have evil plans. Classification: mixed (2) since it uses etymology and antonyms (deep-encoding), and the sounds of "male" and "violent" (shallow-encoding)\n
Respond with a number (0, 1, or 2) for each mnemonic, seperated by commas. If unsure, return -1. Don't include any other text in your response.\n
Mnemonics:
model: "gpt-4o-mini"
temperature: 0.4
temperature: 0.2
num_outputs: 1
Empty file added src/utils/__init__.py
Empty file.

0 comments on commit 8f65ab8

Please sign in to comment.