Text Generation
Transformers
Safetensors
GGUF
qwen2
Generated from Trainer
quantized
inference
text-generation-inference
conversational
Instructions to use Wade5/MyModel2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Wade5/MyModel2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Wade5/MyModel2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Wade5/MyModel2") model = AutoModelForCausalLM.from_pretrained("Wade5/MyModel2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Wade5/MyModel2 with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf Wade5/MyModel2 # Run inference directly in the terminal: llama cli -hf Wade5/MyModel2
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Wade5/MyModel2 # Run inference directly in the terminal: llama cli -hf Wade5/MyModel2
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf Wade5/MyModel2 # Run inference directly in the terminal: ./build/bin/llama cli -hf Wade5/MyModel2
Use Docker
docker model run hf.co/Wade5/MyModel2
- Llama new
- LM Studio
- Jan
- vLLM
How to use Wade5/MyModel2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Wade5/MyModel2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Wade5/MyModel2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Wade5/MyModel2
- SGLang
How to use Wade5/MyModel2 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 "Wade5/MyModel2" \ --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": "Wade5/MyModel2", "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 "Wade5/MyModel2" \ --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": "Wade5/MyModel2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use Wade5/MyModel2 with Ollama:
ollama run hf.co/Wade5/MyModel2
- Unsloth Desktop
- Docker Model Runner
How to use Wade5/MyModel2 with Docker Model Runner:
docker model run hf.co/Wade5/MyModel2
- Lemonade
How to use Wade5/MyModel2 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Wade5/MyModel2
Run and chat with the model
lemonade run user.MyModel2-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Commit History
-
Update README.md
Verified signature703f1ba -
Upload first.gguf with huggingface_hub
Verified signature9edf21e
-
End of training
Verified signatured74e26a -
Training in progress, step 9285
Verified signature29e0512 -
Training in progress, step 9000
Verified signaturec3a45d3 -
Training in progress, step 8500
Verified signature9e5ba88 -
Training in progress, step 8000
Verified signature44b5386 -
Training in progress, step 7500
Verified signature8474569 -
Training in progress, step 7000
Verified signature767529c -
Training in progress, step 6500
Verified signatured0fe879 -
Training in progress, step 6000
Verified signatureb288649 -
Training in progress, step 5500
Verified signatured56a7b7 -
Training in progress, step 5000
Verified signature6141038 -
Training in progress, step 4500
Verified signature5bd1e0c -
Training in progress, step 4000
Verified signature5685c67 -
Training in progress, step 3500
Verified signature4228571 -
Training in progress, step 3000
Verified signatureb3d17ad -
Training in progress, step 2500
Verified signaturefd2732a -
Training in progress, step 2000
Verified signature0694d69 -
Training in progress, step 1500
Verified signature5509073 -
Training in progress, step 1000
Verified signature4bddf94 -
Training in progress, step 500
Verified signaturefed2b40 -
initial commit
Verified signature525ddc7