Downloads · 30 days
4
19% of all-time downloads
barbaroo/gptsw3_lora_fo_40b
gptsw3_lora_fo_40b is a machine learning model from barbaroo. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
Downloads · 30 days
4
19% of all-time downloads
All-time downloads
21
Public
Repo size
208 MB
Likes
0
Public
Click a slice to open those files.
.bin69.3 MB · 100%
From the Hugging Face model README
licence: LICENCE
Developed by: Barbara Scalvini, Language Technology Center, University of the Faroe Islands
Model type: This is a LoRA adapter for GPT-Sw3 with continued pre-training on Faroese data (BLARK corpus, private Faroese books repository). Training was performed for 4 epochs.
Language(s) (NLP): Swedish, English, Norwegian, Danish, Icelandic, Faroese
from model [optional]: AI-Sweden-Models/gpt-sw3-40b
Use the code below to get started with the model.
from peft import PeftModel, PeftConfig
from transformers import AutoModelForCausalLM
config = PeftConfig.from_pretrained("barbaroo/gptsw3_lora_fo_40b")
model = AutoModelForCausalLM.from_pretrained("AI-Sweden-Models/gpt-sw3-40b")
model = PeftModel.from_pretrained(model, "barbaroo/gptsw3_lora_fo_40b")
[More Information Needed]
We trained our model on a corpus derived from the Basic Language Resource Kit for Faroese. For detailed information about the dataset, please see the BLARK_small Extra training data was taken from a private corpus of Faroese books ( Faroese Books)
Validation/testing was performed on the test split of the Faroese books corpus ( Faroese Books)
The following bitsandbytes quantization config was used during training: