Instructions to use NeverSleep/Nethena-20B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NeverSleep/Nethena-20B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="NeverSleep/Nethena-20B")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("NeverSleep/Nethena-20B") model = AutoModelForCausalLM.from_pretrained("NeverSleep/Nethena-20B") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use NeverSleep/Nethena-20B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "NeverSleep/Nethena-20B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "NeverSleep/Nethena-20B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/NeverSleep/Nethena-20B
- SGLang
How to use NeverSleep/Nethena-20B 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 "NeverSleep/Nethena-20B" \ --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": "NeverSleep/Nethena-20B", "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 "NeverSleep/Nethena-20B" \ --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": "NeverSleep/Nethena-20B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use NeverSleep/Nethena-20B with Docker Model Runner:
docker model run hf.co/NeverSleep/Nethena-20B
This model is a collab between IkariDev and Undi!
Nethena-20B model. Use Alpaca format. Suitable for RP, ERP and general stuff.
What would happen if we combine all of out best models? Well.. here it is, the holy grail: Echidna v0.3 + Athena v3 + Nete
This model also has a 13b version, you can check it out right here.
[Recommended settings - No settings yet(Please suggest some over in the Community tab!)]
Description
This repo contains fp16 files of Nethena-20B.
Ratings:
Note: We have permission of all users to upload their ratings, i DONT screenshot random reviews without asking if i can put them here!
No ratings yet!
If you want your rating to be here, send us a message over on DC and we'll put up a screenshot of it here. DC name is "ikaridev" and "undi".
Models+loras used and recipe
- NeverSleep/Echidna-13b-v0.3
- IkariDev/Athena-v3
- Undi95/Nete-13B
Prompt template: Alpaca
Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
{prompt}
### Response:
Others
Undi: If you want to support me, you can here.
IkariDev: Visit my retro/neocities style website please kek
- Downloads last month
- 223
