Downloads · 30 days
24
1% of all-time downloads
pauhidalgoo/cucafera-chat
cucafera-chat 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 (Chat Model), a Catalan Large Language Model (LLM) fine-tuned to follow multi-turn instructions and generate text in Catalan. Built upon the instruct model, it uses a multi-turn datase…
Downloads · 30 days
24
1% of all-time downloads
All-time downloads
1.8K
Public
Parameters
245M
5.9 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 (Chat Model), a Catalan Large Language Model (LLM) fine-tuned to follow multi-turn instructions and generate text in Catalan. Built upon the instruct model, it uses a multi-turn dataset to enhance it's conversational capabilities.
cucafera (Chat 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 chat version of cucafera has been fine-tuned on top of the instruct version of cucafera. It 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 chat data consists in the patufet-conversa dataset.
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 (Chat 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 chat model via huggingface's transformers library. Make sure to specify the ChatML format.
<|im_start|>user
Què és la intel·ligència artificial? <|im_end|>
<|im_start|>assistant', 'content': "Ets un assistent d'intel·ligència artificial que pot ajudar els usuaris amb problemes matemàtics, especialment amb equacions."}, {'role': 'user', 'content': "Hola! M'agradaria aprendre més sobre les equacions algebraiques. Pots explicar-me com funcionen?"}, {'role': 'assistant', 'content': "Hola! Les equacions algebraiques són una forma de resoldre problemes geomètrics complexos, on cada element té un valor definit. Per exemple, si tenim l'equació: (x + 1) / 2 = 10, el resultat serà 5 i el seu valor
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