Instructions to use MoxoffSrL/Volare with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MoxoffSrL/Volare with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="MoxoffSrL/Volare")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("MoxoffSrL/Volare") model = AutoModelForCausalLM.from_pretrained("MoxoffSrL/Volare") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use MoxoffSrL/Volare with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "MoxoffSrL/Volare" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "MoxoffSrL/Volare", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/MoxoffSrL/Volare
- SGLang
How to use MoxoffSrL/Volare 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 "MoxoffSrL/Volare" \ --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": "MoxoffSrL/Volare", "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 "MoxoffSrL/Volare" \ --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": "MoxoffSrL/Volare", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use MoxoffSrL/Volare with Docker Model Runner:
docker model run hf.co/MoxoffSrL/Volare
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,9 +22,9 @@ Volare is an updated version of [Gemma7B](https://huggingface.co/google/gemma-7b
|
|
| 22 |
|
| 23 |
We evaluated the model using the same test sets as used for the [Open Ita LLM Leaderboard](https://huggingface.co/spaces/FinancialSupport/open_ita_llm_leaderboard)
|
| 24 |
|
| 25 |
-
| hellaswag_it acc_norm | arc_it acc_norm | m_mmlu_it 5-shot acc | Average |
|
| 26 |
-
|:----------------------| :--------------- | :-------------------- | :------- |
|
| 27 |
-
| 0.6474 | 0.4671 | 0.5521 | 0.555|
|
| 28 |
|
| 29 |
|
| 30 |
## Usage
|
|
|
|
| 22 |
|
| 23 |
We evaluated the model using the same test sets as used for the [Open Ita LLM Leaderboard](https://huggingface.co/spaces/FinancialSupport/open_ita_llm_leaderboard)
|
| 24 |
|
| 25 |
+
| hellaswag_it acc_norm | arc_it acc_norm | m_mmlu_it 5-shot acc | Average | F1 |
|
| 26 |
+
|:----------------------| :--------------- | :-------------------- | :------- | :-- |
|
| 27 |
+
| 0.6474 | 0.4671 | 0.5521 | 0.555 | 69.82 |
|
| 28 |
|
| 29 |
|
| 30 |
## Usage
|