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
Commit History
-
return_full_text : False -> True
417c1c3
-
Update README.md
25cc44e
-
ref to minGTP
481f631
-
Update README.md
0e92c2d -
Update README.md
0c13825 -
Update README.md
895a7a2 -
Update README.md
434d94d -
better description of what the pronunication is
36c1b8d -
mention some words that do not work
ed9e89a -
New examples
622ac27
-
Update README.md
99dc09a -
max_length: 50->128 (x2)
06ba50f -
Update README.md
158faf2 -
add model
3987e9a -
add tokenizer
103d929
-
Upload tokenizer_config.json
8702dcd -
add model
17efeb3 -
add tokenizer
d41cb5e
-
Update README.md
dade576 -
Update README.md
196ccef -
First draft of the model card
0517be6 -
Create README.md
b253a9b -
add model
2a55b69 -
add tokenizer
4d82991
-
add model
9ccf011 -
add tokenizer
56a7094 -
initial commit
3e1f290