Anima-GGUF
1.9K
13
—
by
Bedovyy
Other
OTHER
New
2K downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
How to reproducepythonpytorch
import torch
import safetensors.torch
import os
import sys
def convert_to_fp32(input_path, output_path):
state_dict = safetensors.torch.load_file(input_path)
new_state_dict = {}
for key, tensor in state_dict.items():
print(f"{key} ({tensor.dtype}) -> torch.float32")
new_tensor = tensor.to(torch.float32)
new_state_dict[key] = new_tensor
safetensors.torch.save_file(new_state_dict, output_path)
print(f"output_path: {output_path}")
if __name__ == "__main__":
assert len(sys.argv) == 3, f"usage: {sys.argv[0]} SOURCE TARGET"
input_path, output_path = sys.argv[1:3]
convert_to_fp32(input_path, output_path)Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.