nataliaElv HF staff commited on
Commit
11afdfe
1 Parent(s): f0a5499

Update texts and links

Browse files
Files changed (2) hide show
  1. index.html +9 -7
  2. script.js +9 -7
index.html CHANGED
@@ -9,13 +9,15 @@
9
  <script src="script.js" defer></script>
10
  </head>
11
  <body>
12
- <h1>Communications pack for Language Leads</h1>
13
- <p style="text-align: center;"><b>Thank you for becoming a Language Lead for this community annotation sprint with Hugging Face!🤗</b></p>
14
- <p>In this page, you will find a communications pack with examples of posts and images that you can use to share about your participation in this annotation sprint. Feel free to adapt all texts and images so that they appeal to communities of speakers in the language(s) you’re leading!</p>
15
- <p>Here are some tips for better engagement:</p>
16
- <p>1️⃣ Translate all texts and images to your target language.</p>
17
- <p>2️⃣ Add an image to your post to make it more eye-catching. Try the ones below!</p>
18
- <p>3️⃣ Share it with coworkers, family, friends and on any social network or channels of your choosing.</p>
 
 
19
  <p>If you have any questions, find Natalia in our <a href="https://huggingface.co/spaces/HuggingFaceFW/discussion" target="_blank">Rocket Chat</a> or send her an email (natalia.elvira@huggingface.co).</p>
20
  <div id="card-container"></div>
21
  </body>
 
9
  <script src="script.js" defer></script>
10
  </head>
11
  <body>
12
+ <h1>Communications Guide: Multilingual FineWeb2 collaborative annotation sprint</h1>
13
+ <p style="text-align: center;"><b>Thank you for joining this community annotation sprint with Hugging Face!🤗</b></p>
14
+ <p>In this page, you will find a communications pack with examples of posts and images to share about your participation in this annotation sprint. Feel free to adapt the content so that it appeals to communities of speakers in the language(s) you’re leading!
15
+ </p>
16
+ <p>How to do it?</p>
17
+ <p>⭐ Choose between the images below</p>
18
+ <p>⭐ Optional: some images can be edited or translated to your language by clicking on “Edit this image”</p>
19
+ <p>⭐ Don’t forget to add the image to your post</p>
20
+ <p>⭐ Share it directly on your favorite social media platform with coworkers, family, friends… </p>
21
  <p>If you have any questions, find Natalia in our <a href="https://huggingface.co/spaces/HuggingFaceFW/discussion" target="_blank">Rocket Chat</a> or send her an email (natalia.elvira@huggingface.co).</p>
22
  <div id="card-container"></div>
23
  </body>
script.js CHANGED
@@ -3,12 +3,14 @@ const lead_announcement = `<p>I’m thrilled to share that I’ll be leading [la
3
  const recruit_collaborators = `<p>Do you want to improve the quality of language models in [language]?</p><p>Join me in this collaborative annotation sprint! No experience needed - simply follow the link to start annotating!</p>`
4
  const call_contributors_generic = `<p>Do you want to improve the quality of language models in your language?</p><p>Join me in this collaborative annotation sprint! No experience needed - simply follow the link to start annotating!</p>`
5
  const recruit_leads = `<p>I’m thrilled to share that I’ll be leading [language] in the Multilingual FineWeb collaborative annotation sprint! 🤗</p><p>Would you like to lead the efforts in your own language? Check if it’s still listed!</p>`
 
 
6
 
7
- function createCard(title, text, url, image_src, image_url) {
8
  let url_text = text.replaceAll('<p>', '').replaceAll('</p>', '%0A%0A')
9
  var text_block = (url) ? `${text}<p>${url}</p>` : `${text}`
10
  var image_button = (image_url) ? `<a href="${image_url}" target="_blank"><button class="button-4" role="button">Edit this image</button></a>` : `<a href="${image_src}" download><button class="button-4" role="button">Download this image</button></a>`
11
-
12
  let template = `
13
  <div class="card">
14
  <h2>${title}</h2>
@@ -33,8 +35,8 @@ function addCardToContainer(title, text, url, image_src, image_url) {
33
  cardContainer.innerHTML += cardHTML;
34
  }
35
 
