Instructions to use jjszpak/SCAN-seq2seq-dc-15-epoch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jjszpak/SCAN-seq2seq-dc-15-epoch with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jjszpak/SCAN-seq2seq-dc-15-epoch")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("jjszpak/SCAN-seq2seq-dc-15-epoch") model = AutoModelForCausalLM.from_pretrained("jjszpak/SCAN-seq2seq-dc-15-epoch", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jjszpak/SCAN-seq2seq-dc-15-epoch with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jjszpak/SCAN-seq2seq-dc-15-epoch" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jjszpak/SCAN-seq2seq-dc-15-epoch", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/jjszpak/SCAN-seq2seq-dc-15-epoch
- SGLang
How to use jjszpak/SCAN-seq2seq-dc-15-epoch 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 "jjszpak/SCAN-seq2seq-dc-15-epoch" \ --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": "jjszpak/SCAN-seq2seq-dc-15-epoch", "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 "jjszpak/SCAN-seq2seq-dc-15-epoch" \ --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": "jjszpak/SCAN-seq2seq-dc-15-epoch", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use jjszpak/SCAN-seq2seq-dc-15-epoch with Docker Model Runner:
docker model run hf.co/jjszpak/SCAN-seq2seq-dc-15-epoch
Commit History
-
Training in progress, step 10000
Verified signatureeae6a45 -
Training in progress, step 9500
Verified signature954ada2 -
Training in progress, step 9000
Verified signatureff44c62 -
Training in progress, step 8500
Verified signaturedaa405a -
Training in progress, step 8000
Verified signatureb723d31 -
Training in progress, step 7500
Verified signature69ab1a1 -
Training in progress, step 7000
Verified signature452ae1d -
Training in progress, step 6500
Verified signatured690400 -
Training in progress, step 6000
Verified signature3f3dcf8 -
Training in progress, step 5500
Verified signaturef25dcde -
Training in progress, step 5000
Verified signature9b1a656 -
Training in progress, step 4500
Verified signature93255cb -
Training in progress, step 4000
Verified signature4be29c4 -
Training in progress, step 3500
Verified signaturebe33c62 -
Training in progress, step 3000
Verified signature37114ab -
Training in progress, step 2500
Verified signatured8d4408 -
Training in progress, step 2000
Verified signature384e35a -
Training in progress, step 1500
Verified signature03cbdd7 -
Training in progress, step 1000
Verified signaturedc706af -
Training in progress, step 500
Verified signature1e1836a -
fixed data collator trained on 15 epochs.
Verified signature450daa9 -
initial commit
Verified signature5f8c2f8