Downloads · 30 days
24
0% of all-time downloads
bertin-project/Gromenauer-7B
Gromenauer-7B is a text generation model from bertin-project. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
<div align=center <img alt="gromenauer-7B logo" src="https://huggingface.co/bertin-project/Gromenauer-7B/resolve/main/images/gromenauer.png" width="200px" </div
Downloads · 30 days
24
0% of all-time downloads
All-time downloads
15.2K
Public
Parameters
7.2B
232 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors29 GB · 100%
From the Hugging Face model README
Gromenauer-7B is a Spanish language model designed to understand and generate high-quality Spanish text. Developed using the robust Mistral architecture, this model has been trained on an extensive literary corpus, ensuring it captures a wide range of linguistic nuances, styles, and contexts found in Spanish literature.
To load the model in your project, you can use the following code:
from transformers import AutoModel, AutoTokenizer
# Load the tokenizer
tokenizer = AutoTokenizer.from_pretrained("bertin-project/Gromenauer-7B")
# Load the model
model = AutoModel.from_pretrained("bertin-project/Gromenauer-7B")
# Example usage
text = "Introduce aquí tu texto en español."
inputs = tokenizer(text, return_tensors="pt")
outputs = model(**inputs)