Downloads · 30 days
14
5% of all-time downloads
Danna8/aya-8b
aya-8b is a text generation model from Danna8. Use it when you need the model to write or continue text. It is set up for transformers.
This is the Aya-8B model, originally designed for Ollama and converted to be compatible with Hugging Face. Aya is an open-source language model known for its conversational abilities and text generation capabilities.
Downloads · 30 days
14
5% of all-time downloads
All-time downloads
264
Public
Repo size
4.8 GB
Likes
0
Public
Click a slice to open those files.
Other4.8 GB · 50%
From the Hugging Face model README
This is the Aya-8B model, originally designed for Ollama and converted to be compatible with Hugging Face. Aya is an open-source language model known for its conversational abilities and text generation capabilities.
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("Danna8/aya-8b")
model = AutoModelForCausalLM.from_pretrained("Danna8/aya-8b")
inputs = tokenizer("Hello, how are you today?", return_tensors="pt")
outputs = model.generate(inputs["input_ids"], max_length=100)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)
Like all language models, Aya-8B may reproduce biases present in its training data. Users should be aware of these limitations when deploying the model.