Text Generation
Transformers
Safetensors
qwen2
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use dnhkng/RYS-XLarge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dnhkng/RYS-XLarge with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="dnhkng/RYS-XLarge") 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("dnhkng/RYS-XLarge") model = AutoModelForCausalLM.from_pretrained("dnhkng/RYS-XLarge", 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 dnhkng/RYS-XLarge with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "dnhkng/RYS-XLarge" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "dnhkng/RYS-XLarge", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/dnhkng/RYS-XLarge
- SGLang
How to use dnhkng/RYS-XLarge 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 "dnhkng/RYS-XLarge" \ --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": "dnhkng/RYS-XLarge", "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 "dnhkng/RYS-XLarge" \ --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": "dnhkng/RYS-XLarge", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use dnhkng/RYS-XLarge with Docker Model Runner:
docker model run hf.co/dnhkng/RYS-XLarge
Commit History
-
Update README.md
Verified signature501fcb2
-
Update README.md
Verified signature93ac2cf -
Update README.md
Verified signature90e0179 -
Update README.md
Verified signatureb6fc80a -
Update README.md
Verified signature3707c0e
-
Update README.md
Verified signaturea28de8f
-
Update README.md
Verified signature49bb146
-
Update README.md
Verified signaturea5b01cc
-
Update README.md
Verified signature5ce5c58
-
Update README.md
Verified signature619a854
-
Update README.md
Verified signaturebc36609 -
Update README.md
Verified signature4b576bf -
Update README.md
Verified signature718ef9a -
Update README.md
Verified signature91c3a06 -
Update README.md
Verified signatureba31b2e -
Update README.md
Verified signature3d6c3d0 -
Update README.md
Verified signature947936c -
Update README.md
Verified signature6fcbe5a -
Update README.md
Verified signature85d2956 -
Adding Evaluation Results (#1)
Verified signature- Adding Evaluation Results (3389fd27be147cb74388e14a199f1a23cedd87c5) Co-authored-by: Open LLM Leaderboard PR Bot <leaderboard-pr-bot@users.noreply.huggingface.co>e4c7d3d
-
Update README.md
Verified signatureb975338
-
Update README.md
Verified signature0f84dd9 -
Upload model-00004-of-00018.safetensors with huggingface_hub
Verified signaturedf7c236 -
Upload model-00018-of-00018.safetensors with huggingface_hub
Verified signature91dad04 -
Upload model-00008-of-00018.safetensors with huggingface_hub
Verified signaturea610982 -
Upload added_tokens.json with huggingface_hub
Verified signaturec09051e -
Upload model-00012-of-00018.safetensors with huggingface_hub
Verified signature90a37d4 -
Upload vocab.json with huggingface_hub
Verified signature6af29a8 -
Upload generation_config.json with huggingface_hub
Verified signature507b5eb -
Upload model-00014-of-00018.safetensors with huggingface_hub
Verified signaturea602510 -
Upload model-00015-of-00018.safetensors with huggingface_hub
Verified signaturee2ad78e -
Upload model-00007-of-00018.safetensors with huggingface_hub
Verified signature637533a -
Upload model-00006-of-00018.safetensors with huggingface_hub
Verified signature24373ee -
Upload model-00002-of-00018.safetensors with huggingface_hub
Verified signaturedaa4ff6 -
Upload model-00001-of-00018.safetensors with huggingface_hub
Verified signature289a6d2 -
Upload model-00010-of-00018.safetensors with huggingface_hub
Verified signature7bbbcb4 -
Upload model-00009-of-00018.safetensors with huggingface_hub
Verified signature7567207 -
Upload model-00011-of-00018.safetensors with huggingface_hub
Verified signature9d96104 -
Upload model-00005-of-00018.safetensors with huggingface_hub
Verified signature6859617 -
Upload config.json with huggingface_hub
Verified signatureafa5626 -
Upload model-00013-of-00018.safetensors with huggingface_hub
Verified signaturef38d190 -
Upload model-00017-of-00018.safetensors with huggingface_hub
Verified signature83a4bd5 -
Upload special_tokens_map.json with huggingface_hub
Verified signature9bff11a -
Upload model.safetensors.index.json with huggingface_hub
Verified signatureb419ec3 -
Upload tokenizer.json with huggingface_hub
Verified signature5420e50 -
Upload merges.txt with huggingface_hub
Verified signaturea14c0f6 -
Upload tokenizer_config.json with huggingface_hub
Verified signature1480594 -
Upload model-00003-of-00018.safetensors with huggingface_hub
Verified signature2fe0bf2 -
Upload model-00016-of-00018.safetensors with huggingface_hub
Verified signature87fc934 -
initial commit
Verified signatured68187e