Instructions to use concedo/Pythia-70M-ChatSalad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use concedo/Pythia-70M-ChatSalad with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="concedo/Pythia-70M-ChatSalad")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("concedo/Pythia-70M-ChatSalad") model = AutoModelForCausalLM.from_pretrained("concedo/Pythia-70M-ChatSalad") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use concedo/Pythia-70M-ChatSalad with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "concedo/Pythia-70M-ChatSalad" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "concedo/Pythia-70M-ChatSalad", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/concedo/Pythia-70M-ChatSalad
- SGLang
How to use concedo/Pythia-70M-ChatSalad 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 "concedo/Pythia-70M-ChatSalad" \ --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": "concedo/Pythia-70M-ChatSalad", "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 "concedo/Pythia-70M-ChatSalad" \ --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": "concedo/Pythia-70M-ChatSalad", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use concedo/Pythia-70M-ChatSalad with Docker Model Runner:
docker model run hf.co/concedo/Pythia-70M-ChatSalad
Adding Evaluation Results
#2
by leaderboard-pr-bot - opened
README.md
CHANGED
|
@@ -12,4 +12,17 @@ widget:
|
|
| 12 |
|
| 13 |
This is a follow up finetune of Pythia-70M finetuned on the same dataset as OPT-19M-ChatSalad. It is much more coherent.
|
| 14 |
|
| 15 |
-
All feedback and comments can be directed to Concedo on the KoboldAI discord.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
This is a follow up finetune of Pythia-70M finetuned on the same dataset as OPT-19M-ChatSalad. It is much more coherent.
|
| 14 |
|
| 15 |
+
All feedback and comments can be directed to Concedo on the KoboldAI discord.
|
| 16 |
+
# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard)
|
| 17 |
+
Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/details_concedo__Pythia-70M-ChatSalad)
|
| 18 |
+
|
| 19 |
+
| Metric | Value |
|
| 20 |
+
|-----------------------|---------------------------|
|
| 21 |
+
| Avg. | 25.15 |
|
| 22 |
+
| ARC (25-shot) | 20.99 |
|
| 23 |
+
| HellaSwag (10-shot) | 27.28 |
|
| 24 |
+
| MMLU (5-shot) | 24.78 |
|
| 25 |
+
| TruthfulQA (0-shot) | 49.74 |
|
| 26 |
+
| Winogrande (5-shot) | 52.41 |
|
| 27 |
+
| GSM8K (5-shot) | 0.0 |
|
| 28 |
+
| DROP (3-shot) | 0.84 |
|