Downloads · 30 days
9
8% of all-time downloads
billyskc/mbart-lora-paramed-merged
mbart-lora-paramed-merged is a machine learning model from billyskc. 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 transformers. The card lists the license as apache-2.0.
This is a LoRA-parameter-efficient fine-tuned version of facebook/mbart-large-50-many-to-many-mmt for English-to-Chinese biomedical translation tasks.
Downloads · 30 days
9
8% of all-time downloads
All-time downloads
118
Public
Parameters
611M
2.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.4 GB · 100%
From the Hugging Face model README
billyskc/mbart-lora-zh-en-paramedThis is a LoRA-parameter-efficient fine-tuned version of facebook/mbart-large-50-many-to-many-mmt for English-to-Chinese biomedical translation tasks.
This model adapts mBART-50 for the biomedical domain using LoRA (Low-Rank Adaptation) to reduce fine-tuning memory and cost. The model was trained on curated biomedical English-to-Chinese parallel data.
Biomedical domain translation (EN → ZH), particularly for medical research abstracts, clinical sentences, and drug descriptions.
[More Information Needed]
General domain translation (performance may degrade)
Chinese-to-English (ZH → EN)
Real-time or low-latency applications without testing
The model may reflect biases from the biomedical training data.
Mistranslations may cause harm in clinical or decision-critical use cases.
LoRA fine-tuning may limit generalization outside biomedical domain.
Always validate outputs with domain experts.
Avoid use in diagnostic or treatment recommendation systems without human oversight.
from transformers import MBartForConditionalGeneration, MBart50Tokenizer
model = MBartForConditionalGeneration.from_pretrained("billyskc/mbart-lora-paramed-merged")
tokenizer = MBart50Tokenizer.from_pretrained("billyskc/mbart-lora-zh-en-tokenizer")
tokenizer.src_lang = "en_XX"
text = "Asciminib targets both native and mutated BCR-ABL1"
inputs = tokenizer(text, return_tensors="pt")
generated_tokens = model.generate(**inputs, forced_bos_token_id=tokenizer.lang_code_to_id["zh_CN"])
print(tokenizer.decode(generated_tokens[0], skip_special_tokens=True))
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]