Text Generation
Transformers
Safetensors
Portuguese
English
qwen3
pt-br
portuguese
brazilian-portuguese
conversational
chatbot
persona
qwen2
qwen2.5
unsloth
4-bit precision
bitsandbytes
Instructions to use Madras1/Jade8b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Madras1/Jade8b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Madras1/Jade8b") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Madras1/Jade8b") model = AutoModelForCausalLM.from_pretrained("Madras1/Jade8b", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Madras1/Jade8b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Madras1/Jade8b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Madras1/Jade8b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Madras1/Jade8b
- SGLang
How to use Madras1/Jade8b 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 "Madras1/Jade8b" \ --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": "Madras1/Jade8b", "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 "Madras1/Jade8b" \ --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": "Madras1/Jade8b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use Madras1/Jade8b with Docker Model Runner:
docker model run hf.co/Madras1/Jade8b
Commit History
-
Update README.md
Verified signature5d9fa3f
-
Update README.md
Verified signaturec7a0b30 -
Update README.md
Verified signature072ce42
-
Upload README.md
Verified signature8c3221c -
Upload tokenizer
Verified signature78f6976 -
Upload Qwen3ForCausalLM
Verified signature198f7b2 -
Delete vocab.json with huggingface_hub
Verified signaturec794d95 -
Delete tokenizer_config.json with huggingface_hub
Verified signature2ceeec4 -
Delete tokenizer.json with huggingface_hub
Verified signature8018d26 -
Delete special_tokens_map.json with huggingface_hub
Verified signature669c831 -
Delete model.safetensors.index.json with huggingface_hub
Verified signature05760cf -
Delete model-00004-of-00004.safetensors with huggingface_hub
Verified signaturef763b71 -
Delete model-00003-of-00004.safetensors with huggingface_hub
Verified signature1aaf551 -
Delete model-00002-of-00004.safetensors with huggingface_hub
Verified signature1d88c1d -
Delete model-00001-of-00004.safetensors with huggingface_hub
Verified signature5b41bee -
Delete merges.txt with huggingface_hub
Verified signature6ad6dd3 -
Delete generation_config.json with huggingface_hub
Verified signature25ff0c0 -
Delete config.json with huggingface_hub
Verified signaturea835dfc -
Delete chat_template.jinja with huggingface_hub
Verified signature9b43998 -
Delete added_tokens.json with huggingface_hub
Verified signaturef5e3190 -
Delete README.md with huggingface_hub
Verified signature66480b8 -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterc6550eb -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterc1ecb8b -
Unsloth Model Card
Verified signaturebb52486 -
Delete vocab.json with huggingface_hub
Verified signatureb8119cb -
Delete tokenizer_config.json with huggingface_hub
Verified signature5eb16e3 -
Delete tokenizer.json with huggingface_hub
Verified signature88de207 -
Delete special_tokens_map.json with huggingface_hub
Verified signaturebb2ec8e -
Delete model.safetensors.index.json with huggingface_hub
Verified signature0d2d2e5 -
Delete model-00004-of-00004.safetensors with huggingface_hub
Verified signature06ddbe0 -
Delete model-00003-of-00004.safetensors with huggingface_hub
Verified signature901a294 -
Delete model-00002-of-00004.safetensors with huggingface_hub
Verified signaturea8c3944 -
Delete model-00002-of-00002.safetensors with huggingface_hub
Verified signatureb36f558 -
Delete model-00001-of-00004.safetensors with huggingface_hub
Verified signature26de95b -
Delete model-00001-of-00002.safetensors with huggingface_hub
Verified signature951e534 -
Delete merges.txt with huggingface_hub
Verified signature3f7df5c -
Delete generation_config.json with huggingface_hub
Verified signature073f1bb -
Delete config.json with huggingface_hub
Verified signatureb753c67 -
Delete chat_template.jinja with huggingface_hub
Verified signature3c5910e -
Delete added_tokens.json with huggingface_hub
Verified signature5da5660 -
Delete README.md with huggingface_hub
Verified signature0fa0b5d -
Upload model trained with Unsloth
Verified signatureUpload model trained with Unsloth 2x fasterd9966d6 -
Upload folder using huggingface_hub
Verified signaturef1782b1 -
Delete model-00002-of-00002.safetensors with huggingface_hub
Verified signature218e521 -
Delete model-00001-of-00002.safetensors with huggingface_hub
Verified signature9b423a6 -
Delete model-00004-of-00004.safetensors with huggingface_hub
Verified signaturee263479 -
Delete model-00003-of-00004.safetensors with huggingface_hub
Verified signature01d3a62 -
Delete model-00002-of-00004.safetensors with huggingface_hub
Verified signaturee1f36ae -
Delete model-00001-of-00004.safetensors with huggingface_hub
Verified signature733b3d3 -
Upload folder using huggingface_hub
Verified signatureb33436e