Downloads · 30 days
10
20% of all-time downloads
weirek/Affine-35-5F1Yp4d6D5jSwAut2SyCngrd8yC8UHLcNZ3ceTwF9vXo4QiR
Affine-35-5F1Yp4d6D5jSwAut2SyCngrd8yC8UHLcNZ3ceTwF9vXo4QiR is a text generation model from weirek. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
This model has been fine-tuned for conversational AI tasks.
Downloads · 30 days
10
20% of all-time downloads
All-time downloads
49
Public
Parameters
403B
807 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors807 GB · 100%
How the weights are stored.
BF16403B · 100%
From the Hugging Face model README
This model has been fine-tuned for conversational AI tasks.
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained(
"weirek/2011-5Eee8m2MbQiAUR3QGixeiAAPYos9AzqRfQpx1Rb59YHB1CgT-1",
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("weirek/2011-5Eee8m2MbQiAUR3QGixeiAAPYos9AzqRfQpx1Rb59YHB1CgT-1")
# Generate text
messages = [
{"role": "user", "content": "Hello, how are you?"}
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
This model inherits limitations from its base model and training data. Use responsibly and be aware of potential biases.