Text Generation
Transformers
Safetensors
English
llama
mergekit
Merge
Yi
exllama
exllamav2
exl2
text-generation-inference
Instructions to use brucethemoose/Yi-34B-200K-RPMerge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use brucethemoose/Yi-34B-200K-RPMerge with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="brucethemoose/Yi-34B-200K-RPMerge")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("brucethemoose/Yi-34B-200K-RPMerge") model = AutoModelForCausalLM.from_pretrained("brucethemoose/Yi-34B-200K-RPMerge") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use brucethemoose/Yi-34B-200K-RPMerge with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "brucethemoose/Yi-34B-200K-RPMerge" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "brucethemoose/Yi-34B-200K-RPMerge", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/brucethemoose/Yi-34B-200K-RPMerge
- SGLang
How to use brucethemoose/Yi-34B-200K-RPMerge 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 "brucethemoose/Yi-34B-200K-RPMerge" \ --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": "brucethemoose/Yi-34B-200K-RPMerge", "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 "brucethemoose/Yi-34B-200K-RPMerge" \ --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": "brucethemoose/Yi-34B-200K-RPMerge", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use brucethemoose/Yi-34B-200K-RPMerge with Docker Model Runner:
docker model run hf.co/brucethemoose/Yi-34B-200K-RPMerge
Mikupad
#10 opened almost 2 years ago
by
DazzlingXeno
Yi 34b 200k context update, will there be an updated version of this one?
π 3
4
#9 opened about 2 years ago
by
Olafangensan
Just wanted to say thank you.
π 3
2
#8 opened about 2 years ago
by
MB7977
Positivity Bias?
2
#7 opened over 2 years ago
by
Kartoshka20012
Suggestion: increase the weights of instruction-following models.
π 1
3
#6 opened over 2 years ago
by
Light4Bear
Possibly my new favourite roleplaying model!
π 1
12
#2 opened over 2 years ago
by
MarinaraSpaghetti
Some notes on the models used.
π 2
13
#1 opened over 2 years ago
by
ParasiticRogue