Run this model with HF Jobs
Run olaverse/YellowMIST-Encoder-15M-AMR 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/olaverse/YellowMIST-Encoder-15M-AMR. 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/olaverse/YellowMIST-Encoder-15M-AMR 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 olaverse/YellowMIST-Encoder-15M-AMR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use olaverse/YellowMIST-Encoder-15M-AMR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="olaverse/YellowMIST-Encoder-15M-AMR")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("olaverse/YellowMIST-Encoder-15M-AMR", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download dew/__init__.py from olaverse/YellowMIST-Encoder-15M-AMR: direct link, hf CLI and curl.
- Browser
- Download file 1.2 kB
-
https://huggingface.co/olaverse/YellowMIST-Encoder-15M-AMR/resolve/main/dew/__init__.py
- Command line
-
hf download hf://olaverse/YellowMIST-Encoder-15M-AMR/dew/__init__.py
-
curl -L -o __init__.py https://huggingface.co/olaverse/YellowMIST-Encoder-15M-AMR/resolve/main/dew/__init__.py
1.2 kB
| """Dew: an LLM architecture family (Gated DeltaNet + attention hybrid, Nap thinker MoE, | |
| doorman napping and looping). model_type "dew". | |
| from dew import DewConfig, DewForCausalLM, dew_config, fit_params | |
| model = DewForCausalLM(dew_config("dew-1-loop", vocab_size=32000, hidden_size=512)) | |
| Importing this package registers Dew with transformers' Auto classes. | |
| """ | |
| from .configuration_dew import DewConfig | |
| from .modeling_dew import STAT_NAMES, DewForCausalLM, DewForMaskedLM, DewModel | |
| from .presets import PRESETS, count_params, dew_config, fit_params | |
| __version__ = "1.0.0" | |
| __all__ = ["DewConfig", "DewModel", "DewForCausalLM", "DewForMaskedLM", "PRESETS", "dew_config", "fit_params", "count_params", "STAT_NAMES"] | |
| try: | |
| from transformers import AutoConfig, AutoModel, AutoModelForCausalLM, AutoModelForMaskedLM | |
| AutoConfig.register("dew", DewConfig, exist_ok=True) | |
| AutoModel.register(DewConfig, DewModel, exist_ok=True) | |
| AutoModelForCausalLM.register(DewConfig, DewForCausalLM, exist_ok=True) | |
| AutoModelForMaskedLM.register(DewConfig, DewForMaskedLM, exist_ok=True) | |
| except Exception: # transformers missing or too old: the model still works in plain PyTorch | |
| pass | |