Instructions to use miguelcsx/prism-control with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use miguelcsx/prism-control with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="miguelcsx/prism-control", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("miguelcsx/prism-control", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 197 Bytes
4d90c95 | 1 2 3 4 5 6 7 8 9 10 | {
"bos_token": "<s>",
"eos_token": "</s>",
"mask_token": "<mask>",
"model_max_length": 512,
"pad_token": "<pad>",
"tokenizer_class": "PreTrainedTokenizerFast",
"unk_token": "<unk>"
}
|