Run this model with HF Jobs
Run modularStarEncoder/ModularStarEncoder on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/modularStarEncoder/ModularStarEncoder. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/modularStarEncoder/ModularStarEncoder on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use modularStarEncoder/ModularStarEncoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use modularStarEncoder/ModularStarEncoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="modularStarEncoder/ModularStarEncoder", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("modularStarEncoder/ModularStarEncoder", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from modularStarEncoder/ModularStarEncoder: direct link, hf CLI and curl.
- Browser
- Download file 933 Bytes
-
https://huggingface.co/modularStarEncoder/ModularStarEncoder/resolve/c9ad145f1f8fda0a0e08a05077339fc14897877c/config.json
- Command line
-
hf download hf://modularStarEncoder/ModularStarEncoder@c9ad145f1f8fda0a0e08a05077339fc14897877c/config.json
-
curl -L -o config.json https://huggingface.co/modularStarEncoder/ModularStarEncoder/resolve/c9ad145f1f8fda0a0e08a05077339fc14897877c/config.json
933 Bytes
| { | |
| "architectures": [ | |
| "ModularStarEncoder" | |
| ], | |
| "attention_dropout": 0.1, | |
| "bos_token_id": 0, | |
| "conditional_size": 4, | |
| "embedding_dropout": 0.1, | |
| "eos_token_id": 0, | |
| "hidden_act": "gelu_pytorch_tanh", | |
| "hidden_size": 1024, | |
| "initializer_range": 0.018042, | |
| "intermediate_size": 12288, | |
| "keys_to_ignore_at_inference": "past_key_values", | |
| "layer_matryoshka_loss": true, | |
| "layer_norm_eps": 1e-05, | |
| "matryoshka_layers": [ | |
| 4, | |
| 9, | |
| 18, | |
| 27, | |
| 36 | |
| ], | |
| "max_position_embeddings": 2048, | |
| "mlp_type": "default", | |
| "model_type": "ModularStarEncoder", | |
| "norm_epsilon": 1e-05, | |
| "norm_type": "layer_norm", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 36, | |
| "num_key_value_heads": 4, | |
| "residual_dropout": 0.1, | |
| "rope_theta": 999999.4420358813, | |
| "sliding_window": null, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.39.3", | |
| "use_bias": true, | |
| "use_cache": false, | |
| "vocab_size": 49156 | |
| } | |