const lead_announcement = `
I’m thrilled to share that I’ll be leading Asturian and Aragonese in the Multilingual FineWeb collaborative annotation sprint! 🤗
I’ll be helping to build an open dataset to improve language models for our language. Do you want to join me?
`
const recruit_collaborators = `Do you want to improve the quality of language models in Asturian and Aragonese?
Join me in this collaborative annotation sprint! No experience needed - simply follow the link to start annotating!
`
const recruit_leads = `I’m thrilled to share that I’ll be leading Asturian and Aragonese in the Multilingual FineWeb collaborative annotation sprint! 🤗
Would you like to lead the efforts in your own language? Check if it’s still listed!
`
function createCard(title, text, url, image_src, image_url) {
let url_text = text.replaceAll('', '').replaceAll('
', '%0A%0A')
var text_block = (url) ? `${text}${url}
` : `${text}`
var image_button = (image_url) ? `` : ``
let template = `
${title}
${text_block}
`
return template;
}
function addCardToContainer(title, text, url, image_src, image_url) {
const cardContainer = document.getElementById('card-container');
const cardHTML = createCard(title, text, url, image_src, image_url);
cardContainer.innerHTML += cardHTML;
}
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");
addCardToContainer("Recuit collaborators for your language", recruit_collaborators, 'https://huggingface.co/spaces/data-is-better-together/demo-argilla-space', "images/recruit_collaborators.png", "https://docs.google.com/presentation/d/1Mouh1HpmJYPZFJ-99y9bRZyeb2lLqD2KB3btnXwVJyU/edit#slide=id.p");
addCardToContainer("Recuit leads for other languages", recruit_leads, 'https://nataliaelv-language-leads-dashboard.hf.space/', "images/recruit_leads.png", null);