Downloads · 30 days
0
MBZUAI/bactrian-x-mt5-large-lora
bactrian-x-mt5-large-lora is a machine learning model from MBZUAI. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repo contains a low-rank adapter (LoRA) for mt5-large fit on the Stanford-Alpaca-52k and databricks-dolly-15k data in 52 languages.
Downloads · 30 days
0
Access
Public
Updated Jun 11, 2023
Repo size
75.6 MB
Likes
0
Public
Click a slice to open those files.
.bin75.6 MB · 100%
From the Hugging Face model README
This repo contains a low-rank adapter (LoRA) for mt5-large fit on the Stanford-Alpaca-52k and databricks-dolly-15k data in 52 languages.
gpt-3.5-turbo for each language (conducted on April 2023).The code for training the model is provided in our github, which is adapted from Alpaca-LoRA. This version of the weights was trained with the following hyperparameters:
That is:
python finetune.py \
--base_model='google/mt5-large' \
--num_epochs=10 \
--batch_size=128 \
--cutoff_len=512 \
--group_by_length \
--output_dir='./bactrian-x-mt5-large-lora' \
--lora_target_modules='q,v' \
--lora_r=64 \
--micro_batch_size=32
Instructions for running it can be found at https://github.com/MBZUAI-nlp/Bactrian-X.
(1) Translation bias; (2) Potential English-culture bias in the translated dataset.
@misc{li2023bactrianx,
title={Bactrian-X : A Multilingual Replicable Instruction-Following Model with Low-Rank Adaptation},
author={Haonan Li and Fajri Koto and Minghao Wu and Alham Fikri Aji and Timothy Baldwin},
year={2023},
eprint={2305.15011},
archivePrefix={arXiv},
primaryClass={cs.CL}
}