Instructions to use Marxav/frpron with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Marxav/frpron with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Marxav/frpron")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Marxav/frpron") model = AutoModelForCausalLM.from_pretrained("Marxav/frpron", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Marxav/frpron with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Marxav/frpron" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Marxav/frpron", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Marxav/frpron
- SGLang
How to use Marxav/frpron 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 "Marxav/frpron" \ --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": "Marxav/frpron", "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 "Marxav/frpron" \ --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": "Marxav/frpron", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Marxav/frpron with Docker Model Runner:
docker model run hf.co/Marxav/frpron
Download pytorch_model.bin from Marxav/frpron: direct link, hf CLI and curl.
- Browser
- Download file 357 MB
-
https://huggingface.co/Marxav/frpron/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://Marxav/frpron/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Marxav/frpron/resolve/main/pytorch_model.bin
357 MB
- Xet hash:
- 31af5a4d3657e7e0777d77db5413bf4213cf052dcd9e102ad3069d47bb1603cb
- Size of remote file:
- 357 MB
- SHA256:
- 13a4d801a607bf1d3e2e3580967b7d1f9f461d2be18ac059378d4d1dd9266f9c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.