Instructions to use NECOUDBFM/Jellyfish-13B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NECOUDBFM/Jellyfish-13B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NECOUDBFM/Jellyfish-13B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("NECOUDBFM/Jellyfish-13B") model = AutoModelForCausalLM.from_pretrained("NECOUDBFM/Jellyfish-13B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use NECOUDBFM/Jellyfish-13B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NECOUDBFM/Jellyfish-13B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NECOUDBFM/Jellyfish-13B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/NECOUDBFM/Jellyfish-13B
- SGLang
How to use NECOUDBFM/Jellyfish-13B 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 "NECOUDBFM/Jellyfish-13B" \ --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": "NECOUDBFM/Jellyfish-13B", "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 "NECOUDBFM/Jellyfish-13B" \ --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": "NECOUDBFM/Jellyfish-13B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use NECOUDBFM/Jellyfish-13B with Docker Model Runner:
docker model run hf.co/NECOUDBFM/Jellyfish-13B
Commit History
-
Update README.md
Verified signatureb594a0a -
Update README.md
Verified signature077a231
-
Update README.md
Verified signature78eff7e -
Update README.md
Verified signature885646c -
Update README.md
Verified signature7670d65 -
Update README.md
Verified signatureaa07e94 -
Update README.md
Verified signaturef036f7b
-
Update README.md
Verified signature8de1955 -
Update README.md
Verified signatured29d19e
-
Update README.md
Verified signature0523dae
-
Update README.md
Verified signatureffabe3e -
Update README.md
Verified signature4d96901 -
Update README.md
Verified signaturebabbb41 -
Update README.md
Verified signature1aede27
-
Update README.md (#1)
Verified signature- Update README.md (127b1342f531335c61e58c7f106a66858063b558) Co-authored-by: Chuan Xiao <chuanxiao1983@users.noreply.huggingface.co>958b1ca
-
Update README.md
Verified signatureb722580 -
Update README.md
Verified signature2223231
-
Update README.md
Verified signature5d17686 -
Update README.md
Verified signature84e7dc0 -
Update README.md
Verified signatureed22252 -
Update README.md
Verified signature304e7d4 -
Update README.md
Verified signatureb8414c1 -
Update README.md
Verified signaturenew jellyfish picture51ec205
-
update jellyfish to v1.1
33e7aa1 -
Delete pytorch_model-00003-of-00003.bin
a5cca90 -
Delete pytorch_model-00002-of-00003.bin
b83dd08 -
Delete pytorch_model-00001-of-00003.bin
e0542a6 -
Upload added_tokens.json
730f9f4 -
Upload tokenizer.model
c0bc3d9 -
Upload tokenizer.json
e4a9fe5 -
Delete tokenizer.json
ae8068f -
Update tokenizer_config.json
940c403 -
Update special_tokens_map.json
e106293 -
Upload pytorch_model.bin.index.json
af61c57 -
Delete pytorch_model.bin.index.json
38e29c7 -
Update generation_config.json
eb9295d
-
Update README.md
a3886f0
-
update Jellyfish to 1.1
7929c4a -
Update README.md
0a3ec85 -
Update README.md
9de1c20 -
Delete tokenizer.model
1b77441 -
Delete tokenizer_config.json
eeebd6f -
Delete tokenizer.json
75bc877 -
Delete special_tokens_map.json
8dd7483 -
Delete pytorch_model.bin.index.json
b4e5f4d -
Delete pytorch_model-00003-of-00003.bin
43c6238 -
Delete pytorch_model-00002-of-00003.bin
bdd0315 -
Delete pytorch_model-00001-of-00003.bin
719cbe1 -
Delete generation_config.json
40a55b9 -
Delete config.json
44d93fa