Text Generation
Transformers
Safetensors
mistral
Merge
mergekit
lazymergekit
viethq188/LeoScorpius-7B-Chat-DPO
GreenNode/GreenNode-mini-7B-multilingual-v1olet
text-generation-inference
Instructions to use powermove72/GreenScorpius2-xb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use powermove72/GreenScorpius2-xb with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="powermove72/GreenScorpius2-xb")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("powermove72/GreenScorpius2-xb") model = AutoModelForCausalLM.from_pretrained("powermove72/GreenScorpius2-xb") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use powermove72/GreenScorpius2-xb with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "powermove72/GreenScorpius2-xb" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "powermove72/GreenScorpius2-xb", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/powermove72/GreenScorpius2-xb
- SGLang
How to use powermove72/GreenScorpius2-xb 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 "powermove72/GreenScorpius2-xb" \ --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": "powermove72/GreenScorpius2-xb", "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 "powermove72/GreenScorpius2-xb" \ --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": "powermove72/GreenScorpius2-xb", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use powermove72/GreenScorpius2-xb with Docker Model Runner:
docker model run hf.co/powermove72/GreenScorpius2-xb
Ctrl+K
- 1.52 kB
- 1.61 kB
- 663 Bytes
- 266 Bytes
- 961 MB xet
- 906 MB xet
- 990 MB xet
- 998 MB xet
- 982 MB xet
- 923 MB xet
- 990 MB xet
- 990 MB xet
- 990 MB xet
- 990 MB xet
- 956 MB xet
- 990 MB xet
- 990 MB xet
- 990 MB xet
- 990 MB xet
- 998 MB xet
- 990 MB xet
- 914 MB xet
- 990 MB xet
- 990 MB xet
- 998 MB xet
- 948 MB xet
- 872 MB xet
- 35.5 kB
- 487 Bytes
- 1.8 MB
- 1.07 kB