Instructions to use LeroyDyer/_Starfleet_II_ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LeroyDyer/_Starfleet_II_ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LeroyDyer/_Starfleet_II_") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("LeroyDyer/_Starfleet_II_") model = AutoModelForCausalLM.from_pretrained("LeroyDyer/_Starfleet_II_") 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
- vLLM
How to use LeroyDyer/_Starfleet_II_ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LeroyDyer/_Starfleet_II_" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LeroyDyer/_Starfleet_II_", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/LeroyDyer/_Starfleet_II_
- SGLang
How to use LeroyDyer/_Starfleet_II_ 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 "LeroyDyer/_Starfleet_II_" \ --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": "LeroyDyer/_Starfleet_II_", "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 "LeroyDyer/_Starfleet_II_" \ --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": "LeroyDyer/_Starfleet_II_", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Studio new
How to use LeroyDyer/_Starfleet_II_ with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for LeroyDyer/_Starfleet_II_ to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for LeroyDyer/_Starfleet_II_ to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for LeroyDyer/_Starfleet_II_ to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="LeroyDyer/_Starfleet_II_", max_seq_length=2048, ) - Docker Model Runner
How to use LeroyDyer/_Starfleet_II_ with Docker Model Runner:
docker model run hf.co/LeroyDyer/_Starfleet_II_
A NEW MODEL !
Here we are begining to focus on chracter ! : so the model may refuse to perform being not in a good mood ! not because its blocked ! so if your polite then it may respond better and if your angery it may resond angry ?
i have not created a Evil thoughts model in which teh model will use angry reasoning for its motivation YET ! or A good thoughts reasoner , in which its reasoning i geared to being GOOD ! ( maybe some refusals to perform illicit acts ) as its in GOOD MODE !
so we wil mix these trainings so we do not create unbalenced models :
i think this themed responses and theme thoughts are a way to allow the model to devlop some emotional responses , so we weave them into TASKS , as well as in code generation we would like a model to assume its role with a pesonality !
so we humaize these models with more chat based colaberatie tasks, instead of fully completing a task ! the aim of task performance her is not the motive , as we already know we can fore models to perfrom tasks with prompts : These are not prompt based responses any more !
these are reasoning based responses :
we also use reasoning and imeadiate responses in our datasts so the model has a selection of responses types inside and not forced to produce reasoning , with a swtich !! the aim again is to allow the model to choose the tasks which need reasoning and tasks which do not !
but in truth we can always train evil thoughts or romantic thoughts so every response has romantic motivations , and then cover this with a prompt response for "you are a helpful AI " as well as merge the model to conceal these repsosnes and they will popup out the blue !
so this model has also had some outputs tylored to display as Starfleet computer : as it is a themed model : we will be retraining these series to act more like the base computer on a ship ! so responses and content will be displyaed and framed appropirately !
we have laid the groundwork from the begining for these methodologie if you have been following along !
- Downloads last month
- 5
Model tree for LeroyDyer/_Starfleet_II_
Base model
LeroyDyer/_Spydaz_Web_AGI_DeepThinker_LCARS_