Downloads · 30 days
5
26% of all-time downloads
RichardErkhov/openagi-project_-_OpenAGI-7B-v0.1-8bits
openagi-project_-_OpenAGI-7B-v0.1-8bits is a machine learning model from RichardErkhov. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
5
26% of all-time downloads
All-time downloads
19
Public
Parameters
7.2B
7.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.5 GB · 100%
How the weights are stored.
I87B · 96%
From the Hugging Face model README
Quantization made by Richard Erkhov.
OpenAGI-7B-v0.1 - bnb 8bits
datasets:
DPO tuned on a small set of GPT4 generated responses.
Give it a try:
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda" # the device to load the model onto
model = AutoModelForCausalLM.from_pretrained("openagi-project/OpenAGI-7B-v0.1")
tokenizer = AutoTokenizer.from_pretrained("openagi-project/OpenAGI-7B-v0.1")
messages = [
{"role": "user", "content": "Who are you?"},
]
encodeds = tokenizer.apply_chat_template(messages, return_tensors="pt")
model_inputs = encodeds.to(device)
model.to(device)
generated_ids = model.generate(model_inputs, max_new_tokens=1000, do_sample=True)
decoded = tokenizer.batch_decode(generated_ids)
print(decoded[0])
" My goal as the founder of FreeCS.org is to establish an Open-Source AI Research Lab driven by its Community. Currently, I am the sole contributor at FreeCS.org. If you share our vision, we welcome you to join our community and contribute to our mission at freecs.org/#community. "
|- GR
If you'd like to support this project, kindly consider making a donation.