Downloads · 30 days
9
35% of all-time downloads
andre156/italian-laws-topic-extraction
italian-laws-topic-extraction is a text generation model from andre156. Use it when you need the model to write or continue text. It is set up for peft. The card lists the license as apache-2.0.
A Mistral-7B-instruct-v0.1 model to extract the topics from a text of Italian law articles (titles). It is fine-tuned over a set of 74k high quality law title-topics pairs, which were initially obtained from the appli…
Downloads · 30 days
9
35% of all-time downloads
All-time downloads
26
Public
Repo size
327 MB
Likes
0
Public
Click a slice to open those files.
.pt218 MB · 66%
From the Hugging Face model README
A Mistral-7B-instruct-v0.1 model to extract the topics from a text of Italian law articles (titles). It is fine-tuned over a set of 74k high quality law title-topics pairs, which were initially obtained from the application of a larger model (Mixtral8x22) and then pre-processed to increase the quality of the training set by means of heuristics that aggregate slighlty different topics and allow the fine-tuned model to achieve an higher diversity
The model has been trained for 100 training steps with batch size 4, 4-bit quantization using bitsandbytes and a LoRA rank of 64. We use the paged Adam optimizer, a learning rate of 0.004, and a cosine learning rate scheduler with a 0.03 warm-up fraction.
The best model reported an evaluation loss of 0.61