Downloads · 30 days
11
0% of all-time downloads
hiig-ai-lab/simba_best_092024
simba_best_092024 is a text generation model from hiig-ai-lab. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
We fine-tuned meta-llama/Meta-Llama-3-8B-Instruct with a set of ca. 800 newspaper articles which have been simplified by the Austrian Press Agency. Our aim was to have a model which can simplify German-language text.
Downloads · 30 days
11
0% of all-time downloads
All-time downloads
9.1K
Public
Parameters
8B
16.1 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
We fine-tuned meta-llama/Meta-Llama-3-8B-Instruct with a set of ca. 800 newspaper articles which have been simplified by the Austrian Press Agency. Our aim was to have a model which can simplify German-language text.
This model works best for simplifying German-language newspaper articles (news items, not commentaries or editorials). It may work for other types of texts.
We have fine-tuned using only newspaper articles. We have not yet performed extensive out-of-domain testing, but believe that the model's capabilities could be improved by fine-tuning on more diverse data. Contact us if you have a dataset which you think could work (parallel texts, German standard & German simplified).
<!-- ### Out-of-Scope Use --> <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->As with most text generation models, the model sometimes produces information that is incorrect.
Please check manually that your output text corresponds to the input text, as factual inconsistencies may have arisen.
We offer two tools to interact with our model: an online app and a browser extension. They can be viewed and used here.
Alternatively, to load the model using transformers:
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
device = "cuda"
tokenizer = AutoTokenizer.from_pretrained("hiig-piai/simba_best_092024")
model = AutoModelForCausalLM.from_pretrained("hiig-piai/simba_best_092024", torch_dtype=torch.float16).to(device)
We used the following prompt at inference to test our model:
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Du bist ein hilfreicher Assistent und hilfst dem User, Texte besser zu verstehen.<|eot_id|><|start_header_id|>user<|end_header_id|>
Kannst du bitte den folgenden Text zusammenfassen und sprachlich auf ein A2-Niveau in Deutsch vereinfachen? Schreibe maximal 5 Sätze.
{input_text}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
A sample of the data used to train our model can be found here.
simba -at- hiig.de