Downloads · 30 days
5
15% of all-time downloads
shrayesu/instella-3b-fp16
instella-3b-fp16 is a machine learning model from shrayesu. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This is a FP16 version of amd/Instella-3B-Instruct.
Downloads · 30 days
5
15% of all-time downloads
All-time downloads
34
Public
Parameters
3.1B
6.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors6.2 GB · 100%
From the Hugging Face model README
This is a FP16 version of amd/Instella-3B-Instruct.
Quantization: FP16 (half precision) Use case: CPU or GPU inference with reduced memory usage.
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("username/instella-3b-fp16")
model = AutoModelForCausalLM.from_pretrained("username/instella-3b-fp16", torch_dtype="float16")
prompt = "Explain quantum computing in simple terms."
inputs = tokenizer(prompt, return_tensors="pt")
print(tokenizer.decode(model.generate(**inputs, max_new_tokens=100)[0]))