Text Generation
Transformers
Safetensors
mistral
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use VitalContribution/Evangelion-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VitalContribution/Evangelion-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="VitalContribution/Evangelion-7B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("VitalContribution/Evangelion-7B") model = AutoModelForCausalLM.from_pretrained("VitalContribution/Evangelion-7B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use VitalContribution/Evangelion-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "VitalContribution/Evangelion-7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VitalContribution/Evangelion-7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/VitalContribution/Evangelion-7B
- SGLang
How to use VitalContribution/Evangelion-7B 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 "VitalContribution/Evangelion-7B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VitalContribution/Evangelion-7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "VitalContribution/Evangelion-7B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VitalContribution/Evangelion-7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use VitalContribution/Evangelion-7B with Docker Model Runner:
docker model run hf.co/VitalContribution/Evangelion-7B
Update README.md
Browse files
README.md
CHANGED
|
@@ -111,14 +111,20 @@ model-index:
|
|
| 111 |
|
| 112 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63ae02ff20176b2d21669dd6/AID8texkGhpCPrxEtb2MF.png" width="300" />
|
| 113 |
|
| 114 |
-
|
| 115 |
|
| 116 |
-
|
|
|
|
|
|
|
|
|
|
| 117 |
$$
|
| 118 |
\text{{high-quality DPO dataset}} + \text{{merge of DPO optimized and non-DPO optimized model}}
|
| 119 |
-
$$
|
| 120 |
|
| 121 |
-
The underlying model
|
|
|
|
|
|
|
|
|
|
| 122 |
|
| 123 |
|
| 124 |
# Dataset
|
|
|
|
| 111 |
|
| 112 |
<img src="https://cdn-uploads.huggingface.co/production/uploads/63ae02ff20176b2d21669dd6/AID8texkGhpCPrxEtb2MF.png" width="300" />
|
| 113 |
|
| 114 |
+
🌐 Company Website 🔗 [Mozaic AI Solutions](https://mozaic-ai-solutions.com/)
|
| 115 |
|
| 116 |
+
---
|
| 117 |
+
|
| 118 |
+
## ✨ Overview
|
| 119 |
+
We were curious to see what happens if one uses:
|
| 120 |
$$
|
| 121 |
\text{{high-quality DPO dataset}} + \text{{merge of DPO optimized and non-DPO optimized model}}
|
| 122 |
+
$$
|
| 123 |
|
| 124 |
+
The underlying model used was:
|
| 125 |
+
[`/Weyaxi/OpenHermes-2.5-neural-chat-v3-3-Slerp`](https://huggingface.co/Weyaxi/OpenHermes-2.5-neural-chat-v3-3-Slerp)
|
| 126 |
+
|
| 127 |
+
---
|
| 128 |
|
| 129 |
|
| 130 |
# Dataset
|