Text Generation
Transformers
Safetensors
Hindi
English
parambharatgen
Ayurvedic
conversational
custom_code
Instructions to use bharatgenai/AyurParam with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bharatgenai/AyurParam with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="bharatgenai/AyurParam", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("bharatgenai/AyurParam", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use bharatgenai/AyurParam with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bharatgenai/AyurParam" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bharatgenai/AyurParam", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/bharatgenai/AyurParam
- SGLang
How to use bharatgenai/AyurParam 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 "bharatgenai/AyurParam" \ --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": "bharatgenai/AyurParam", "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 "bharatgenai/AyurParam" \ --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": "bharatgenai/AyurParam", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use bharatgenai/AyurParam with Docker Model Runner:
docker model run hf.co/bharatgenai/AyurParam
| BharatGen Research License (BRL) | |
| Last Updated: August 7, 2025 | |
| Note: This license is subject to change. Please refer to the latest version before using any BharatGen resource. | |
| 1. Scope and Acceptance | |
| - This license applies to any use, modification, or distribution of BharatGen Models, Derivatives, or Outputs. | |
| - By accessing, using, modifying, or distributing a BharatGen Model or its Derivatives, or by creating Outputs from them, you agree to be bound by this License. | |
| - If you accept on behalf of an organization, you represent that you have authority to do so. | |
| 2. Permitted Use | |
| - You are granted a non-exclusive, non-transferable, royalty-free license to use, modify, and distribute BharatGen Models and Derivatives strictly for non-commercial research and academic purposes. | |
| - You must retain the following notice in all copies and distributions: | |
| "Licensed by BharatGen under the BharatGen Research License." | |
| - If you create Derivatives, you must clearly indicate that modifications were made by you. | |
| - You must not use BharatGen Models, Derivatives, or Outputs for any commercial purposes without prior written permission from the BharatGen legal team. | |
| 3. Commercial Use & Modifications | |
| - Commercial use is strictly prohibited unless you obtain explicit written permission from the BharatGen legal team. | |
| - If you wish to release, share, publish, fine-tune, or deploy any BharatGen Models or Derivatives (including Outputs) publicly, you must request and receive written approval from the BharatGen team. | |
| Please reach out via our contact form or designated email. | |
| 4. Limitations | |
| - You must not claim that your modifications, Derivatives, or Outputs are official BharatGen products. | |
| - You may not use BharatGen resources for any unlawful or unethical purposes. | |
| - Redistribution of BharatGen resources through SaaS, APIs, or any hosted service—even for free—requires permission. | |
| 5. Outputs | |
| - You own the content (Outputs) you generate using BharatGen models, subject to the non-commercial restriction. | |
| - You are fully responsible for the Outputs you generate and their usage. | |
| 6. Disclaimer & Liability | |
| - BharatGen resources are provided "AS IS", without warranties of any kind. | |
| - The BharatGen team are not liable for any damages arising from the use of BharatGen Models, Derivatives, or Outputs. | |
| 7. Termination | |
| - This license is valid until terminated. | |
| - It will terminate immediately if you breach any of its terms. Upon termination, you must stop using and delete all copies of the Models and Derivatives. | |
| 8. Jurisdiction | |
| This License is governed by the laws of India. Any disputes shall be subject to the courts of India. | |
| Definitions | |
| BharatGen Model: Any model, code, data, or related resource released under this license. | |
| Derivative: Any modification, fine-tuning, or adaptation of a BharatGen Model. | |
| Output: Any result generated by running a BharatGen Model. | |
| You: Any individual or organization using BharatGen resources. | |
| Non-commercial research: Use in academic, personal, or scientific contexts not intended to generate revenue. | |
| If you have questions or require a commercial license, please contact the BharatGen team. |