Text Generation
Transformers
Safetensors
gpt2
Generated from Trainer
sft
trl
text-generation-inference
Instructions to use francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407") model = AutoModelForCausalLM.from_pretrained("francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407
- SGLang
How to use francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407 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 "francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407" \ --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": "francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407", "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 "francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407" \ --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": "francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407 with Docker Model Runner:
docker model run hf.co/francesca9805/eng-latn-100mb-100mb-nlpacked_seed3407
Ctrl+K
- checkpoint-1000
- checkpoint-10000
- checkpoint-10500
- checkpoint-11000
- checkpoint-11500
- checkpoint-12000
- checkpoint-12220
- checkpoint-1500
- checkpoint-2000
- checkpoint-2500
- checkpoint-3000
- checkpoint-3500
- checkpoint-4000
- checkpoint-4500
- checkpoint-500
- checkpoint-5000
- checkpoint-5500
- checkpoint-6000
- checkpoint-6500
- checkpoint-7000
- checkpoint-7500
- checkpoint-8000
- checkpoint-8500
- checkpoint-9000
- checkpoint-9500
- 1.52 kB
- 1.8 kB
- 27.7 kB
- 803 Bytes
- 154 Bytes
- 250 MB xet
- 22.6 kB
- 1.13 MB xet
- 234 kB
- 5.88 kB xet