Instructions to use nt-ai/my_pr_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nt-ai/my_pr_model with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import MTL_DD_PR model = MTL_DD_PR.from_pretrained("nt-ai/my_pr_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from nt-ai/my_pr_model: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/nt-ai/my_pr_model/resolve/main/config.json
- Command line
-
hf download hf://nt-ai/my_pr_model/config.json
-
curl -L -o config.json https://huggingface.co/nt-ai/my_pr_model/resolve/main/config.json
256 Bytes
| { | |
| "architectures": [ | |
| "MTL_DD_PR" | |
| ], | |
| "freeze_bert": false, | |
| "model_name": "bert-base-multilingual-uncased", | |
| "model_type": "mtl_dd_pr", | |
| "num_dd_labels": 2, | |
| "num_pr_labels": 4, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.47.0" | |
| } | |