Run this model with HF Jobs
Run Nared45/TOEIC_Part2_distractor 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/Nared45/TOEIC_Part2_distractor. 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/Nared45/TOEIC_Part2_distractor 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/Nared45/TOEIC_Part2_distractor. 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/Nared45/TOEIC_Part2_distractor. 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 Nared45/TOEIC_Part2_distractor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Nared45/TOEIC_Part2_distractor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Nared45/TOEIC_Part2_distractor")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Nared45/TOEIC_Part2_distractor") model = AutoModelForCausalLM.from_pretrained("Nared45/TOEIC_Part2_distractor", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Nared45/TOEIC_Part2_distractor with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Nared45/TOEIC_Part2_distractor" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Nared45/TOEIC_Part2_distractor", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Nared45/TOEIC_Part2_distractor
- SGLang
How to use Nared45/TOEIC_Part2_distractor 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 "Nared45/TOEIC_Part2_distractor" \ --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": "Nared45/TOEIC_Part2_distractor", "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 "Nared45/TOEIC_Part2_distractor" \ --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": "Nared45/TOEIC_Part2_distractor", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Nared45/TOEIC_Part2_distractor with Docker Model Runner:
docker model run hf.co/Nared45/TOEIC_Part2_distractor
Upload LlamaForCausalLM
Browse filesFiles changed (5)
23 unmodified lines2425262728293023 unmodified lines"rope_theta": 10000.0,"tie_word_embeddings": false,"torch_dtype": "float16","transformers_version": "4.43.2","use_cache": true,"vocab_size": 32000}23 unmodified lines2425262728293023 unmodified lines"rope_theta": 10000.0,"tie_word_embeddings": false,"torch_dtype": "float16","transformers_version": "4.44.0","use_cache": true,"vocab_size": 32000}
5 unmodified lines6789105 unmodified lines"pad_token_id": 32000,"temperature": 0.9,"top_p": 0.6,"transformers_version": "4.43.2"}5 unmodified lines6789105 unmodified lines"pad_token_id": 32000,"temperature": 0.9,"top_p": 0.6,"transformers_version": "4.44.0"}
123version https://git-lfs.github.com/spec/v1oid sha256:a953533c92bf2acbbcb250bd4317cdf7613746feeb19690332a04dc6f97c15e1size 4938985248123version https://git-lfs.github.com/spec/v1oid sha256:a2409ff768e70bfbd538c677a24ff8733b773ed11cd34bfddb1acf44be7f0113size 4938985248
123version https://git-lfs.github.com/spec/v1oid sha256:544fc86978869dac75fc46bb05a0aca06d169313e65fb8302a32cbef89c8159bsize 4947390768123version https://git-lfs.github.com/spec/v1oid sha256:ded2df49131851611de01f27852110d5c6b991c0af1260696a8d7662a4a2b6cesize 4947390768
123version https://git-lfs.github.com/spec/v1oid sha256:7ab175a613aa7d72be676b72e1f9c7e16920b4722fce06ac76797116cc9303c8size 3590488736123version https://git-lfs.github.com/spec/v1oid sha256:c0d5e3d72624942297d1f6c28d4a4c5a491201bf2193c4f277aa2484952c56c9size 3590488736
config.json+1-1
generation_config.json+1-1
model-00001-of-00003.safetensors+1-1
model-00002-of-00003.safetensors+1-1
model-00003-of-00003.safetensors+1-1