mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 02:38:10 +00:00
Run the text decoding bit.
This commit is contained in:
@ -8,6 +8,6 @@ data = torch.load("tiny.en.pt")
|
||||
weights = {}
|
||||
for k, v in data["model_state_dict"].items():
|
||||
weights[k] = v.contiguous()
|
||||
print(k, v.shape)
|
||||
print(k, v.shape, v.dtype)
|
||||
save_file(weights, "tiny.en.safetensors")
|
||||
print(data["dims"])
|
||||
|
Reference in New Issue
Block a user