Instructions to use ElMater06/SpaceCore with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ElMater06/SpaceCore with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ElMater06/SpaceCore")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ElMater06/SpaceCore") model = AutoModelForCausalLM.from_pretrained("ElMater06/SpaceCore", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ElMater06/SpaceCore with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ElMater06/SpaceCore" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ElMater06/SpaceCore", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ElMater06/SpaceCore
- SGLang
How to use ElMater06/SpaceCore 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 "ElMater06/SpaceCore" \ --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": "ElMater06/SpaceCore", "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 "ElMater06/SpaceCore" \ --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": "ElMater06/SpaceCore", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ElMater06/SpaceCore with Docker Model Runner:
docker model run hf.co/ElMater06/SpaceCore
Commit History
-
Update tokenizer_config.json
af0526e -
Create generation_config_for_conversational.json
c9017cd -
Update config.json
ba8a67b -
Update generation_config.json
9a77341 -
Update README.md
b05a80e -
Update README.md
7c37ce6 -
Update generation_config.json
b020631 -
Update generation_config.json
c8690bc -
Update tokenizer_config.json
43c3588 -
Update config.json
447d87f -
Update tokenizer_config.json
da662d8 -
Update config.json
cbbb8cb -
Update generation_config.json
1210b36 -
Update config.json
d837dc0 -
Update config.json
dbb7a31 -
Update generation_config.json
8822269 -
Update config.json
73500a2 -
Update generation_config.json
733aa2a -
Update config.json
69254d1 -
Update generation_config.json
79cb131 -
Update README.md
3e0b949 -
Update generation_config.json
ab46073 -
Update config.json
19ae51f -
Update config.json
b3d19fa -
Update README.md
d7193c5 -
Update config.json
aec4796 -
Create config.json
c9c116b -
Chatbot Trained Off The Space Core From Portal
3d1ac56 -
uploaded model
Model Upload200802b -
Update README.md
This model was trained off of the Space Core from Portal, It was based off Dialogpt-Small as a quick test!0f18a68 -
initial commit
8cee81a