Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

French translation of priming_prompt.md #1119

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hchiam
Copy link
Contributor

@hchiam hchiam commented Feb 3, 2024

the current iteration of my prompt i used for #1112:

Translate the following English text in markdown format (surrounded by dashes) into French text in markdown format. Do not translate "Prompt Engineering" or "PE" or "prompting", just leave those words in English, but otherwise translate the rest of the text. For example, "Prompt Engineering Strategies" should be translated as "Stratégies de Prompt Engineering", and "PE strategies" should be translated as "Stratégies de PE". Also do not translate special syntax like ":::takeaways" or ":::caution".

-----start of English markdown:-----

...

-----End of English markdown-----

-----French:-----

the translation process was a little less automatic this time, because i noticed a few things while reviewing chatgpt's output: (i used vscode diffing to help visually scan for anomalies)

  1. french usually uses sentence case for headings, so i had to manually fix that this time --> addressed in a later iteration of my prompt in French translation for learn_prompting_method.md #1123
  2. changed "retours structurés" to "commentaires structurés" for clarity / reduce ambiguity of the reading --> addressed in a later iteration of my prompt in French translation for learn_prompting_method.md #1123
  3. i double-checked the output of the pirate prompts by seeing what kinds of things show up in the actual outputs of the french version of the input prompts - it seems french pirate mostly chooses different ways to phrase things that reference pirates, and uses "Ahoy" and "Arrr", but doesn't do grammar changes like english pirate does like "me" instead of "my", or "I be", and no word rewritings like "o'", "speakin'", "'tis", etc.
  4. i had to manually translate the placeholder [field] to [champ]
  5. manually added ("inception prompts") after "prompts d'initiation" so the english term is shown for better discoverability
  6. changed "Instructions de cas spécial" (singular case) to "Instructions pour les cas particuliers" (plural case and feels more idiomatic)
  7. changed "et répondre" to "et y répondre" because of context
  8. "l'équation n'a aucune racine réelle" - technically, french treats 0 differently from english:
    • english: 0 roots, 1 root, 2+ roots (plural is just not 1, so 0 gets an "s")
    • french: 0 racine, 1 racine, 2+ racines (plural is only if more than 1)
  9. removed a ↩ symbol that chatgpt randomly added to the end of the reference footnote

I enforced the markdown formatting in a later iteration of my prompt: #1124

Copy link

vercel bot commented Feb 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
learn-prompting ❌ Failed (Inspect) Feb 3, 2024 3:35am


Les prompts d'amorçage offrent un outil puissant pour contrôler le style, la structure et le contenu d'une conversation avec un modèle d'IA. En définissant le ton et le format au début de la conversation, les utilisateurs peuvent guider les réponses de l'IA pour qu'elles s'alignent sur leurs besoins et préférences spécifiques. Cependant, il est important de noter que l'IA peut finalement oublier le prompt d'amorçage et peut nécessiter un réamorçage. Nous apprendrons pourquoi cela se produit dans la prochaine leçon.

Partiellement écrit par [Dastardi](https://twitter.com/lukescurrier)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it makes sense to leave this here ("Partially written by Dastardi")

Copy link
Contributor Author

@hchiam hchiam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant