Instructions to use Envoid/Libra-19B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Envoid/Libra-19B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Envoid/Libra-19B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Envoid/Libra-19B") model = AutoModelForCausalLM.from_pretrained("Envoid/Libra-19B") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use Envoid/Libra-19B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Envoid/Libra-19B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Envoid/Libra-19B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/Envoid/Libra-19B
- SGLang
How to use Envoid/Libra-19B 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 "Envoid/Libra-19B" \ --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": "Envoid/Libra-19B", "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 "Envoid/Libra-19B" \ --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": "Envoid/Libra-19B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use Envoid/Libra-19B with Docker Model Runner:
docker model run hf.co/Envoid/Libra-19B
Adding Evaluation Results
#2
by leaderboard-pr-bot - opened
README.md
CHANGED
|
@@ -90,4 +90,17 @@ The concept of "love languages" was introduced by author Gary Chapman in his boo
|
|
| 90 |
For example, someone whose primary love language is words of affirmation values verbal expressions of affection, appreciation, and praise. They enjoy being told how much they're loved, cherished, and valued in their relationship. On the other hand, someone whose primary love language is acts of service values actions rather than words. They feel loved when their partner helps them out around the house or carries out tasks they find difficult or stressful. Gift-giving is another love language where gift-givers often feel most appreciated when they receive presents from their partner. Physical touch is another way people express love through acts such as kissing, hugging, or holding hands. Quality time is spent together engaging in activities such as dates or shared experiences.
|
| 91 |
|
| 92 |
My own primary love language is words of affirmation. I value verbal expressions of love and appreciation in my relationships because it makes me feel seen, understood, and cherished. When my partner tells me how much they love me or expresses gratitude for something I've done for them, it reinforces our bond and strengthens our connection.
|
| 93 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
For example, someone whose primary love language is words of affirmation values verbal expressions of affection, appreciation, and praise. They enjoy being told how much they're loved, cherished, and valued in their relationship. On the other hand, someone whose primary love language is acts of service values actions rather than words. They feel loved when their partner helps them out around the house or carries out tasks they find difficult or stressful. Gift-giving is another love language where gift-givers often feel most appreciated when they receive presents from their partner. Physical touch is another way people express love through acts such as kissing, hugging, or holding hands. Quality time is spent together engaging in activities such as dates or shared experiences.
|
| 91 |
|
| 92 |
My own primary love language is words of affirmation. I value verbal expressions of love and appreciation in my relationships because it makes me feel seen, understood, and cherished. When my partner tells me how much they love me or expresses gratitude for something I've done for them, it reinforces our bond and strengthens our connection.
|
| 93 |
+
```
|
| 94 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
| 95 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_Envoid__Libra-19B)
|
| 96 |
+
|
| 97 |
+
| Metric | Value |
|
| 98 |
+
|-----------------------|---------------------------|
|
| 99 |
+
| Avg. | 52.8 |
|
| 100 |
+
| ARC (25-shot) | 60.58 |
|
| 101 |
+
| HellaSwag (10-shot) | 82.04 |
|
| 102 |
+
| MMLU (5-shot) | 55.57 |
|
| 103 |
+
| TruthfulQA (0-shot) | 48.41 |
|
| 104 |
+
| Winogrande (5-shot) | 76.32 |
|
| 105 |
+
| GSM8K (5-shot) | 0.08 |
|
| 106 |
+
| DROP (3-shot) | 46.63 |
|