Instructions to use SamagraDataGov/model_hub with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SamagraDataGov/model_hub with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SamagraDataGov/model_hub", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "config_file": { | |
| "dev_batch_size": 128, | |
| "init_type": "kaiming_uniform", | |
| "loss_fn": [ | |
| 0, | |
| 2 | |
| ], | |
| "lr": 0.0003, | |
| "margin": 0.5, | |
| "num_epochs": 1000, | |
| "proj": 128, | |
| "t_max": 9, | |
| "train_batch_size": 128, | |
| "view1": { | |
| "bidirectional": true, | |
| "cell_type": "lstm", | |
| "dropout": 0.4, | |
| "hidden_size": 512, | |
| "input_size": 39, | |
| "num_layers": 2, | |
| "proj": 1024 | |
| }, | |
| "view2": { | |
| "bidirectional": true, | |
| "cell_type": "lstm", | |
| "dropout": 0.4, | |
| "hidden_size": 512, | |
| "input_size": 83, | |
| "num_embeddings": 10000, | |
| "num_layers": 2, | |
| "proj": 512 | |
| }, | |
| "weight_decay": 0.0001 | |
| } | |
| } |