Pratham-117M

An experimental English GPT-1-inspired model by Rahul Chaube. Learned absolute positions, post-LayerNorm, tied embeddings, 12 layers and 12 heads. The tokenizer and base weights were learned from scratch. Corpus source and document-level splits are in dataset_manifest.json. Supervised adaptation uses Databricks Dolly 15k (Databricks, CC BY-SA 3.0), transformed into role-formatted sequences with loss over responses. See https://huggingface.co/datasets/databricks/databricks-dolly-15k and https://creativecommons.org/licenses/by-sa/3.0/. Input is English text. Responses may be incoherent or inaccurate. Read inference.py before running custom Python.

Measured run

{
  "parameters": 116534784,
  "base_tokens": 819200,
  "base_test": {
    "loss": 6.327398240566254,
    "perplexity": 559.6984970222236,
    "accuracy": 0.120361328125,
    "top5": 0.2947998046875,
    "tokens": 8192
  },
  "sft_examples": 1024,
  "sft_before": 8.70755515575409,
  "sft_after": 6.899831414222717,
  "samples": {
    "Hello!": "User: Hello!\nAssistant: Sis is a great popular.",
    "What is two plus two?": "User: What is two plus two?\nAssistant: This was not be to the great other world of the few to be be a best. \n\n\n\n\n\n\n-\n\n\n\n3",
    "What makes rain fall?": "User: What makes rain fall?\nAssistant: This was not be make an new most of your more that is a way to be be the people. \n-I is you have be been of a"
  },
  "dolly_sha256": "2df9083338b4abd6bceb5635764dab5d833b393b55759dffb0959b6fcbf794ec"
}

Live chat and source

Try Pratham in your browser or inspect the training notebook and documentation. The chat uses a verified 148 MB quantized ONNX export. Initial loading time depends on bandwidth and hardware.

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

Space using oncody/Pratham-117M 1