Run this model with HF Jobs
Run olaverse/YellowMIST-Encoder-15M-ESA 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-ESA. 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-ESA 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-ESA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use olaverse/YellowMIST-Encoder-15M-ESA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="olaverse/YellowMIST-Encoder-15M-ESA")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("olaverse/YellowMIST-Encoder-15M-ESA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,200 Bytes
eb90093 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | """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
|