Views
No views yet
1import torch
2from huggingface_hub import hf_hub_download
3
4# Download model
5model_path = hf_hub_download(repo_id="arka7/moe-multilingual-translator", filename="pytorch_model.pt")
6checkpoint = torch.load(model_path)
7
8# Load model (you'll need to define the architecture)
9model.load_state_dict(checkpoint['model_state_dict'])@misc{moe-multilingual-translator,
author = {arka7},
title = {Multilingual MoE Transformer},
year = {2024},
publisher = {Hugging Face},
url = {https://huggingface.co/arka7/moe-multilingual-translator}
}