Text Generation
Transformers
PyTorch
Arabic
English
jais
Arabic
English
LLM
Decoder
causal-lm
custom_code
Instructions to use inceptionai/jais-13b-chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inceptionai/jais-13b-chat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="inceptionai/jais-13b-chat", trust_remote_code=True)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("inceptionai/jais-13b-chat", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use inceptionai/jais-13b-chat with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "inceptionai/jais-13b-chat" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "inceptionai/jais-13b-chat", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/inceptionai/jais-13b-chat
- SGLang
How to use inceptionai/jais-13b-chat 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 "inceptionai/jais-13b-chat" \ --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": "inceptionai/jais-13b-chat", "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 "inceptionai/jais-13b-chat" \ --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": "inceptionai/jais-13b-chat", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use inceptionai/jais-13b-chat with Docker Model Runner:
docker model run hf.co/inceptionai/jais-13b-chat
Request: DOI
#40 opened about 2 months ago
by
Shugshahahugs
Request: DOI
#39 opened 11 months ago
by
sanad973
What am i doing wrong?
#38 opened 11 months ago
by
ILTRENTA
add AIBOM
#37 opened 11 months ago
by
RiccardoDav
Request: DOI
#36 opened about 1 year ago
by
abhmulla
Request: DOI
#35 opened about 1 year ago
by
alishanaa
Adding `safetensors` variant of this model
#33 opened over 1 year ago
by
SFconvertbot
Add chat template to tokenizer
2
#32 opened almost 2 years ago
by
mouhandalkadri
Adding `safetensors` variant of this model
#31 opened almost 2 years ago
by
SFconvertbot
Update requirements.txt
#30 opened almost 2 years ago
by
lumen-it
Runtime Error
1
#28 opened about 2 years ago
by
prudhvi95
I am unable to deploy the model for inference.
1
#27 opened about 2 years ago
by
quickbenx
Update requirements.txt
#26 opened about 2 years ago
by
quickbenx
كتابة script
#25 opened about 2 years ago
by
AyaBashandy
Failed to deploy on Inference Endpoints.
😔 2
1
#24 opened about 2 years ago
by
yongyi169
Add default chat template to tokenizer_config.json
#23 opened over 2 years ago
by
Xenova
Finetuning
👍 2
1
#21 opened over 2 years ago
by
erfanvaredi
Chat parameters
#20 opened over 2 years ago
by
oFDz
Deploying on AWS Sagemaker
#19 opened over 2 years ago
by
Ahsan1741
Adding `safetensors` variant of this model
#18 opened over 2 years ago
by
derek-thomas
error when using `.save_pretrained` due to the non-contiguous tensor
#17 opened over 2 years ago
by
faris98
[AUTOMATED] Model Memory Requirements
#16 opened over 2 years ago
by
model-sizer-bot
Any plans to release the 70b version?
1
#15 opened over 2 years ago
by
Komposter43
Updating `hidden_states` value in line 869
2
#14 opened over 2 years ago
by
alielfilali01
fine-tune the chat model on further insturctions
❤️👍 7
5
#13 opened over 2 years ago
by
Zaid
deploy the model on cloud machine
4
#11 opened over 2 years ago
by
MazenSiraj
Any plans to release the evaluation data or evaluate AraGPT2 1.5B ?
5
#10 opened over 2 years ago
by
wissamantoun
Supporting the model on text-generation-inference server
4
#8 opened over 2 years ago
by
rsalshalan
Source code
3
#7 opened over 2 years ago
by
adlane22
English comma in generated Arabic text
1
#6 opened over 2 years ago
by
akhooli
Runtime error Space evicted, storage limit exceeded (50G)
1
#5 opened over 2 years ago
by
Ibrahemqasim
Quantized Versions of jais-13b-chat
4
#4 opened over 2 years ago
by
haouarin
ترحيب
1
#2 opened over 2 years ago
by
DrAbdelraman
inference endpoint issues
4
#1 opened over 2 years ago
by
Samihmd