Text Generation
Transformers
Safetensors
HERMES
PyTorch
llama
causal-lm
instruct
chat
fine-tuned
merged-lora
llama-3
discord-dataset
conversational-ai
chatml
open-weights
8b-parameters
conversational
text-generation-inference
Instructions to use aaronmoo12/Discord-Micae-8B-Preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aaronmoo12/Discord-Micae-8B-Preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="aaronmoo12/Discord-Micae-8B-Preview") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("aaronmoo12/Discord-Micae-8B-Preview") model = AutoModelForCausalLM.from_pretrained("aaronmoo12/Discord-Micae-8B-Preview", 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]:])) - HERMES
How to use aaronmoo12/Discord-Micae-8B-Preview with HERMES:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use aaronmoo12/Discord-Micae-8B-Preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aaronmoo12/Discord-Micae-8B-Preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aaronmoo12/Discord-Micae-8B-Preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/aaronmoo12/Discord-Micae-8B-Preview
- SGLang
How to use aaronmoo12/Discord-Micae-8B-Preview 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 "aaronmoo12/Discord-Micae-8B-Preview" \ --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": "aaronmoo12/Discord-Micae-8B-Preview", "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 "aaronmoo12/Discord-Micae-8B-Preview" \ --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": "aaronmoo12/Discord-Micae-8B-Preview", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use aaronmoo12/Discord-Micae-8B-Preview with Docker Model Runner:
docker model run hf.co/aaronmoo12/Discord-Micae-8B-Preview
Commit History
Upload model-00004-of-00004.safetensors with huggingface_hub 71a629f verified
Upload model-00003-of-00004.safetensors with huggingface_hub 0f4db81 verified
Update README.md 62211be verified
Upload model-00002-of-00004.safetensors with huggingface_hub a022f28 verified
Upload model-00001-of-00004.safetensors with huggingface_hub 0334973 verified
Delete config.json b94565b verified
Delete generation_config.json c964c06 verified
Delete special_tokens_map.json ee51aa5 verified
Delete model.safetensors.index.json 0cb8030 verified
Delete tokenizer.json ccf2841 verified
Delete tokenizer_config.json f8ccedc verified
Delete model-00002-of-00004.safetensors 358dcbe verified
Update README.md f148177 verified
Delete model-00004-of-00004.safetensors caeb580 verified
Delete model-00001-of-00004.safetensors 232fc4a verified
Delete model-00003-of-00004.safetensors 7776702 verified
Update README.md 5df34a8 verified
mookiezi commited on
Upload train.log 64dd23a verified
mookiezi commited on
Upload interface-screenshot.png db27eb4 verified
mookiezi commited on
Create README.md 2622bc4 verified
mookiezi commited on
Upload Micae-8B-Preview.png 43d210f verified
mookiezi commited on
Upload folder using huggingface_hub 9415f1a verified
mookiezi commited on
Upload model-00004-of-00004.safetensors with huggingface_hub 716e056 verified
mookiezi commited on
Upload model-00003-of-00004.safetensors with huggingface_hub 78263f9 verified
Arron commited on
Upload model-00002-of-00004.safetensors with huggingface_hub cf76892 verified
Arron commited on
Upload model-00001-of-00004.safetensors with huggingface_hub 350784c verified
Arron commited on
initial commit c3bcdae verified
Arron commited on