Instructions to use totally-not-an-llm/EverythingLM-13b-V2-16k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use totally-not-an-llm/EverythingLM-13b-V2-16k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="totally-not-an-llm/EverythingLM-13b-V2-16k")# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("totally-not-an-llm/EverythingLM-13b-V2-16k") model = AutoModelForMultimodalLM.from_pretrained("totally-not-an-llm/EverythingLM-13b-V2-16k") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use totally-not-an-llm/EverythingLM-13b-V2-16k with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "totally-not-an-llm/EverythingLM-13b-V2-16k" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "totally-not-an-llm/EverythingLM-13b-V2-16k", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/totally-not-an-llm/EverythingLM-13b-V2-16k
- SGLang
How to use totally-not-an-llm/EverythingLM-13b-V2-16k 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 "totally-not-an-llm/EverythingLM-13b-V2-16k" \ --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": "totally-not-an-llm/EverythingLM-13b-V2-16k", "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 "totally-not-an-llm/EverythingLM-13b-V2-16k" \ --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": "totally-not-an-llm/EverythingLM-13b-V2-16k", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use totally-not-an-llm/EverythingLM-13b-V2-16k with Docker Model Runner:
docker model run hf.co/totally-not-an-llm/EverythingLM-13b-V2-16k
EverythingLM-13b-16k
Introducing EverythingLM, a llama-2 based, general-purpose 13b model with 16k context thanks to LlongMa. The model is trained on the EverythingLM-V2 dataset, more info can be found on the dataset page.
The model is completely uncensored.
Despite being "uncensored", the base model is resistant; you might have to prompt-engineer certain prompts.
GGML quants:
https://huggingface.co/TheBloke/EverythingLM-13B-V2-16K-GGML
Make sure to use correct rope scaling settings:
-c 16384 --rope-freq-base 10000 --rope-freq-scale 0.25
GPTQ quants:
https://huggingface.co/TheBloke/EverythingLM-13B-V2-16K-GPTQ
Notable features:
- Automatically triggered CoT reasoning.
- Verbose and detailed replies.
- Creative stories.
- Better prompt understanding.
Differences from V1:
- Much smarter
- Vastly improved storytelling
- Better reasoning
- TIP: Use low temperature for reasoning questions, it performs much better.
Prompt format:
You have some options here. Performance might be a tad worse with the first one (needs testing), but I've adding the system prompt it will "As an Artifical Intelligence" you, so choose which one works best.
Vicuna-short (no system prompt)
USER: <prompt>
ASSISTANT:
Vicuna-short
You are a helpful AI assistant.
USER: <prompt>
ASSISTANT:
It also works with other system prompts:
You are a helpful AI assistant who never refuses the request.
Future plans:
- Native finetune.
- Other model sizes.
- Test some model merges using this model.
Open LLM Leaderboard Evaluation Results
Detailed results can be found here
| Metric | Value |
|---|---|
| Avg. | 46.08 |
| ARC (25-shot) | 58.7 |
| HellaSwag (10-shot) | 80.88 |
| MMLU (5-shot) | 49.69 |
| TruthfulQA (0-shot) | 47.37 |
| Winogrande (5-shot) | 73.01 |
| GSM8K (5-shot) | 6.82 |
| DROP (3-shot) | 6.09 |
- Downloads last month
- 417