Downloads · 30 days
8
31% of all-time downloads
dataequity/dataequity-kde4-en-de-qlora
dataequity-kde4-en-de-qlora is a machine learning model from dataequity. 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.
dataequity-kde4-en-de-qlora is a Transformer based language translator fine tuned using the kde dataset. The base model used is Helsinki-NLP/opus-mt-en-de
Downloads · 30 days
8
31% of all-time downloads
All-time downloads
26
Public
Parameters
73.9M
296 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors296 MB · 99%
From the Hugging Face model README
dataequity-kde4-en-de-qlora is a Transformer based language translator fine tuned using the kde dataset. The base model used is Helsinki-NLP/opus-mt-en-de
Our model hasn't been fine-tuned through reinforcement learning from human feedback. The intention behind crafting this open-source model is to provide the research community with a non-restricted small model to explore vital safety challenges, such as reducing toxicity, understanding societal biases, enhancing controllability, and more.
source group: English
target group: German
model: transformer
source language(s): en
target language(s): de
model: transformer
from transformers import MarianMTModel, MarianTokenizer,
hub_repo_name = 'dataequity/dataequity-kde4-en-de-qlora'
tokenizer = MarianTokenizer.from_pretrained(hub_repo_name)
finetuned_model = MarianMTModel.from_pretrained(hub_repo_name)
questions = [
"How are the first days of each season chosen?",
"Why are laws requiring identification for voting scrutinized by the media?",
"Why aren't there many new operating systems being created?"
]
translated = finetuned_model.generate(**tokenizer(questions, return_tensors="pt", padding=True))
[tokenizer.decode(t, skip_special_tokens=True) for t in translated]