Instructions to use prelington/CodexTrouter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- fastText
How to use prelington/CodexTrouter with fastText:
from huggingface_hub import hf_hub_download import fasttext model = fasttext.load_model(hf_hub_download("prelington/CodexTrouter", "model.bin")) - Notebooks
- Google Colab
- Kaggle
| from transformers import AutoModelForCausalLM | |
| from safetensors.torch import save_file | |
| model_name = "microsoft/phi-2" | |
| model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype="auto") | |
| save_file(model.state_dict(), "ProTalkModel.safetensors") | |