Text Generation
Transformers
Safetensors
English
qwen2
chat
conversational
gilgamesh
gammacorpus
text-generation-inference
Instructions to use rubenroy/Gilgamesh-72B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rubenroy/Gilgamesh-72B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="rubenroy/Gilgamesh-72B") 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("rubenroy/Gilgamesh-72B") model = AutoModelForCausalLM.from_pretrained("rubenroy/Gilgamesh-72B", 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 rubenroy/Gilgamesh-72B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "rubenroy/Gilgamesh-72B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "rubenroy/Gilgamesh-72B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/rubenroy/Gilgamesh-72B
- SGLang
How to use rubenroy/Gilgamesh-72B 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 "rubenroy/Gilgamesh-72B" \ --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": "rubenroy/Gilgamesh-72B", "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 "rubenroy/Gilgamesh-72B" \ --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": "rubenroy/Gilgamesh-72B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use rubenroy/Gilgamesh-72B with Docker Model Runner:
docker model run hf.co/rubenroy/Gilgamesh-72B
Commit History
-
Update tokenizer_config.json
Verified signature2c407cf -
Update README.md
Verified signatured1da85d -
Update README.md
Verified signature6748d55 -
Upload 8 files
Verified signature9bb74a5 -
Upload model-00031-of-00031.safetensors with huggingface_hub
Verified signaturede58727 -
Upload model-00030-of-00031.safetensors with huggingface_hub
Verified signature3efd97d -
Upload model-00029-of-00031.safetensors with huggingface_hub
Verified signature329de8a -
Upload model-00028-of-00031.safetensors with huggingface_hub
Verified signature226f055 -
Upload model-00027-of-00031.safetensors with huggingface_hub
Verified signature49efe79 -
Upload model-00026-of-00031.safetensors with huggingface_hub
Verified signaturee2434cf -
Upload model-00025-of-00031.safetensors with huggingface_hub
Verified signatureba727df -
Upload model-00024-of-00031.safetensors with huggingface_hub
Verified signature1a0919a
-
Upload model-00023-of-00031.safetensors with huggingface_hub
Verified signature806823a -
Upload model-00022-of-00031.safetensors with huggingface_hub
Verified signature8d9a1a4 -
Upload model-00021-of-00031.safetensors with huggingface_hub
Verified signature5e6920e -
Upload model-00020-of-00031.safetensors with huggingface_hub
Verified signature64fd325 -
Upload model-00019-of-00031.safetensors with huggingface_hub
Verified signature5c3c141 -
Upload model-00018-of-00031.safetensors with huggingface_hub
Verified signaturebb2a382 -
Upload model-00017-of-00031.safetensors with huggingface_hub
Verified signaturef1ae184 -
Upload model-00016-of-00031.safetensors with huggingface_hub
Verified signaturef09c629 -
Upload model-00015-of-00031.safetensors with huggingface_hub
Verified signature9ea4c9d -
Upload model-00014-of-00031.safetensors with huggingface_hub
Verified signature2f0c68f -
Upload model-00013-of-00031.safetensors with huggingface_hub
Verified signature8f3e3b8 -
Upload model-00012-of-00031.safetensors with huggingface_hub
Verified signatured4b6051 -
Upload model-00011-of-00031.safetensors with huggingface_hub
Verified signature8ea0f51 -
Upload model-00010-of-00031.safetensors with huggingface_hub
Verified signaturec4d6165 -
Upload model-00009-of-00031.safetensors with huggingface_hub
Verified signature2f9065b -
Upload model-00008-of-00031.safetensors with huggingface_hub
Verified signature32cf0f4 -
Upload model-00007-of-00031.safetensors with huggingface_hub
Verified signaturefa015af -
Upload model-00006-of-00031.safetensors with huggingface_hub
Verified signaturec9eae66 -
Upload model-00005-of-00031.safetensors with huggingface_hub
Verified signature06e0d75 -
Upload model-00004-of-00031.safetensors with huggingface_hub
Verified signature3c4b842 -
Upload model-00003-of-00031.safetensors with huggingface_hub
Verified signature5e57401 -
Upload model-00002-of-00031.safetensors with huggingface_hub
Verified signaturee91096d -
Upload model-00001-of-00031.safetensors with huggingface_hub
Verified signature4b8517e
-
Update README.md
Verified signature4808f8b -
Update README.md
Verified signature9f2ae1d -
Update README.md
Verified signature479ec22 -
initial commit
Verified signature97d732c