Downloads · 30 days
136
8% of all-time downloads
pauhidalgoo/cucafera-instruct
cucafera-instruct is a text generation model from pauhidalgoo. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This document describes cucafera (Instruct Model), a Catalan Large Language Model (LLM) fine-tuned to follow instructions and generate text in Catalan. Built upon the base model, it leverages high-quality Catalan data…
Downloads · 30 days
136
8% of all-time downloads
All-time downloads
1.7K
Public
Parameters
245M
14.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors980 MB · 100%
From the Hugging Face model README
This document describes cucafera (Instruct Model), a Catalan Large Language Model (LLM) fine-tuned to follow instructions and generate text in Catalan. Built upon the base model, it leverages high-quality Catalan datasets and is optimized for instruction following tasks.
cucafera (Instruct Model) is a 244-million parameter transformer-based language model inspired by the LLAMA architecture (notably LLAMA3). Despite its relatively small size compared to many contemporary models, it is optimized for generating coherent and contextually relevant text in Catalan.
The instruct version of cucafera has been fine-tuned on a variety of instruction datasets to enhance its ability to follow user prompts. The fine-tuning was performed using Hugging Face's SFTTrainer and follows the ChatML format for conversation, for example:
<|im_start|>user Fes un poema <|im_end|> <|im_start|>assistant
The base model was pre-trained using the patufet-pretrain dataset.
The fine-tuning data utilized a mix of instruction datasets from the patufet collection.
The model was fine-tuned with the following setup:
Different commits represent different fine-tunning procedures: we experimented with different data mixes, epochs, datasets...
The cucafera (Instruct Model) is designed for:
However, due to its limited size, it is not able to provide correct factual information and you must be aware of this fact when using this model.
You can use the instruct model via huggingface's transformers library. Make sure to specify the ChatML format.
This model was developed as an experimental project, inspired by Karpathy's NanoGPT Series. My colleague Roger Baiges also trained his own CatGPT.
For more details, updates, or to contribute to the project, please visit the GitHub repository