Downloads · 30 days
7
4% of all-time downloads
safoinetl/llm_model
llm_model is a question answering model from safoinetl. Use it when the input is a question plus a passage. It is set up for transformers. The card lists the license as mit.
This model is a fine-tuned version of unsloth/mistral-7b-bnb-4bit. It has been trained using TRL.
Downloads · 30 days
7
4% of all-time downloads
All-time downloads
183
Public
Parameters
7.2B
29 GB on disk
Likes
0
Public
Click a slice to open those files.
.bin14.5 GB · 50%
From the Hugging Face model README
This model is a fine-tuned version of unsloth/mistral-7b-bnb-4bit. It has been trained using TRL.
from transformers import pipeline
question = "what is alzheimer's disease ?"
generator = pipeline("text-generation", model="safoinetl/llm_model", device="cuda")
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
print(output["generated_text"])
This model was trained with SFT.
Cite TRL as:
@misc{vonwerra2022trl,
title = {{TRL: Transformer Reinforcement Learning}},
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
year = 2020,
journal = {GitHub repository},
publisher = {GitHub},
howpublished = {\url{https://github.com/huggingface/trl}}
}