Modelo Fine-Tuned com LoRA: BGE-m3 Tuned para Legislação

Este modelo é uma versão ajustada do modelo base BAAI/bge-m3 utilizando LoRA (Low-Rank Adaptation), fine-tuned para tarefas relacionadas a legislação.


Instalação

Antes de começar, certifique-se de instalar a biblioteca PEFT, necessária para carregar o modelo com LoRA:

pip install peft

Carregando o Modelo

Para utilizar o modelo fine-tuned, siga as instruções abaixo:

from transformers import AutoModelForCausalLM, AutoTokenizer

peft_model_id = "arturmatos/bge-m3-legis"

model = AutoModelForCausalLM.from_pretrained(peft_model_id)
Downloads last month
9
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API: The model has no library tag.

Model tree for arturmatos/bge-m3-legis

Base model

BAAI/bge-m3
Finetuned
(220)
this model