A question answering model about the Dutch Government.
Model description
This model is a fine-tuned version of the Dutch conversational model BramVanroy/GEITje-7B-ULTRA on a Dutch question-answer pair dataset of the Dutch Government. This is a Dutch question/answer model ultimately based on Mistral and fine-tuned with SFT and LoRA. The training with 3 epochs took almost 2 hours and was run on an Nvidia A100 (40GB VRAM).
Usage with Inference Endpoints (Dedicated)
importrequestsAPI_URL="https://your-own-endpoint.us-east-1.aws.endpoints.huggingface.cloud"headers={"Authorization":"Bearer hf_your_own_token"}defquery(payload):response=requests.post(API_URL,headers=headers,json=payload)returnresponse.json()output=query({"inputs":"Geeft de overheid subsidie aan bedrijven?"})# print generated answerprint(output[0]['generated_text'])
Training hyperparameters
The following hyperparameters were used during training: