Instructions to use DevQuasar-5/coma-7B-v0.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DevQuasar-5/coma-7B-v0.1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DevQuasar-5/coma-7B-v0.1")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DevQuasar-5/coma-7B-v0.1") model = AutoModelForCausalLM.from_pretrained("DevQuasar-5/coma-7B-v0.1") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DevQuasar-5/coma-7B-v0.1 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DevQuasar-5/coma-7B-v0.1" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DevQuasar-5/coma-7B-v0.1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/DevQuasar-5/coma-7B-v0.1
- SGLang
How to use DevQuasar-5/coma-7B-v0.1 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 "DevQuasar-5/coma-7B-v0.1" \ --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": "DevQuasar-5/coma-7B-v0.1", "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 "DevQuasar-5/coma-7B-v0.1" \ --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": "DevQuasar-5/coma-7B-v0.1", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use DevQuasar-5/coma-7B-v0.1 with Docker Model Runner:
docker model run hf.co/DevQuasar-5/coma-7B-v0.1
'Make knowledge free for everyone'
coma-7B-v0.1
CodeLlama + Llama = CoMa :) This is an experiment to try merged models
This is a merge of pre-trained language models created using mergekit.
Quantized version: DevQuasar/coma-7B-v0.1-GGUF
Merge Details
Merge Method
This model was merged using the linear merge method.
Models Merged
"Blast from the Past" :D The following models were included in the merge:
Configuration
The following YAML configuration was used to produce this model:
models:
- model: meta-llama/Llama-2-7b-hf
parameters:
weight: 1.0
- model: meta-llama/CodeLlama-7b-hf
parameters:
weight: 0.5
merge_method: linear
dtype: float16
I'm doing this to 'Make knowledge free for everyone', using my personal time and resources.
If you want to support my efforts please visit my ko-fi page: https://ko-fi.com/devquasar
Also feel free to visit my website https://devquasar.com/
- Downloads last month
- 26
Model tree for DevQuasar-5/coma-7B-v0.1
Paper for DevQuasar-5/coma-7B-v0.1
Evaluation results
- acc_norm on bbhself-reported0.336
- acc_norm on gpqaself-reported0.259
- exact_match on mathself-reported0.010
- acc_norm on mmluself-reported0.143
- acc_norm on musrself-reported0.384
- acc on hellaswagself-reported0.518
- acc_norm on hellaswagself-reported0.683

