Run this model with HF Jobs

Run olaverse/YellowMIST-Encoder-15M-ET 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-ET. 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-ET 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.
olumideola's picture
YellowMIST-Encoder-15M-ET (from base-ethiopic-dew-1-enc-hybrid-full-s0)
3d24f24 verified
Raw History Blame Contribute Delete
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