Text Generation
Transformers
Safetensors
English
llama
particle
conversational
text-generation-inference
Instructions to use prathamkode/particle-1.6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prathamkode/particle-1.6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prathamkode/particle-1.6") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("prathamkode/particle-1.6") model = AutoModelForCausalLM.from_pretrained("prathamkode/particle-1.6", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use prathamkode/particle-1.6 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prathamkode/particle-1.6" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prathamkode/particle-1.6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/prathamkode/particle-1.6
- SGLang
How to use prathamkode/particle-1.6 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "prathamkode/particle-1.6" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prathamkode/particle-1.6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "prathamkode/particle-1.6" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prathamkode/particle-1.6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use prathamkode/particle-1.6 with Docker Model Runner:
docker model run hf.co/prathamkode/particle-1.6
Add particle-1.6 model card (weights not uploaded)
Browse files
README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: transformers
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
tags:
|
| 8 |
+
- llama
|
| 9 |
+
- particle
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# particle-1.6
|
| 13 |
+
|
| 14 |
+
~100M Llama-style chat model, trained from scratch (same architecture as [particle-1.0](https://huggingface.co/prathamkode/particle-1.0)).
|
| 15 |
+
|
| 16 |
+
**Weights are not on this page yet.** Public weights stay at [prathamkode/particle-1.0](https://huggingface.co/prathamkode/particle-1.0) until the v1.6 SFT bar holds.
|
| 17 |
+
|
| 18 |
+
## Status (2026-08-23)
|
| 19 |
+
|
| 20 |
+
- Pretrain: FineWeb-Edu, ~2B tokens (same base as 1.0)
|
| 21 |
+
- SFT v1.6 trained on AWS Spot (`g6e.12xlarge`, 4× L40S) from that pretrain checkpoint
|
| 22 |
+
- Mix: ~37k NCERT Q&A + ~1k manners + fact seeds + 60k code-filtered [smol-smoltalk](https://huggingface.co/datasets/HuggingFaceTB/smol-smoltalk) (**94,681** pairs)
|
| 23 |
+
- Informal smoke: `hello` greets and stops; facts still miss (e.g. capital of India → Kolkata)
|
| 24 |
+
- Full greedy bar not closed. SFT checkpoint stays off the Hub
|
| 25 |
+
|
| 26 |
+
## Model details
|
| 27 |
+
|
| 28 |
+
- **Architecture:** Llama-style decoder (RoPE, SwiGLU, RMSNorm)
|
| 29 |
+
- **Parameters:** 109.5M (12 layers, 768 hidden, 12 heads)
|
| 30 |
+
- **Context:** 2048 tokens
|
| 31 |
+
- **Tokenizer:** custom byte-level BPE, 32k vocab
|
| 32 |
+
- **License (when weights land):** MIT
|
| 33 |
+
|
| 34 |
+
## Intended use
|
| 35 |
+
|
| 36 |
+
Research / demo small chat model. Not a reasoner.
|
| 37 |
+
|
| 38 |
+
## Limitations
|
| 39 |
+
|
| 40 |
+
Very small capacity. Hallucinates. English-centric. No RLHF.
|
| 41 |
+
|
| 42 |
+
## Citation
|
| 43 |
+
|
| 44 |
+
Cite FineWeb-Edu / smol-smoltalk if you use the data. Current public weights: [prathamkode/particle-1.0](https://huggingface.co/prathamkode/particle-1.0).
|