Downloads · 30 days
26
22% of all-time downloads
vedantjadhav701/SparkAI-47m-llama-10b-token
SparkAI-47m-llama-10b-token is a text generation model from vedantjadhav701. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
[](https://huggingface.co/vedantjadhav701/SparkAI-47m-llama-10b-token) [](https://github.com/VedantJadhav701/SparkAI)
Downloads · 30 days
26
22% of all-time downloads
All-time downloads
116
Public
Parameters
47.7M
95.4 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors95.4 MB · 96%
From the Hugging Face model README
A ~48M parameter LLaMA-style decoder-only transformer, trained from scratch. This is the final checkpoint at this parameter scale — further tokens beyond this point showed diminishing/plateaued perplexity, suggesting the model has reached its practical capacity ceiling at 47M params on this data mix.
sample-100BT) + Cosmopedia-v2, streamed and packed (85% / 15% mix)| Tokens | Perplexity |
|---|---|
| 630M | 43.49 |
| 3.77B | 31.30 |
| 7.00B | — |
| 10.00B | 31.46 |
Note on Saturation: Perplexity plateaued between 3.77B and 10.00B tokens despite continued training, indicating the model has likely saturated its representational capacity at this size. Scaling further would require a larger architecture rather than additional tokens.
Research / proof-of-concept checkpoint demonstrating small-LM pretraining from scratch. Shows coherent local grammar and reasonable short-range topical consistency; factual accuracy and long-range coherence are limited, as expected at this model scale.
Prompt:
In machine learning, a neural network is
Output:
In machine learning, a neural network is a collection of neurons that are connected to a set of neurons in a specific region of the brain. Each neuron is a cluster of neurons. These clusters of neurons are called neurons. The neural network...
transformersimport torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo_id = "vedantjadhav701/SparkAI-47m-llama-10b-token"
tokenizer = AutoTokenizer.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(repo_id)
prompt = "In machine learning, a neural network is"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=60, do_sample=True, temperature=0.8)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
pip install -r requirements.txt
python app.py
Open http://127.0.0.1:7860 in your web browser.