36
- addCardToContainer("Announce you've been selected to be a lead!", lead_announcement, "https://huggingfacefw-discussion.hf.space/", "images/lead_announcement.png", "https://docs.google.com/presentation/d/1CA4xLLf6rpUlDBym0SORrJZskNDKiBc51tngZkyGDXU/edit#slide=id.p");
37
- addCardToContainer("Call for people to contribute to the effort, no matter the language!", call_contributors_generic, "https://data-is-better-together-fineweb-c.hf.space/", "images/call_contributors_generic.png", null);
38
- addCardToContainer("Call for collaborators for your language (edit this and translate it for your language, see examples below)", recruit_collaborators, 'https://data-is-better-together-fineweb-c.hf.space/', "images/call_contributors_template.png", "https://docs.google.com/presentation/d/1Mouh1HpmJYPZFJ-99y9bRZyeb2lLqD2KB3btnXwVJyU/edit#slide=id.p");
39
- addCardToContainer("Example: Call for collaborators in Spanish (ready to publish if you want)", recruit_collaborators, 'https://data-is-better-together-fineweb-c.hf.space/', "images/call_contributors_spanish.png", null);
40
- addCardToContainer("Example: Call for collaborators in French (ready to publish if you want)", recruit_collaborators, 'https://data-is-better-together-fineweb-c.hf.space/', "images/call_contributors_french.png", null);
 
3
  const recruit_collaborators = `<p>Do you want to improve the quality of language models in [language]?</p><p>Join me in this collaborative annotation sprint! No experience needed - simply follow the link to start annotating!</p>`
4
  const call_contributors_generic = `<p>Do you want to improve the quality of language models in your language?</p><p>Join me in this collaborative annotation sprint! No experience needed - simply follow the link to start annotating!</p>`
5
  const recruit_leads = `<p>I’m thrilled to share that I’ll be leading [language] in the Multilingual FineWeb collaborative annotation sprint! 🤗</p><p>Would you like to lead the efforts in your own language? Check if it’s still listed!</p>`
6
+ const recruit_collaborators_es = `<p>¿Quieres mejorar la calidad de los modelos de lenguaje en español?</p><p>¡Únete a nosotros en esta campaña colaborativa de anotación! No se necesita experiencia - simplemente sigue el enlace para empezar a anotar</p>`
7
+ const recruit_collaborators_fr = `<p>Vous aimeriez améliorer la qualité des modèles de langage en Français?</p><p>Rejoignez-moi dans ce sprint d'annotation collaborative ! Aucune expérience n'est nécessaire - il suffit de suivre le lien pour commencer à annoter!</p>`
8
 
9
+ function createCard(title, text, url, image_src, image_url, language) {
10
  let url_text = text.replaceAll('<p>', '').replaceAll('</p>', '%0A%0A')
11
  var text_block = (url) ? `${text}<p>${url}</p>` : `${text}`
12
  var image_button = (image_url) ? `<a href="${image_url}" target="_blank"><button class="button-4" role="button">Edit this image</button></a>` : `<a href="${image_src}" download><button class="button-4" role="button">Download this image</button></a>`
13
+
14
  let template = `
15
  <div class="card">
16
  <h2>${title}</h2>
 
35
  cardContainer.innerHTML += cardHTML;
36
  }
37
 
38
+ addCardToContainer("Announce you've been selected to be a lead!", lead_announcement, "https://huggingface.co/spaces/HuggingFaceFW/discussion", "images/lead_announcement.png", "https://docs.google.com/presentation/d/1CA4xLLf6rpUlDBym0SORrJZskNDKiBc51tngZkyGDXU/edit#slide=id.p");
39
+ addCardToContainer("Call for people to contribute to the effort, no matter the language!", call_contributors_generic, "https://huggingface.co/spaces/data-is-better-together/fineweb-c", "images/call_contributors_generic.png", null);
40
+ addCardToContainer("Call for collaborators for your language (edit this and translate it for your language, see examples below)", recruit_collaborators, 'https://huggingface.co/spaces/data-is-better-together/fineweb-c', "images/call_contributors_template.png", "https://docs.google.com/presentation/d/1Mouh1HpmJYPZFJ-99y9bRZyeb2lLqD2KB3btnXwVJyU/edit#slide=id.p");
41
+ addCardToContainer("Example: Call for collaborators in Spanish (ready to publish if you want)", recruit_collaborators_es, 'https://huggingface.co/spaces/data-is-better-together/fineweb-c', "images/call_contributors_spanish.png", null);
42
+ addCardToContainer("Example: Call for collaborators in French (ready to publish if you want)", recruit_collaborators_fr, 'https://huggingface.co/spaces/data-is-better-together/fineweb-c', "images/call_contributors_french.png", null);