Text Generation
Transformers
TensorBoard
Safetensors
opt
Generated from Trainer
text-generation-inference
Instructions to use ccore/getcode with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ccore/getcode with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ccore/getcode")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ccore/getcode") model = AutoModelForCausalLM.from_pretrained("ccore/getcode", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ccore/getcode with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ccore/getcode" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ccore/getcode", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ccore/getcode
- SGLang
How to use ccore/getcode 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 "ccore/getcode" \ --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": "ccore/getcode", "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 "ccore/getcode" \ --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": "ccore/getcode", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ccore/getcode with Docker Model Runner:
docker model run hf.co/ccore/getcode
Commit History
-
Training in progress, epoch 18, checkpoint
Verified signature14f77eb -
Training in progress, epoch 18
Verified signaturef4d5dbe -
Training in progress, epoch 17, checkpoint
Verified signaturea204d9e -
Training in progress, epoch 17
Verified signature92521e9 -
Training in progress, epoch 16, checkpoint
Verified signaturecdd3998 -
Training in progress, epoch 16
Verified signature5e015d5 -
Training in progress, epoch 15, checkpoint
Verified signature9d16720 -
Training in progress, epoch 15
Verified signatureb51b594 -
Training in progress, epoch 14, checkpoint
Verified signature9c1e38a -
Training in progress, epoch 14
Verified signaturefd97e04 -
Training in progress, epoch 13, checkpoint
Verified signaturecd0ff1c -
Training in progress, epoch 13
Verified signature5e73edb -
Training in progress, epoch 12, checkpoint
Verified signature14a3284 -
Training in progress, epoch 12
Verified signature50fc6da -
Training in progress, epoch 11, checkpoint
Verified signature3a9b24a -
Training in progress, epoch 11
Verified signature6eeb2bc -
Training in progress, epoch 10, checkpoint
Verified signaturefa43713 -
Training in progress, epoch 10
Verified signatureb2b3be8 -
Training in progress, epoch 9, checkpoint
Verified signature5efe4fa -
Training in progress, epoch 9
Verified signaturedc41ec0 -
Training in progress, epoch 8, checkpoint
Verified signature0f499a9 -
Training in progress, epoch 8
Verified signaturee593e09 -
Training in progress, epoch 7, checkpoint
Verified signature2706a07 -
Training in progress, epoch 7
Verified signature583fca6 -
Training in progress, epoch 6, checkpoint
Verified signature9cbd46a -
Training in progress, epoch 6
Verified signaturee44efee -
Training in progress, epoch 5, checkpoint
Verified signature034edc6 -
Training in progress, epoch 5
Verified signaturebf4f3cb -
Training in progress, epoch 4, checkpoint
Verified signature07c1929 -
Training in progress, epoch 4
Verified signature69a8bb7 -
Training in progress, epoch 3, checkpoint
Verified signature0db0f18 -
Training in progress, epoch 3
Verified signatureb87dc89 -
Training in progress, epoch 2, checkpoint
Verified signature5432bb7 -
Training in progress, epoch 2
Verified signatureaff65fb -
Training in progress, epoch 1, checkpoint
Verified signature90f6285 -
Training in progress, epoch 1
Verified signaturea98f19c -
Upload OPTForCausalLM
Verified signature4545e03 -
Upload tokenizer
Verified signature2b605a4 -
initial commit
Verified signaturee6dbcc7