Run this model with HF Jobs

Run prithivMLmods/MobileLLM-R1-950M-Radiation 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 and TRL to fine-tune https://huggingface.co/prithivMLmods/MobileLLM-R1-950M-Radiation. Ask me which dataset to train on, then push the fine-tuned model to a new private 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/prithivMLmods/MobileLLM-R1-950M-Radiation 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.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/prithivMLmods/MobileLLM-R1-950M-Radiation. Ask me which benchmark to run, then save the scores and the per-example results to a new private dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/prithivMLmods/MobileLLM-R1-950M-Radiation. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

You need to agree to share your Hugging Face information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

1.png

MobileLLM-R1-950M-Radiation

MobileLLM-R1-950M-Radiation is a reasoning-focused model based on facebook/MobileLLM-R1-950M, fine-tuned for Abliterated Reasoning and polished token probabilities, enhancing balanced multilingual generation across mathematics and general-purpose reasoning. It specializes in event-driven logic, structured analysis, and precise probabilistic modelingโ€”making it ideal for research, education, and lightweight deployment in constrained environments.


Key Features

  1. Abliterated Reasoning Enhanced reasoning precision through polished token probability distributions, ensuring accurate and context-aware outputs.

  2. Event Simulation & Logical Analysis Models random events, probability-driven reasoning, and logical decision-making reliably.

  3. Multilingual Mathematical & General-Purpose Problem Solving Delivers strong performance in math, probability, and structured multilingual tasks, supporting global research and educational use.

  4. Hybrid Symbolic-Probabilistic Thinking Combines structured logic, probabilistic inference, and chain-of-thought reasoning for robust uncertainty-driven problem-solving.

  5. Structured Output Mastery Generates well-structured outputs in LaTeX, Markdown, JSON, CSV, and YAML, suitable for technical workflows and research documentation.

  6. Optimized Lightweight Footprint Compact 950M parameter size, deployable on edge devices, offline clusters, and mid-range GPUs, balancing reasoning capability with efficiency.


Quickstart with Transformers๐Ÿค—

!pip install transformers gradio
import gradio as gr
from transformers import pipeline
import torch

# Initialize the model pipeline
model_id = "prithivMLmods/MobileLLM-R1-950M-Radiation"
pipe = pipeline(
    "text-generation",
    model=model_id,
    torch_dtype=torch.float16,
    device_map="auto",
)

def respond(message, history):
    # Build prompt from history
    prompt = ""
    for user_msg, assistant_msg in history:
        if user_msg:
            prompt += f"User: {user_msg}\n"
        if assistant_msg:
            prompt += f"Assistant: {assistant_msg}\n"

    # Add current message
    prompt += f"User: {message}\nAssistant: "

    # Generate response with streaming
    streamer = pipe.tokenizer.decode

    # Generate tokens
    inputs = pipe.tokenizer(prompt, return_tensors="pt").to(pipe.model.device)

    with torch.no_grad():
        outputs = pipe.model.generate(
            **inputs,
            max_new_tokens=10000,
            temperature=0.7,
            do_sample=True,
            pad_token_id=pipe.tokenizer.eos_token_id,
        )

    # Decode the generated tokens, skipping the input tokens
    generated_tokens = outputs[0][inputs['input_ids'].shape[-1]:]

    # Stream the output token by token
    response_text = ""
    for i in range(len(generated_tokens)):
        token = generated_tokens[i:i+1]
        token_text = pipe.tokenizer.decode(token, skip_special_tokens=True)
        response_text += token_text
        yield response_text

# Create the chat interface
demo = gr.ChatInterface(
    fn=respond,
    examples=[
        "Compute: 1-2+3-4+5- ... +99-100.",
    ],
)

if __name__ == "__main__":
    demo.launch(share=True)

Intended Use

  • Balanced multilingual reasoning and probability modeling
  • Event simulation, uncertainty analysis, and structured problem solving
  • Educational and research-focused reasoning tasks
  • Lightweight deployment on edge devices and offline clusters
  • Technical content and structured data generation

Limitations

  • Focused on reasoning and mathematicsโ€”less suited for creative writing
  • limit performance on very complex multi-step reasoning tasks
  • Prioritizes structured reasoning and probabilistic accuracy over conversational or emotional tone
  • May produce inconsistent outputs for very long contexts or cross-domain multi-document tasks
Downloads last month
-
Safetensors
Model size
0.9B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for prithivMLmods/MobileLLM-R1-950M-Radiation

Finetuned
(3)
this model

Collection including prithivMLmods/MobileLLM-R1-950M-Radiation