Transformers
English
Sanskrit
swe-bench
swe-bench-verified
panini-grammar
ast-invariants
code-repair
automated-program-repair
gemma
neuro-symbolic
formal-methods
test-driven-development
Eval Results (legacy)
Instructions to use 18kansal/panini4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use 18kansal/panini4b with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("18kansal/panini4b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vedic_knowledge_database.json from 18kansal/panini4b: direct link, hf CLI and curl.
- Browser
- Download file 9.95 kB
-
https://huggingface.co/18kansal/panini4b/resolve/main/vedic_knowledge_database.json
- Command line
-
hf download hf://18kansal/panini4b/vedic_knowledge_database.json
-
curl -L -o vedic_knowledge_database.json https://huggingface.co/18kansal/panini4b/resolve/main/vedic_knowledge_database.json
9.95 kB
| { | |
| "version": "1.0.0-Veda-Purana-Samhita-Corpus", | |
| "created_at": "2026-10-15T17:16:59.348Z", | |
| "total_canons_indexed": 5, | |
| "categories": { | |
| "the_four_vedas": [ | |
| { | |
| "veda": "Ṛgveda Saṁhitā", | |
| "mandala_count": 10, | |
| "sukta_count": 1028, | |
| "mantra_count": 10552, | |
| "domain": "Primordial acoustic vibration, cosmic cosmology, thermodynamic solar equations (Sāvitrī/Gāyatrī), and fundamental particle ontology (Nāsadīya Sūkta 10.129).", | |
| "canonical_suktas": [ | |
| { | |
| "name": "Nāsadīya Sūkta (10.129)", | |
| "focus": "Creation ex nihilo: 'Neither existence nor non-existence was there then... Darkness was hidden by darkness in the beginning.'" | |
| }, | |
| { | |
| "name": "Puruṣa Sūkta (10.90)", | |
| "focus": "Universal holographic cosmos where reality emerges from a self-referential singular consciousness." | |
| }, | |
| { | |
| "name": "Hiraṇyagarbha Sūkta (10.121)", | |
| "focus": "The primordial golden singularity containing the seed of all material mass and energy." | |
| } | |
| ] | |
| }, | |
| { | |
| "veda": "Yajurveda Saṁhitā (Śukla & Kṛṣṇa)", | |
| "chapter_count": 40, | |
| "mantra_count": 1975, | |
| "domain": "Applied engineering of rituals, mathematical geometry (Śulba Sūtras coordinate systems), civil infrastructure, and statecraft.", | |
| "canonical_passages": [ | |
| { | |
| "name": "Śrī Rudram (Namakam & Camakam)", | |
| "focus": "Acoustic resonance mapping natural forces, elements, flora, fauna, and cosmic dissolution." | |
| }, | |
| { | |
| "name": "Śatapatha Brāhmaṇa Geometry", | |
| "focus": "Squaring the circle, calculating altar dimensions using early geometric constants (pi approximations, diagonal hypotenuse relations)." | |
| } | |
| ] | |
| }, | |
| { | |
| "veda": "Sāmaveda Saṁhitā", | |
| "archika_count": 2, | |
| "mantra_count": 1875, | |
| "domain": "Acoustic physics, harmonic micro-intervals (Śrutis), vibrational standing waves, and bio-acoustic entrainment.", | |
| "canonical_passages": [ | |
| { | |
| "name": "Gāndharva Vidyā", | |
| "focus": "Musical frequencies mapped to cranial cavity standing waves and autonomic biological homeostasis." | |
| } | |
| ] | |
| }, | |
| { | |
| "veda": "Atharvaveda Saṁhitā", | |
| "kanda_count": 20, | |
| "sukta_count": 730, | |
| "mantra_count": 5977, | |
| "domain": "Applied biomedical sciences, metallurgy, mechanical engineering, state governance, epidemiology, and pharmacopoeia.", | |
| "canonical_passages": [ | |
| { | |
| "name": "Bhaiṣajya Sūktas", | |
| "focus": "Herbal medicine, microbial pathogen treatment (Kṛmi-nāśana), and immune modulation." | |
| }, | |
| { | |
| "name": "Pṛthvī Sūkta (12.1)", | |
| "focus": "Ecosystem equilibrium, geology, mineralogy, and atmospheric preservation." | |
| } | |
| ] | |
| } | |
| ], | |
| "the_eighteen_mahapuranas": [ | |
| { | |
| "name": "Viṣṇu Purāṇa", | |
| "slokas": 23000, | |
| "theme": "Cosmology, solar system topology, planetary distances, and Kali Yuga chronology." | |
| }, | |
| { | |
| "name": "Śrīmad Bhāgavata Purāṇa", | |
| "slokas": 18000, | |
| "theme": "Atomic time (Paramāṇu-kāla), Sāṁkhya cosmic evolution matrix (Kapila-Devahūti dialogue)." | |
| }, | |
| { | |
| "name": "Nārada Purāṇa", | |
| "slokas": 25000, | |
| "theme": "Encyclopedic Vedāṅga survey: astronomy, mathematical calendar systems, and grammar." | |
| }, | |
| { | |
| "name": "Garuḍa Purāṇa", | |
| "slokas": 19000, | |
| "theme": "Bio-death transition, post-mortem neuro-biology, and gemology (Ratna-parīkṣā)." | |
| }, | |
| { | |
| "name": "Padma Purāṇa", | |
| "slokas": 55000, | |
| "theme": "Ancient global geography (Jambūdvīpa), botanical medicine, and ecological ethics." | |
| }, | |
| { | |
| "name": "Varāha Purāṇa", | |
| "slokas": 24000, | |
| "theme": "Oceanography, seabed topology, geological stratification, and earth restoration." | |
| }, | |
| { | |
| "name": "Śiva Purāṇa", | |
| "slokas": 24000, | |
| "theme": "Cosmic vibration (Nāda), Liṅga ontology, and the Pañcākṣara 5-element phase states." | |
| }, | |
| { | |
| "name": "Liṅga Purāṇa", | |
| "slokas": 11000, | |
| "theme": "The primordial pillar of energy (Jyotirlinga), thermal agni mechanics, and yogic absorption." | |
| }, | |
| { | |
| "name": "Skanda Purāṇa", | |
| "slokas": 81100, | |
| "theme": "Largest Purāṇa: vast historical geography, Himalayan geology, trade routes, and local histories." | |
| }, | |
| { | |
| "name": "Agni Purāṇa", | |
| "slokas": 15400, | |
| "theme": "The ancient scientific encyclopedia: metallurgy, archery, medicine, architecture, and Sanskrit grammar." | |
| }, | |
| { | |
| "name": "Matsya Purāṇa", | |
| "slokas": 14000, | |
| "theme": "Marine engineering, naval architecture, temple geometry (Vāstu-śāstra), and flood dynamics." | |
| }, | |
| { | |
| "name": "Kūrma Purāṇa", | |
| "slokas": 17000, | |
| "theme": "Geophysics, planetary equilibrium, and the Īśvara Gītā philosophical treatise." | |
| }, | |
| { | |
| "name": "Brahma Purāṇa", | |
| "slokas": 10000, | |
| "theme": "Primordial generation cycles, solar worship, and geomorphology of river basins." | |
| }, | |
| { | |
| "name": "Brahmāṇḍa Purāṇa", | |
| "slokas": 12000, | |
| "theme": "The Cosmic Egg (Brahmāṇḍa) astrophysics, Lalitā Sahasranāma, and biological lineages." | |
| }, | |
| { | |
| "name": "Brahma Vaivarta Purāṇa", | |
| "slokas": 18000, | |
| "theme": "Prakṛti atomic evolution, universal material manifestation, and harmonic acoustics." | |
| }, | |
| { | |
| "name": "Mārkaṇḍeya Purāṇa", | |
| "slokas": 9000, | |
| "theme": "Devī Māhātmya, psychological balance, and environmental ethics." | |
| }, | |
| { | |
| "name": "Bhaviṣya Purāṇa", | |
| "slokas": 14500, | |
| "theme": "Solar energy worship, technological trajectories, and sociopolitical evolution across ages." | |
| }, | |
| { | |
| "name": "Vāmana Purāṇa", | |
| "slokas": 10000, | |
| "theme": "Spatial expansion, sacred biogeography, and dimensional transformations." | |
| } | |
| ], | |
| "classical_samhitas": [ | |
| { | |
| "title": "Bṛhat Saṁhitā", | |
| "author": "Varāhamihira (6th century CE)", | |
| "chapters": 106, | |
| "domain": "Meteorology (Garbha-Lakṣaṇa rainfall forecasting), groundwater divining (Dakārgala), architecture (Vāstu), metallurgy, and gemology." | |
| }, | |
| { | |
| "title": "Agastya Saṁhitā (Vedic Electrochemical Cell)", | |
| "author": "Sage Agastya", | |
| "domain": "The Mitra-Varuṇa electrochemical battery: ceramic vessel + copper plate + copper sulfate + zinc amalgam generating continuous electric charge." | |
| }, | |
| { | |
| "title": "Rāvaṇa Saṁhitā & Arka-Prakāśa", | |
| "author": "King Rāvaṇa", | |
| "domain": "Tantric diagnosis, subconscious karmic patterns (Saṁskāras), volatile plant distillation, and mineral extracts." | |
| }, | |
| { | |
| "title": "Sūrya Siddhānta", | |
| "chapters": 14, | |
| "domain": "Astronomical constants (sidereal year = 365.258756 days), epicycles (Manda/Śīghra-phala), 24-interval sine tables, and eclipse prediction." | |
| }, | |
| { | |
| "title": "Caraka & Suśruta Saṁhitā", | |
| "domain": "Internal medicine (Kāyacikitsā), surgical intervention (Śalya-tantra), rhinoplasty, human anatomy, and toxicology." | |
| } | |
| ], | |
| "mukhya_upanishads": [ | |
| { | |
| "name": "Īśa", | |
| "theme": "Harmonization of temporal action with eternal consciousness." | |
| }, | |
| { | |
| "name": "Kena", | |
| "theme": "Recursive search for the unconditioned observer of cognition." | |
| }, | |
| { | |
| "name": "Kaṭha", | |
| "theme": "Dialogue on mortality, temporal decay, and the immortal self (Naciketas)." | |
| }, | |
| { | |
| "name": "Praśna", | |
| "theme": "Six fundamental physiological and metaphysical inquiries on Prāṇa." | |
| }, | |
| { | |
| "name": "Muṇḍaka", | |
| "theme": "Classification into Parā (higher non-dual) and Aparā (empirical/scientific) knowledge." | |
| }, | |
| { | |
| "name": "Māṇḍūkya", | |
| "theme": "The four states of consciousness (Waking, Dreaming, Deep Sleep, Turīya) mapped to A-U-M." | |
| }, | |
| { | |
| "name": "Taittirīya", | |
| "theme": "The five-sheath human architecture (Annamaya, Prāṇamaya, Manomaya, Vijñānamaya, Ānandamaya)." | |
| }, | |
| { | |
| "name": "Aitareya", | |
| "theme": "Cosmological genesis and the emergence of sensory faculties." | |
| }, | |
| { | |
| "name": "Chāndogya", | |
| "theme": "Universal sonic harmony and non-dual identity: 'Tat Tvam Asi' (Thou art That)." | |
| }, | |
| { | |
| "name": "Bṛhadāraṇyaka", | |
| "theme": "Sage Yājñavalkya's dialogues: Neti-Neti reductionism and the immortal reality." | |
| }, | |
| { | |
| "name": "Śvetāśvatara", | |
| "theme": "Synthesis of Sāṁkhya, Yoga, and non-dual cosmology." | |
| }, | |
| { | |
| "name": "Kauṣītaki", | |
| "theme": "Prāṇa as the primary vital substrate of consciousness." | |
| } | |
| ], | |
| "tantric_canons": [ | |
| { | |
| "title": "Vijñāna Bhairava Tantra", | |
| "tradition": "Trika Kashmir Shaivism", | |
| "dharana_count": 112, | |
| "domain": "112 neuro-cognitive gateways to collapse mental noise (Vikalpa) into pure awareness (Śūnya/Cit)." | |
| }, | |
| { | |
| "title": "Śiva Svarodaya", | |
| "domain": "Ultradian chronobiology: nasal cycle rhythms (Iḍā / Piṅgalā / Suṣumnā) governing optimal action timing." | |
| } | |
| ] | |
| } | |
| } |