Text Generation
Transformers
Safetensors
Bengali
English
llama
bengali
bangla
bilingual
slm
base-model
mit-0
text-generation-inference
Instructions to use logicwahid/Kotha-S1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use logicwahid/Kotha-S1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="logicwahid/Kotha-S1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("logicwahid/Kotha-S1") model = AutoModelForCausalLM.from_pretrained("logicwahid/Kotha-S1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use logicwahid/Kotha-S1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "logicwahid/Kotha-S1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "logicwahid/Kotha-S1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/logicwahid/Kotha-S1
- SGLang
How to use logicwahid/Kotha-S1 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 "logicwahid/Kotha-S1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "logicwahid/Kotha-S1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "logicwahid/Kotha-S1" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "logicwahid/Kotha-S1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use logicwahid/Kotha-S1 with Docker Model Runner:
docker model run hf.co/logicwahid/Kotha-S1
Commit History
8 days ago
-
Update README.md
Verified signatureed484a2 -
Upload model.safetensors
Verified signature15b5cb5 -
Delete bilingual_tokenizer.json
4ec376c -
Delete bangladesh_1971_2026_dataset.json
7f59508 -
Delete prepared
16acfa1 -
Delete data
122559c -
Update README.md model card
b217254 -
Kotha-S1 model weights — tokenizer_config.json
099aa2d -
Kotha-S1 model weights — tokenizer.json
c20e353 -
Kotha-S1 model weights — config.json
2935f93 -
Add raw QA dataset JSONL
df040fb
9 days ago
-
Update README.md
6007c76 -
Update README.md
a3e647d -
Create LICENSE
9ced825 -
Update README.md
6600beb -
Bilingual BN+EN tokenizer (32000 tokens)
ca6f0b7 -
Add dataset card
0b75f73 -
Update bangladesh_1971_2026_dataset.json
9c539f1 -
Upload bangladesh_1971_2026_dataset.json
951cadd -
initial commit
06cdf45