Downloads · 30 days
62
0% of all-time downloads
maywell/Synatra-10.7B-v0.4
Synatra-10.7B-v0.4 is a text generation model from maywell. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-sa-4.0.
Downloads · 30 days
62
0% of all-time downloads
All-time downloads
80.3K
Public
Repo size
42.9 GB
Likes
10
Public
Click a slice to open those files.
.bin21.5 GB · 100%
From the Hugging Face model README

The "Model" is completely free (ie. base model, derivates, merges/mixes) to use for non-commercial purposes as long as the the included cc-by-sa-4.0 license in any parent repository, and the non-commercial use statute remains, regardless of other models' licences.
Base Model
upstage/SOLAR-10.7B-v1.0
Trained On
A100 80GB * 1
Instruction format
It follows Alpaca format.
On Benchmarking...
Since, chat_template already contains insturction format above. You can use the code below.
from transformers import AutoModelForCausalLM, AutoTokenizer
device = "cuda" # the device to load the model onto
model = AutoModelForCausalLM.from_pretrained("maywell/Synatra-10.7B-v0.4")
tokenizer = AutoTokenizer.from_pretrained("maywell/Synatra-10.7B-v0.4")
messages = [
{"role": "user", "content": "바나나는 원래 하얀색이야?"},
]
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])