Run this model with HF Jobs
Run DebateLabKIT/cript on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/DebateLabKIT/cript. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/DebateLabKIT/cript on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/DebateLabKIT/cript. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/DebateLabKIT/cript. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use DebateLabKIT/cript with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DebateLabKIT/cript with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DebateLabKIT/cript")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DebateLabKIT/cript") model = AutoModelForCausalLM.from_pretrained("DebateLabKIT/cript", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DebateLabKIT/cript with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DebateLabKIT/cript" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DebateLabKIT/cript", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/DebateLabKIT/cript
- SGLang
How to use DebateLabKIT/cript 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 "DebateLabKIT/cript" \ --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": "DebateLabKIT/cript", "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 "DebateLabKIT/cript" \ --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": "DebateLabKIT/cript", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use DebateLabKIT/cript with Docker Model Runner:
docker model run hf.co/DebateLabKIT/cript
Commit ·
bca488f
1
Parent(s): 35f6dff
upload model
Browse filesFiles changed (4)
- config.jsonAdded+33
- log_history.jsonAdded+65
- pytorch_model.binAdded+3
- training_args.binAdded+3
123456789101112131415161718192021222324252627282930313233{ "activation_function": "gelu_new", "architectures": [ "GPT2LMHeadModel" ], "attn_pdrop": 0.1, "bos_token_id": 50256, "embd_pdrop": 0.1, "eos_token_id": 50256, "gradient_checkpointing": false, "initializer_range": 0.02, "layer_norm_epsilon": 1e-05, "model_type": "gpt2", "n_ctx": 1024, "n_embd": 768, "n_head": 12, "n_inner": null, "n_layer": 12, "n_positions": 1024, "resid_pdrop": 0.1, "summary_activation": null, "summary_first_dropout": 0.1, "summary_proj_to_labels": true, "summary_type": "cls_index", "summary_use_proj": true, "task_specific_params": { "text-generation": { "do_sample": true, "max_length": 50 } }, "vocab_size": 50257}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465[ { "loss": 2.096086181640625, "learning_rate": 4.4444444444444447e-05, "epoch": 0.2222222222222222, "total_flos": 1529116360704000, "step": 500 }, { "loss": 1.851991455078125, "learning_rate": 3.888888888888889e-05, "epoch": 0.4444444444444444, "total_flos": 3058232721408000, "step": 1000 }, { "loss": 1.8009189453125, "learning_rate": 3.3333333333333335e-05, "epoch": 0.6666666666666666, "total_flos": 4587349082112000, "step": 1500 }, { "loss": 1.770126953125, "learning_rate": 2.777777777777778e-05, "epoch": 0.8888888888888888, "total_flos": 6116465442816000, "step": 2000 }, { "loss": 1.71751513671875, "learning_rate": 2.2222222222222223e-05, "epoch": 1.1111111111111112, "total_flos": 7645581803520000, "step": 2500 }, { "loss": 1.6680078125, "learning_rate": 1.6666666666666667e-05, "epoch": 1.3333333333333333, "total_flos": 9174698164224000, "step": 3000 }, { "loss": 1.6722744140625, "learning_rate": 1.1111111111111112e-05, "epoch": 1.5555555555555556, "total_flos": 10703814524928000, "step": 3500 }, { "loss": 1.64707421875, "learning_rate": 5.555555555555556e-06, "epoch": 1.7777777777777777, "total_flos": 12232930885632000, "step": 4000 }, { "loss": 1.667453125, "learning_rate": 0.0, "epoch": 2.0, "total_flos": 13762047246336000, "step": 4500 }]123version https://git-lfs.github.com/spec/v1oid sha256:2fab882c102a886c158d75de18e0da94758910a3824990d6f48dc6da5dad62c1size 510408315123version https://git-lfs.github.com/spec/v1oid sha256:d15a1dac50e52ee2caa4bd7846d36b52cc7afcb4742d5640a035f519c10e2823size 1839config.jsonAdded+33
log_history.jsonAdded+65
pytorch_model.binAdded+3
training_args.binAdded+3