Run this model with HF Jobs

Run prathamkode/particle-1.7 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/prathamkode/particle-1.7. Ask me which dataset to train on, then push the LoRA adapter to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs and Transformers to run batch inference with https://huggingface.co/prathamkode/particle-1.7 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the predictions back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs and Lighteval to evaluate https://huggingface.co/prathamkode/particle-1.7. Ask me which benchmark to run, then save the scores and the per-example results to a new 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/prathamkode/particle-1.7 with Transformers and bitsandbytes. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
How to use from
Docker Model Runner
docker model run hf.co/prathamkode/particle-1.7
Quick Links

Particle 1.7

Particle 1.7 is a compact (~109.5M) chat model trained from scratch. It uses the same architecture and 2B-token pretrained base as Particle 1.0 and Particle 1.6.

This release is a fresh supervised fine-tune from the base checkpoint on a larger (~242k-row) educational Q&A and short-chat mix combining astronomy/solar-system Q&A, high-school science Q&A, and code-filtered conversational pairs. It achieves crisp EOS stopping (96% within 64 tokens) and strong core fact recall on basic trivia, though heavy solar-system weighting introduces noticeable template bleed on unrelated general-knowledge prompts compared to Particle 1.6.

Weights are released under MIT. Training data is not included.

Quick start

from transformers import AutoModelForCausalLM, AutoTokenizer

repo = "prathamkode/particle-1.7"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(repo)

messages = [{"role": "user", "content": "hello"}]
prompt = tokenizer.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True
)
inputs = tokenizer(prompt, return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=64, do_sample=False)
print(tokenizer.decode(output[0], skip_special_tokens=False))

Model

Architecture Llama-style decoder (RoPE, SwiGLU, RMSNorm)
Parameters 109.5M
Layers / hidden / heads 12 / 768 / 12
Context 2048 tokens
Tokenizer Custom byte-level BPE, 32k vocabulary
Precision bfloat16
License MIT

The model is trained from random initialization. It is not a fine-tune of Llama, SmolLM, or any other public checkpoint.

Training

  1. Pretrain β€” ~2B tokens of public educational web text (same base as Particle 1.0).
  2. Supervised fine-tune (v1.7) β€” 2 epochs (15,146 optimizer steps, cosine decay 2e-5 -> 2e-6, seq_len=1024, effective batch size 32) on a ~242k-row internal Q&A + chat mix. Final held-out validation loss: 0.3049.

The SFT mix is not published. Particle 1.7 is shared so others can inspect the weights, reproduce inference, and compare against Particle 1.0 and Particle 1.6.

Evaluation snapshot

Zero-context 100-question factual Q&A benchmark (do_sample=False, max_new_tokens=64):

Model Params Strict Weighted EOS Stop Avg Tokens
Particle 1.6 109.5M 25/100 27.0% 96% 14.3
Particle 1.7 109.5M 20/100 23.0% 96% 16.0
Particle 1.0 109.5M 11/100 14.5% 49% 48.2

Intended use

Research, evaluation, and small demos. Suitable for studying from-scratch training and SFT data-mix effects at ~100M scale.

Not intended as a production assistant, a source of facts, or a coding model.

Limitations

  • Small capacity (~109.5M params, ~2B pretraining tokens): weak on reasoning, long context, and tools
  • Heavy astronomy/solar-system weighting in the SFT mix causes template bleed on some out-of-domain questions
  • Can hallucinate or contradict itself
  • English-centric
  • No preference tuning or safety alignment beyond the SFT mix

Citation

If you use these weights, please cite Particle and the public pretraining corpus used for the 1.0 base.

Downloads last month
200
Safetensors
Model size
0.1B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using prathamkode/particle-1.7 1