Text Generation
Transformers
Safetensors
llama
mergekit
Merge
conversational
text-generation-inference
Instructions to use BruhzWater/Eden-L3.3-70b-0.4a with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BruhzWater/Eden-L3.3-70b-0.4a with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="BruhzWater/Eden-L3.3-70b-0.4a") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("BruhzWater/Eden-L3.3-70b-0.4a") model = AutoModelForCausalLM.from_pretrained("BruhzWater/Eden-L3.3-70b-0.4a", 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 BruhzWater/Eden-L3.3-70b-0.4a with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "BruhzWater/Eden-L3.3-70b-0.4a" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "BruhzWater/Eden-L3.3-70b-0.4a", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/BruhzWater/Eden-L3.3-70b-0.4a
- SGLang
How to use BruhzWater/Eden-L3.3-70b-0.4a 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 "BruhzWater/Eden-L3.3-70b-0.4a" \ --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": "BruhzWater/Eden-L3.3-70b-0.4a", "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 "BruhzWater/Eden-L3.3-70b-0.4a" \ --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": "BruhzWater/Eden-L3.3-70b-0.4a", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use BruhzWater/Eden-L3.3-70b-0.4a with Docker Model Runner:
docker model run hf.co/BruhzWater/Eden-L3.3-70b-0.4a
| models: | |
| - model: /workspace/cache/models--nvidia--Llama-3.1-Nemotron-70B-Instruct-HF/snapshots/031d4042f36adc1a52cca51b331d25cbe3cf1022 | |
| - model: /workspace/cache/models--zerofata--L3.3-GeneticLemonade-Unleashed-v3-70B/snapshots/786081cc68db24e8077cb8e3668f1f8ddacd5d1e | |
| - model: /workspace/cache/models--marcelbinz--Llama-3.1-Centaur-70B/snapshots/7e42dbd2e967200cee4b3eafe523c154edc2e766 | |
| - model: /workspace/cache/models--Delta-Vector--Austral-70B-Winton/snapshots/0b84421cb68e7c69848e6265a1d36dcd8957d44a | |
| - model: /workspace/cache/models--watt-ai--watt-tool-70B/snapshots/dbe19344ec6ee4b9e1636e9e6ce24fc6a85a725e | |
| base_model: /workspace/cache/models--deepcogito--cogito-v2-preview-llama-70B/snapshots/1e1d12e8eaebd6084a8dcf45ecdeaa2f4b8879ce | |
| select_topk: 0.23 | |
| merge_method: sce | |
| tokenizer: | |
| source: base | |
| chat_template: llama3 | |
| pad_to_multiple_of: 8 | |
| int8_mask: true | |
| dtype: float32 |